Skip to content

Commit

Permalink
[feat] 전체 봤어요 조회 response dto tmdbId 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
syyling committed May 29, 2024
1 parent 8d1043d commit 4a2579f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,18 @@ public static class WatchedPlaylistAdditionResponse {
private String year;
private String director;
private String rating;
private String tmdbId;

@Builder
public WatchedPlaylistAdditionResponse(String poster, String title, String nation, String year, String director, String rating) {
public WatchedPlaylistAdditionResponse(String poster, String title, String nation, String year, String director,
String rating, String tmdbId) {
this.poster = poster;
this.title = title;
this.nation = nation;
this.year = year;
this.director = director;
this.rating = rating;
this.tmdbId = tmdbId;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public static WatchedResponse.WatchedPlaylistAdditionResponse mapToWatchedPlayli
.year(movie.getYear())
.director(movie.getDirector())
.rating(rating)
.tmdbId(movie.getTmdbId())
.build();
}
}

0 comments on commit 4a2579f

Please sign in to comment.