From 834f0f8d75b15ed59fc469bc92414b875cb1a972 Mon Sep 17 00:00:00 2001 From: RyuKwanKon Date: Thu, 18 Jan 2024 18:29:06 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20#53=20checklist=20=EC=88=98=EC=A0=95?= =?UTF-8?q?=EC=97=90=20=EB=94=B0=EB=A5=B8=20response=20dto=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../checkList/dto/response/CheckListResponseDto.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/gachon/checkmate/domain/checkList/dto/response/CheckListResponseDto.java b/src/main/java/org/gachon/checkmate/domain/checkList/dto/response/CheckListResponseDto.java index bf26a14..2966e82 100644 --- a/src/main/java/org/gachon/checkmate/domain/checkList/dto/response/CheckListResponseDto.java +++ b/src/main/java/org/gachon/checkmate/domain/checkList/dto/response/CheckListResponseDto.java @@ -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, @@ -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()) @@ -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())