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