Merge branch 'be/refactor/252-dto' into 'be/develop'

Refactor: Dto 형식 수정  - S11P21S002-252

See merge request s11-s-project/S11P21S002!259
This commit is contained in:
홍창기 2024-10-02 10:55:33 +09:00
commit 995cd0387f

View File

@ -35,10 +35,10 @@ public class ReviewDetailResponse {
private List<ImageResponse> images; private List<ImageResponse> images;
@Schema(description = "생성 시간", example = "") @Schema(description = "생성 시간", example = "")
private LocalDateTime creatAt; private LocalDateTime createdAt;
@Schema(description = "수정 시간", example = "") @Schema(description = "수정 시간", example = "")
private LocalDateTime updateAt; private LocalDateTime updatedAt;
@Schema(description = "작성자 정보", example = "") @Schema(description = "작성자 정보", example = "")
private MemberDetailResponse author; private MemberDetailResponse author;
@ -60,6 +60,5 @@ public class ReviewDetailResponse {
MemberDetailResponse.of(writer), MemberDetailResponse.of(writer),
Optional.ofNullable(reviewer).map(MemberDetailResponse::of).orElse(null) Optional.ofNullable(reviewer).map(MemberDetailResponse::of).orElse(null)
); );
} }
} }