-
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
도메인 객체를 POJO로 전환 완료 #403
Merged
Merged
도메인 객체를 POJO로 전환 완료 #403
Conversation
This file contains 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
MapStruct 적용 범위
그 외 매핑은 유지
그럼에도 불구하고, 필요하다고 여겨지면 도메인 객체와 DTO 간의 매핑 작업을 MapStruct로 변경하겠습니다. |
SongJaeHoonn
approved these changes
Jul 17, 2024
제가 말씀드린 방향과 일치하게 리팩토링해주셨네요! |
mingmingmon
approved these changes
Jul 17, 2024
…도록 변경하여 책임을 분리함, 개행 제거
Merged
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.
Summary
도메인 객체를 POJO(Plain Old Java Object)로 전환하여 JPA 엔티티와 분리하는 작업을 수행했습니다. 이 작업은 도메인 객체와 영속성 로직을 명확히 분리하여 각자의 책임을 분리하고, 코드의 유연성과 유지보수성을 향상시키기 위함입니다.
Tasks
패키지 구조
외부에서의 불필요한 접근을 방지하고 모듈 간의 결합도를 낮추기 위해 package-private 구조로 작성되었습니다.
ETC
Query
외래키 제거
login_attempt_log -> account_access_log 변경된 테이블 반영
Screenshot