-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feat/#-] 기획 사항을 고려하여 기능 구현 및 리팩토링 #67
Conversation
…ests and responses
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
짧은 시간이었을텐데 다양한 기능들 꼼꼼하게 개발하시느라 정말 고생 많으셨어요 👍👍
prefix = "-"; | ||
} | ||
return prefix + String.format("%02d:%02d", hours, minutes); | ||
long seconds = duration.abs().getSeconds(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
abs 처리해서 포맷에 +/- 안 붙게 하신 점 좋습니다!
@@ -50,14 +51,21 @@ public class Member extends BaseEntity { | |||
@OneToMany(mappedBy = "member", fetch = FetchType.EAGER) | |||
private Set<Participant> participations = new HashSet<>(); | |||
|
|||
// MEMO : 필수값들이므로 final 붙임 | |||
@Column(nullable = false, name = "image_num") | |||
private Long imageNum = new Random().nextLong(12) + 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P3: 사소하지만, imageNum의 경우 숫자 표현의 범위가 크지 않을 것 같아 integer로 처리해도 좋을 것 같아요 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
동감합니다! 타입 바꿔서 커밋 올렸어요!
🔗 Linked Issue
🛠 개발 기능
🔍 리뷰 포인트
📋 Code Review Priority Guideline