Skip to content

Commit

Permalink
style: rename
Browse files Browse the repository at this point in the history
  • Loading branch information
becooq81 committed Oct 2, 2023
1 parent 92ed034 commit 690b15d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/poolc/api/comment/dto/CommentResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@Setter(AccessLevel.PRIVATE)
public class CommentResponse {
private Long commentId;
private Long generalPostId;
private Long postId;
private String writerLoginId;
private String writerName;
private String profileImageUrl;
Expand All @@ -38,7 +38,7 @@ public static CommentResponse of(Comment comment) {
else response.setBody("삭제된 댓글입니다.");
} else {
response.setCommentId(comment.getId());
response.setGeneralPostId(comment.getPost().getId());
response.setPostId(comment.getPost().getId());
response.setCreatedAt(comment.getCreatedAt());
// 익명 아닌 댓글
if (!comment.getAnonymous()) {
Expand Down

0 comments on commit 690b15d

Please sign in to comment.