Skip to content

Commit

Permalink
refactor: AccompanyReview 관련 DTO 패키지 구조 변경
Browse files Browse the repository at this point in the history
- AccompanyReview 관련 DTO 클래스를 response 패키지로 이동했습니다.
- 더 명확한 패키지 구조로 코드 가독성을 개선했습니다.

Signed-off-by: Namgyu11 <[email protected]>
  • Loading branch information
Namgyu11 committed Sep 30, 2024
1 parent f689ec8 commit 0b699b8
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -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(
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package connectripbe.connectrip_be.review.dto;
package connectripbe.connectrip_be.review.dto.response;

public record AccompanyReviewSummaryResponse(
String revieweeNickname,
Expand Down
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 0b699b8

Please sign in to comment.