diff --git a/src/main/java/umc/meme/shop/domain/review/dto/response/ReviewResponseDto.java b/src/main/java/umc/meme/shop/domain/review/dto/response/ReviewResponseDto.java index fa072d0..ecff5c6 100644 --- a/src/main/java/umc/meme/shop/domain/review/dto/response/ReviewResponseDto.java +++ b/src/main/java/umc/meme/shop/domain/review/dto/response/ReviewResponseDto.java @@ -6,6 +6,7 @@ import lombok.NoArgsConstructor; import umc.meme.shop.domain.review.entity.Review; +import java.time.LocalDateTime; import java.util.List; @Getter @@ -13,10 +14,12 @@ @NoArgsConstructor @AllArgsConstructor public class ReviewResponseDto { + private Long reviewId; private String modelNickName; private String modelProfileImg; private int star; private String comment; + private LocalDateTime createdAt; private List reviewImgDtoList; public static ReviewResponseDto from(Review review){ @@ -26,10 +29,12 @@ public static ReviewResponseDto from(Review review){ .toList(); return ReviewResponseDto.builder() + .reviewId(review.getReviewId()) .modelNickName(review.getModel().getNickname()) .modelProfileImg(review.getModel().getProfileImg()) .star(review.getStar()) .comment(review.getComment()) + .createdAt(review.getCreatedAt()) .reviewImgDtoList(reviewImgDtoList) .build(); }