diff --git a/aics-admin/src/main/java/kgu/developers/admin/graduationUser/presentation/response/GraduationUserSummaryPageResponse.java b/aics-admin/src/main/java/kgu/developers/admin/graduationUser/presentation/response/GraduationUserSummaryPageResponse.java index a37c6b42..02423823 100644 --- a/aics-admin/src/main/java/kgu/developers/admin/graduationUser/presentation/response/GraduationUserSummaryPageResponse.java +++ b/aics-admin/src/main/java/kgu/developers/admin/graduationUser/presentation/response/GraduationUserSummaryPageResponse.java @@ -17,6 +17,7 @@ public record GraduationUserSummaryPageResponse( + "\"name\": \"홍길동\", " + "\"graduationDate\": \"2028-08\", " + "\"graduationType\": \"자격증\", " + + "\"advisorProfessor\": \"김교수\"," + "\"status\": {" + "\"type\": \"CERTIFICATE\", " + "\"submitted\": true, " @@ -27,6 +28,7 @@ public record GraduationUserSummaryPageResponse( + "\"name\": \"김철수\", " + "\"graduationDate\": \"2028-08\", " + "\"graduationType\": \"논문\", " + + "\"advisorProfessor\": \"이순신\"," + "\"status\": {" + "\"type\": \"THESIS\", " + "\"midThesis\": {\"submitted\": true, \"approval\": true}, " diff --git a/aics-admin/src/main/java/kgu/developers/admin/graduationUser/presentation/response/GraduationUserSummaryResponse.java b/aics-admin/src/main/java/kgu/developers/admin/graduationUser/presentation/response/GraduationUserSummaryResponse.java index ceebd446..52d2bb19 100644 --- a/aics-admin/src/main/java/kgu/developers/admin/graduationUser/presentation/response/GraduationUserSummaryResponse.java +++ b/aics-admin/src/main/java/kgu/developers/admin/graduationUser/presentation/response/GraduationUserSummaryResponse.java @@ -27,6 +27,9 @@ public record GraduationUserSummaryResponse( @Schema(description = "졸업 유형", example = "자격증", requiredMode = REQUIRED) String graduationType, + @Schema(description = "지도교수", example = "김교수", requiredMode = REQUIRED) + String advisorProfessor, + @Schema( description = "졸업 요건 제출 및 승인 상태 (자격증 또는 논문)", example = "{" @@ -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(); } }