Skip to content

Commit

Permalink
Merge pull request #240 from 100-hours-a-week/refactor-package
Browse files Browse the repository at this point in the history
refactor: AccompanyReview 관련 DTO 패키지 구조 변경
  • Loading branch information
49EHyeon42 authored Sep 30, 2024
2 parents 62ba100 + 0b699b8 commit 789867d
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 789867d

Please sign in to comment.