-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
#250 [refactor] 엔드포인트 변경, 디자이너 제안 상세보기 response 도메인별로 분리
- Loading branch information
Showing
12 changed files
with
68 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
...a/com/moddy/server/controller/application/dto/response/ApplicationInfoDetailResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package com.moddy.server.controller.application.dto.response; | ||
|
||
import java.util.List; | ||
|
||
public record ApplicationInfoDetailResponse( | ||
Long applicationId, | ||
List<String> preferStyle, | ||
String modelApplicationDetail | ||
) { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 3 additions & 5 deletions
8
...del/dto/response/StyleDetailResponse.java → ...offer/dto/response/OfferInfoResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
package com.moddy.server.controller.model.dto.response; | ||
package com.moddy.server.controller.offer.dto.response; | ||
|
||
import lombok.Builder; | ||
|
||
import java.util.List; | ||
|
||
@Builder | ||
public record StyleDetailResponse( | ||
public record OfferInfoResponse( | ||
Long offerId, | ||
Boolean isAgree, | ||
List<String> preferStyle, | ||
String designerOfferDetail, | ||
String modelApplicationDetail, | ||
List<Boolean> preferOfferConditions | ||
) { | ||
} |
7 changes: 5 additions & 2 deletions
7
src/main/java/com/moddy/server/controller/offer/response/DetailOfferResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
package com.moddy.server.controller.offer.response; | ||
|
||
import com.moddy.server.controller.application.dto.response.ApplicationInfoDetailResponse; | ||
import com.moddy.server.controller.model.dto.response.DesignerInfoResponse; | ||
import com.moddy.server.controller.model.dto.response.StyleDetailResponse; | ||
|
||
import com.moddy.server.controller.offer.dto.response.OfferInfoResponse; | ||
|
||
public record DetailOfferResponse( | ||
DesignerInfoResponse designerInfo, | ||
StyleDetailResponse styleDetail | ||
ApplicationInfoDetailResponse applicationInfo, | ||
OfferInfoResponse offerInfo | ||
) { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters