Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public record GraduationUserSummaryPageResponse<T>(
+ "\"name\": \"홍길동\", "
+ "\"graduationDate\": \"2028-08\", "
+ "\"graduationType\": \"자격증\", "
+ "\"advisorProfessor\": \"김교수\","
+ "\"status\": {"
+ "\"type\": \"CERTIFICATE\", "
+ "\"submitted\": true, "
Expand All @@ -27,6 +28,7 @@ public record GraduationUserSummaryPageResponse<T>(
+ "\"name\": \"김철수\", "
+ "\"graduationDate\": \"2028-08\", "
+ "\"graduationType\": \"논문\", "
+ "\"advisorProfessor\": \"이순신\","
+ "\"status\": {"
+ "\"type\": \"THESIS\", "
+ "\"midThesis\": {\"submitted\": true, \"approval\": true}, "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ public record GraduationUserSummaryResponse(
@Schema(description = "졸업 유형", example = "자격증", requiredMode = REQUIRED)
String graduationType,

@Schema(description = "지도교수", example = "김교수", requiredMode = REQUIRED)
String advisorProfessor,

@Schema(
description = "졸업 요건 제출 및 승인 상태 (자격증 또는 논문)",
example = "{"
Expand Down Expand Up @@ -59,6 +62,7 @@ public static GraduationUserSummaryResponse of(
.graduationDate(graduationUser.getGraduationDate().format(formatter))
.graduationType(graduationUser.getGraduationType() != null ? graduationUser.getGraduationType().getDescription() : "미정")
.status(status)
.advisorProfessor(graduationUser.getAdvisorProfessor())
.build();
}
}