From 20938dcf075c8950a391a50ed147f40e1412205a Mon Sep 17 00:00:00 2001 From: syyling Date: Sat, 25 May 2024 23:43:36 +0900 Subject: [PATCH] =?UTF-8?q?[feat]=20=EC=98=81=ED=99=94=20=EC=A0=9C?= =?UTF-8?q?=EB=AA=A9=20=EA=B2=80=EC=83=89=20=EA=B2=B0=EA=B3=BC=20dto?= =?UTF-8?q?=EC=97=90=20tmdbId=20=ED=95=84=EB=93=9C=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../movie/application/dto/response/MovieResponse.java | 4 +++- .../movie/application/service/MovieSearchService.java | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/mookive/mookive_backend/movie/application/dto/response/MovieResponse.java b/src/main/java/com/mookive/mookive_backend/movie/application/dto/response/MovieResponse.java index fcc091b..f87bb83 100644 --- a/src/main/java/com/mookive/mookive_backend/movie/application/dto/response/MovieResponse.java +++ b/src/main/java/com/mookive/mookive_backend/movie/application/dto/response/MovieResponse.java @@ -47,6 +47,7 @@ public MovieTitleResponse(String title) { @Getter @NoArgsConstructor public static class MovieTitleSearchResponse { + private String tmdbId; private String title; private String director; private String year; @@ -54,7 +55,8 @@ public static class MovieTitleSearchResponse { private String nation; @Builder - public MovieTitleSearchResponse(String title, String director, String year, String poster, String nation) { + public MovieTitleSearchResponse(String tmdbId, String title, String director, String year, String poster, String nation) { + this.tmdbId = tmdbId; this.title = title; this.director = director; this.year = year; diff --git a/src/main/java/com/mookive/mookive_backend/movie/application/service/MovieSearchService.java b/src/main/java/com/mookive/mookive_backend/movie/application/service/MovieSearchService.java index ea7ebd1..547440e 100644 --- a/src/main/java/com/mookive/mookive_backend/movie/application/service/MovieSearchService.java +++ b/src/main/java/com/mookive/mookive_backend/movie/application/service/MovieSearchService.java @@ -59,6 +59,7 @@ public List getMovieTitleSearchResult(St if(j