From 11a58063f9e41bbc6fbb6962aab7bbdee85f5366 Mon Sep 17 00:00:00 2001 From: "chosw1002@naver.com" Date: Wed, 4 Sep 2024 23:41:42 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=EC=9E=98=EB=AA=BB=EB=90=9C=20?= =?UTF-8?q?=EA=B0=92=20=EB=A7=A4=ED=95=91=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gdsc/domain/study/dto/response/AssignmentResponse.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/gdschongik/gdsc/domain/study/dto/response/AssignmentResponse.java b/src/main/java/com/gdschongik/gdsc/domain/study/dto/response/AssignmentResponse.java index ebfeaaecb..e751d8d6b 100644 --- a/src/main/java/com/gdschongik/gdsc/domain/study/dto/response/AssignmentResponse.java +++ b/src/main/java/com/gdschongik/gdsc/domain/study/dto/response/AssignmentResponse.java @@ -5,7 +5,6 @@ import com.gdschongik.gdsc.domain.study.domain.vo.Assignment; import io.swagger.v3.oas.annotations.media.Schema; import java.time.LocalDateTime; -import java.time.LocalTime; public record AssignmentResponse( Long studyDetailId, @@ -15,7 +14,7 @@ public record AssignmentResponse( @Schema(description = "주차") Long week, @Schema(description = "과제 명세 링크") String descriptionLink, @Schema(description = "과제 상태") StudyStatus assignmentStatus, - @Schema(description = "커리큘럼 시작일") LocalTime curriculumStartAt) { + @Schema(description = "커리큘럼 시작일") LocalDateTime studyDetailStartDate) { public static AssignmentResponse from(StudyDetail studyDetail) { Assignment assignment = studyDetail.getAssignment(); return new AssignmentResponse( @@ -26,6 +25,6 @@ public static AssignmentResponse from(StudyDetail studyDetail) { studyDetail.getWeek(), assignment.getDescriptionLink(), assignment.getStatus(), - studyDetail.getCurriculum().getStartAt()); + studyDetail.getPeriod().getStartDate()); } } From 339fb9e6841cc0b06368dfb6e3edfed60d07e6df Mon Sep 17 00:00:00 2001 From: "chosw1002@naver.com" Date: Wed, 4 Sep 2024 23:43:24 +0900 Subject: [PATCH 2/2] =?UTF-8?q?docs:=20=EC=8A=A4=EC=9B=A8=EA=B1=B0=20?= =?UTF-8?q?=EC=84=A4=EB=AA=85=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gdsc/domain/study/dto/response/AssignmentResponse.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gdschongik/gdsc/domain/study/dto/response/AssignmentResponse.java b/src/main/java/com/gdschongik/gdsc/domain/study/dto/response/AssignmentResponse.java index e751d8d6b..40b09fe30 100644 --- a/src/main/java/com/gdschongik/gdsc/domain/study/dto/response/AssignmentResponse.java +++ b/src/main/java/com/gdschongik/gdsc/domain/study/dto/response/AssignmentResponse.java @@ -14,7 +14,7 @@ public record AssignmentResponse( @Schema(description = "주차") Long week, @Schema(description = "과제 명세 링크") String descriptionLink, @Schema(description = "과제 상태") StudyStatus assignmentStatus, - @Schema(description = "커리큘럼 시작일") LocalDateTime studyDetailStartDate) { + @Schema(description = "주차 시작일") LocalDateTime studyDetailStartDate) { public static AssignmentResponse from(StudyDetail studyDetail) { Assignment assignment = studyDetail.getAssignment(); return new AssignmentResponse(