From e11a2c64a27b673d49943faeeed5ded2c65a7357 Mon Sep 17 00:00:00 2001 From: kimdohyung Date: Thu, 23 Nov 2023 02:05:55 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EB=8C=80=ED=95=99=20=EB=AA=A9?= =?UTF-8?q?=EB=A1=9D=20=EC=A1=B0=ED=9A=8C=EC=8B=9C=20id=EB=8F=84=20?= =?UTF-8?q?=EB=B0=98=ED=99=98=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20(#36)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/university/dto/response/getUnivResponseDto.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/backend/domain/university/dto/response/getUnivResponseDto.java b/src/main/java/com/backend/domain/university/dto/response/getUnivResponseDto.java index 5b0fee1..ad22a7d 100644 --- a/src/main/java/com/backend/domain/university/dto/response/getUnivResponseDto.java +++ b/src/main/java/com/backend/domain/university/dto/response/getUnivResponseDto.java @@ -2,8 +2,8 @@ import com.backend.domain.university.entity.University; -public record getUnivResponseDto(String univName, String email) { +public record getUnivResponseDto(Long universityId, String univName, String email) { public static getUnivResponseDto from(University university) { - return new getUnivResponseDto(university.getName(), university.getEmail()); + return new getUnivResponseDto(university.getUniversityId(), university.getName(), university.getEmail()); } } \ No newline at end of file