diff --git a/src/main/java/connectripbe/connectrip_be/member/dto/ProfileDto.java b/src/main/java/connectripbe/connectrip_be/member/dto/ProfileDto.java index 944feac2..91eafab9 100644 --- a/src/main/java/connectripbe/connectrip_be/member/dto/ProfileDto.java +++ b/src/main/java/connectripbe/connectrip_be/member/dto/ProfileDto.java @@ -2,7 +2,7 @@ import connectripbe.connectrip_be.global.util.time.DateTimeUtils; import connectripbe.connectrip_be.member.entity.MemberEntity; -import connectripbe.connectrip_be.review.dto.AccompanyReviewResponse; +import connectripbe.connectrip_be.review.dto.response.AccompanyReviewResponse; import java.util.List; import lombok.AllArgsConstructor; import lombok.Builder; diff --git a/src/main/java/connectripbe/connectrip_be/member/service/MemberServiceImpl.java b/src/main/java/connectripbe/connectrip_be/member/service/MemberServiceImpl.java index 30ef656a..94aabbf0 100644 --- a/src/main/java/connectripbe/connectrip_be/member/service/MemberServiceImpl.java +++ b/src/main/java/connectripbe/connectrip_be/member/service/MemberServiceImpl.java @@ -20,7 +20,7 @@ import connectripbe.connectrip_be.member.exception.DuplicateMemberNicknameException; import connectripbe.connectrip_be.member.exception.NotFoundMemberException; import connectripbe.connectrip_be.member.repository.MemberJpaRepository; -import connectripbe.connectrip_be.review.dto.AccompanyReviewResponse; +import connectripbe.connectrip_be.review.dto.response.AccompanyReviewResponse; import connectripbe.connectrip_be.review.repository.AccompanyReviewRepository; import java.time.LocalDate; import java.time.Period; diff --git a/src/main/java/connectripbe/connectrip_be/review/dto/AccompanyReviewListResponse.java b/src/main/java/connectripbe/connectrip_be/review/dto/response/AccompanyReviewListResponse.java similarity index 62% rename from src/main/java/connectripbe/connectrip_be/review/dto/AccompanyReviewListResponse.java rename to src/main/java/connectripbe/connectrip_be/review/dto/response/AccompanyReviewListResponse.java index f3a57cbb..c7b8dfa7 100644 --- a/src/main/java/connectripbe/connectrip_be/review/dto/AccompanyReviewListResponse.java +++ b/src/main/java/connectripbe/connectrip_be/review/dto/response/AccompanyReviewListResponse.java @@ -1,5 +1,6 @@ -package connectripbe.connectrip_be.review.dto; +package connectripbe.connectrip_be.review.dto.response; +import connectripbe.connectrip_be.review.dto.AccompanyReviewDto; import java.util.List; public record AccompanyReviewListResponse( diff --git a/src/main/java/connectripbe/connectrip_be/review/dto/AccompanyReviewResponse.java b/src/main/java/connectripbe/connectrip_be/review/dto/response/AccompanyReviewResponse.java similarity index 96% rename from src/main/java/connectripbe/connectrip_be/review/dto/AccompanyReviewResponse.java rename to src/main/java/connectripbe/connectrip_be/review/dto/response/AccompanyReviewResponse.java index 54bc35cb..fd90f4a7 100644 --- a/src/main/java/connectripbe/connectrip_be/review/dto/AccompanyReviewResponse.java +++ b/src/main/java/connectripbe/connectrip_be/review/dto/response/AccompanyReviewResponse.java @@ -1,4 +1,4 @@ -package connectripbe.connectrip_be.review.dto; +package connectripbe.connectrip_be.review.dto.response; import connectripbe.connectrip_be.global.util.time.DateTimeUtils; import connectripbe.connectrip_be.review.entity.AccompanyReviewEntity; diff --git a/src/main/java/connectripbe/connectrip_be/review/dto/AccompanyReviewSummaryResponse.java b/src/main/java/connectripbe/connectrip_be/review/dto/response/AccompanyReviewSummaryResponse.java similarity index 70% rename from src/main/java/connectripbe/connectrip_be/review/dto/AccompanyReviewSummaryResponse.java rename to src/main/java/connectripbe/connectrip_be/review/dto/response/AccompanyReviewSummaryResponse.java index 40254b85..6641bd2a 100644 --- a/src/main/java/connectripbe/connectrip_be/review/dto/AccompanyReviewSummaryResponse.java +++ b/src/main/java/connectripbe/connectrip_be/review/dto/response/AccompanyReviewSummaryResponse.java @@ -1,4 +1,4 @@ -package connectripbe.connectrip_be.review.dto; +package connectripbe.connectrip_be.review.dto.response; public record AccompanyReviewSummaryResponse( String revieweeNickname, diff --git a/src/main/java/connectripbe/connectrip_be/review/service/AccompanyReviewService.java b/src/main/java/connectripbe/connectrip_be/review/service/AccompanyReviewService.java index 16eec66c..a82b7def 100644 --- a/src/main/java/connectripbe/connectrip_be/review/service/AccompanyReviewService.java +++ b/src/main/java/connectripbe/connectrip_be/review/service/AccompanyReviewService.java @@ -1,9 +1,9 @@ package connectripbe.connectrip_be.review.service; -import connectripbe.connectrip_be.review.dto.AccompanyReviewListResponse; import connectripbe.connectrip_be.review.dto.AccompanyReviewRequest; -import connectripbe.connectrip_be.review.dto.AccompanyReviewResponse; -import connectripbe.connectrip_be.review.dto.AccompanyReviewSummaryResponse; +import connectripbe.connectrip_be.review.dto.response.AccompanyReviewListResponse; +import connectripbe.connectrip_be.review.dto.response.AccompanyReviewResponse; +import connectripbe.connectrip_be.review.dto.response.AccompanyReviewSummaryResponse; import java.util.List; public interface AccompanyReviewService { diff --git a/src/main/java/connectripbe/connectrip_be/review/service/impl/AccompanyReviewServiceImpl.java b/src/main/java/connectripbe/connectrip_be/review/service/impl/AccompanyReviewServiceImpl.java index 176d6368..58b9cbb7 100644 --- a/src/main/java/connectripbe/connectrip_be/review/service/impl/AccompanyReviewServiceImpl.java +++ b/src/main/java/connectripbe/connectrip_be/review/service/impl/AccompanyReviewServiceImpl.java @@ -11,10 +11,10 @@ import connectripbe.connectrip_be.member.exception.NotFoundMemberException; import connectripbe.connectrip_be.member.repository.MemberJpaRepository; import connectripbe.connectrip_be.review.dto.AccompanyReviewDto; -import connectripbe.connectrip_be.review.dto.AccompanyReviewListResponse; import connectripbe.connectrip_be.review.dto.AccompanyReviewRequest; -import connectripbe.connectrip_be.review.dto.AccompanyReviewResponse; -import connectripbe.connectrip_be.review.dto.AccompanyReviewSummaryResponse; +import connectripbe.connectrip_be.review.dto.response.AccompanyReviewListResponse; +import connectripbe.connectrip_be.review.dto.response.AccompanyReviewResponse; +import connectripbe.connectrip_be.review.dto.response.AccompanyReviewSummaryResponse; import connectripbe.connectrip_be.review.entity.AccompanyReviewEntity; import connectripbe.connectrip_be.review.repository.AccompanyReviewRepository; import connectripbe.connectrip_be.review.service.AccompanyReviewService; diff --git a/src/main/java/connectripbe/connectrip_be/review/web/AccompanyReviewController.java b/src/main/java/connectripbe/connectrip_be/review/web/AccompanyReviewController.java index 40e68f6c..2a6188bb 100644 --- a/src/main/java/connectripbe/connectrip_be/review/web/AccompanyReviewController.java +++ b/src/main/java/connectripbe/connectrip_be/review/web/AccompanyReviewController.java @@ -1,9 +1,9 @@ package connectripbe.connectrip_be.review.web; -import connectripbe.connectrip_be.review.dto.AccompanyReviewListResponse; import connectripbe.connectrip_be.review.dto.AccompanyReviewRequest; -import connectripbe.connectrip_be.review.dto.AccompanyReviewResponse; -import connectripbe.connectrip_be.review.dto.AccompanyReviewSummaryResponse; +import connectripbe.connectrip_be.review.dto.response.AccompanyReviewListResponse; +import connectripbe.connectrip_be.review.dto.response.AccompanyReviewResponse; +import connectripbe.connectrip_be.review.dto.response.AccompanyReviewSummaryResponse; import connectripbe.connectrip_be.review.service.AccompanyReviewService; import lombok.RequiredArgsConstructor; import org.springframework.http.ResponseEntity;