Skip to content

Commit

Permalink
[fix] #53 checklist 수정에 따른 response dto 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
RyuKwanKon committed Jan 18, 2024
1 parent 9425c2c commit 834f0f8
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ public record CheckListResponseDto(
String drinkType,
String homeType,
String lifePatterType,
String noiseType,
String callType,
String earPhoneType,
String sleepGridingType,
String sleepSnoreType,
String sleepTalkingType,
Expand All @@ -22,7 +23,8 @@ public static CheckListResponseDto of(CheckList checkList) {
.drinkType(checkList.getDrinkType().getDesc())
.homeType(checkList.getHomeType().getDesc())
.lifePatterType(checkList.getLifePatternType().getDesc())
.noiseType(checkList.getNoiseType().getDesc())
.callType(checkList.getCallType().getCode())
.earPhoneType(checkList.getEarPhoneType().getCode())
.sleepGridingType(checkList.getSleepGridingType().getDesc())
.sleepSnoreType(checkList.getSleepSnoreType().getDesc())
.sleepTalkingType(checkList.getSleepTalkingType().getDesc())
Expand All @@ -37,7 +39,8 @@ public static CheckListResponseDto ofPostCheckList(PostCheckList checkList) {
.drinkType(checkList.getDrinkType().getDesc())
.homeType(checkList.getHomeType().getDesc())
.lifePatterType(checkList.getLifePatternType().getDesc())
.noiseType(checkList.getNoiseType().getDesc())
.callType(checkList.getCallType().getCode())
.earPhoneType(checkList.getEarPhoneType().getCode())
.sleepGridingType(checkList.getSleepGridingType().getDesc())
.sleepSnoreType(checkList.getSleepSnoreType().getDesc())
.sleepTalkingType(checkList.getSleepTalkingType().getDesc())
Expand Down

0 comments on commit 834f0f8

Please sign in to comment.