-
Notifications
You must be signed in to change notification settings - Fork 0
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: 교육 사항 등록 기능 구현 #37
Conversation
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.
코멘트 남겼습니다
고생하셨어요
this.title = title; | ||
this.introduce = introduce; | ||
this.user = user; | ||
this.training = training; |
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.
training에 대한 null체크는 없는건가요?
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.
@Column(name = "training_id") | ||
private Long id; | ||
|
||
private String schoolOrOrganization; |
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.
단순 '기관' 이라는 단어로 칭해도 될 거 같아요
피그마에 나온대로 다 작성은 안해도 될듯?
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.
if (this.role == Role.ROLE_MENTEE) { | ||
return true; | ||
} | ||
return false; |
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.
if (this.role == Role.ROLE_MENTEE) { | |
return true; | |
} | |
return false; | |
return role.equals(Role.ROLE_MENTEE); |
} | ||
|
||
@Test | ||
void max_gpa_should_be_greater_than_gpa() { |
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.
메서드명 한글로
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.
|
||
@Enumerated(EnumType.STRING) | ||
private Position position; | ||
|
||
@Lob | ||
private String introduce; | ||
|
||
@Embedded | ||
@ManyToOne |
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.
내가 가진 여러개의 이력서가 하나의 교육 사항을 공유하나요?
이력서 하나에 교육사항 하나만 작성 가능한지도 궁금합니다!
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.
} | ||
return false; | ||
} | ||
|
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.
👍🏻
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.
고생하셨습니다~
커밋에서 test나 엔티티수정, 검증로직 추가 이런것들은 하나로 합쳐도 좋을 것 같아요 |
🖥️ 이런 PR 입니다
교육 사항 등록 기능 구현하였습니다.
CC. 리뷰어
User 클래스에 멘티인지 확인하는 메소드 추가하였습니다. @ddongpuri
테스트 설명
검증로직 예외 발생 테스트
기타
Prefix
PR 코멘트를 작성할 때 항상 Prefix를 붙여주세요.