-
Notifications
You must be signed in to change notification settings - Fork 6
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-be: 평가 테이블에 평가자 이름 필드 추가 및 API 변경 #958
base: be/develop
Are you sure you want to change the base?
Conversation
1734436773.727529 |
1734436774.129299 |
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.
수고하셨습니다~ 명오!
간단한 리뷰 남겼으니 확인해주세요 :)
@@ -81,8 +81,8 @@ private void runDataLoader() { | |||
LocalDateTime endDate = LocalDateTime.of(2054, 10, 16, 10, 0, 0); | |||
dashboardRepository.save(dashboard); | |||
String description = """ | |||
<h2>2025 신입생 (7기) 선발 일정 </h2><p><br></p><ol><li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span><strong>서류접수:</strong> 2024년 10월 6일(금) 오후 3시 ~ 10월 16일(월) 오전 10시</li><li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span><strong>프리코스:</strong> 2024년 10월 19일(목) ~ 11월 15일(수)</li><li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span><strong>1차 합격자 발표:</strong> 2024년 12월 11일(월) 오후 3시, 개별 E-mail 통보</li><li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span><strong>최종 코딩 테스트:</strong> 2024년 12월 16일(토)</li><li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span><strong>최종 합격자 발표:</strong> 2024년 12월 27일(수) 오후 3시, 개별 E-mail 통보 </li></ol><p><br></p><h2>2025 신입생 (7기) 교육 기간 </h2><p><br></p><ol><li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>2025년 2월 ~ 11월 (약 10개월) </li></ol> |
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.
매번 개행 때문에 변경되서 거슬리는군요. 다음에 이를 static 파일로 뺄 궁리를 해봐야겠네요.
@@ -33,6 +33,8 @@ public class Evaluation extends BaseEntity implements SecureResource { | |||
@Column(name = "evaluation_id") | |||
private Long id; | |||
|
|||
private String evaluator; |
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.
toString 재정의가 필요해보입니다!
evaluation.getContent().equals(request.content()) | ||
&& evaluation.getScore().equals(request.score()) | ||
&& evaluation.getEvaluator().equals(request.evaluator()) |
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.
도메인 검증 로직으로 빼는건 어떤가요?
evaluation.getContent().equals(request.content()) | |
&& evaluation.getScore().equals(request.score()) | |
&& evaluation.getEvaluator().equals(request.evaluator()) | |
evaluation.isContent(...) && evaluation.isScore(...) && evaluation.isEvaluator(...) |
Original issue description
목적
작업 세부사항
참고 사항
EVAL_NAME_01
closes #957