Skip to content

Commit

Permalink
[feat] 캘린더 월별 조회 dto tmdbId 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
syyling committed May 29, 2024
1 parent ec16ebb commit d1d3824
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,11 @@ public static class RecordCalendarResponse{
private String poster;
private String director;
private String year;
private String tmdbId;

@Builder
public RecordCalendarResponse(String rating, String review, String title, String genre,
String nation, String poster, String director, String year) {
String nation, String poster, String director, String year, String tmdbId) {
this.rating = rating;
this.review = review;
this.title = title;
Expand All @@ -49,6 +50,7 @@ public RecordCalendarResponse(String rating, String review, String title, String
this.poster = poster;
this.director = director;
this.year = year;
this.tmdbId = tmdbId;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public static RecordResponse.RecordCalendarResponse mapToRecordCalendarResponse(
.poster(movie.getPoster())
.director(movie.getDirector())
.year(movie.getYear())
.tmdbId(movie.getTmdbId())
.build();
}

Expand Down

0 comments on commit d1d3824

Please sign in to comment.