Skip to content

Commit dc92ecf

Browse files
committed
fix : Response dto 에 id 추가
1 parent 42d80a4 commit dc92ecf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/java/inu/codin/codin/domain/lecture/dto/LectureSearchListResponseDto.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public LectureSearchListResponseDto(Long id, String lectureNm, String professor,
2323
this.lectureNm = lectureNm;
2424
this.professor = professor;
2525
this.semester = semester;
26-
};
26+
}
2727

2828

2929
public static List<LectureSearchListResponseDto> of(Lecture lecture) {
@@ -41,6 +41,7 @@ public static List<LectureSearchListResponseDto> of(Lecture lecture) {
4141

4242
public static LectureSearchListResponseDto of(Lecture lecture, String semester) {
4343
return LectureSearchListResponseDto.builder()
44+
.id(lecture.getId())
4445
.lectureNm(lecture.getLectureNm())
4546
.professor(lecture.getProfessor())
4647
.semester(semester)

0 commit comments

Comments
 (0)