Open
Conversation
dohyeon0608
reviewed
Nov 20, 2025
Comment on lines
+32
to
+33
| @Column(name = "anonymous_id") | ||
| private Long anonymousId; |
There was a problem hiding this comment.
anonymous_id는 댓글에서 익명을 구분하는 번호 같습니다만, Comment에 익명 여부에 대한 필드가 안 보이네요. 혹시 모든 댓글은 익명으로 처리되나요? 만약에 익명 여부를 결정할 수 있다면, 익명이 아닌 댓글에도 번호를 부여하나요?
Comment on lines
+19
to
+21
| @CreatedDate | ||
| @Column(updatable = false) | ||
| private LocalDateTime createdAt; |
There was a problem hiding this comment.
createdAt이 생성 당시 시점을 저장하는 것이니 만큼 업데이트가 안 되게 막으신 점 좋습니다!
| private LocalDate duration; | ||
|
|
||
| @Column(name = "result") | ||
| private Boolean result; |
There was a problem hiding this comment.
result라는 필드 이름으로 봐서는 어떤 투표에 대한 결과인 것인지, 또는 투표한 사람의 결과(선택)인지 헷갈릴 여지가 있다고 보입니다. 그리고 타입이 Boolean으로 되어있는데, 혹시 찬반 투표만 제공하는 것인가요?
eunjin0840
reviewed
Nov 20, 2025
There was a problem hiding this comment.
Board 안에서는 id가 하나인데 id 이름을 board_id로 또 따로 설정한 이유가 있을까요?
eunjin0840
reviewed
Nov 20, 2025
eunjin0840
reviewed
Nov 20, 2025
There was a problem hiding this comment.
중간에 viewCount 필드가 있는 것 같은데 viewCount를 필드로 관리하는 이유가 있을까요?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ERD
DB