-
Notifications
You must be signed in to change notification settings - Fork 1
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
refactor: 과제 엔티티 필드 이름 수정 #416
Conversation
Job Summary for GradleCheck Style and Test to Develop :: build-test
|
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.
lgtm
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.
이거를 isCancelled로 두려고했는데
결국 Assignment와 Session이 StudyDetail이라는 같은 테이블에 들어가서
둘에게 모두 존재하는 휴강여부, 제목, 난이도를 똑같이 title, isCancelled, difficulty로 둘순 없겠더라구요 (db컬럼중복)
그래서 구분해뒀습니다!
그래서 그럼 클래스의 필드값은 title, isCancelled, difficulty이렇게 두되
각각
@column(name = "assignmentTitle")
@column(name = "isAssignmentCancelled")
@column(name = "assignmentDifficulty")
이렇게 지정하는건 어떨까요?
네네 좋습니다 |
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.
중복 컬럼명의 경우 @AttributeOverride
를 쓰면 됩니다
Job Summary for GradleCheck Style and Test to Develop :: build-test
|
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.
lgtm
수정할 부분이 있긴한데 별도 이슈로 치겠습니다
🌱 관련 이슈
📌 작업 내용 및 특이사항
📝 참고사항
📚 기타