[#18] Feat 도메인 모듈 분리, 팔로우 레포지터리 쿼리 오류 수정 #19
Merged
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.
📌 PR 제목
api 모듈에 존재하는 도메인 엔티티를 분리해서
closet-domain
모듈을 생성하고 이전했습니다.비즈니스 로직에 필요한 로직 추가
🔗 관련 이슈 번호
#18
📝 변경 사항 요약
도메인 모듈은 다른 모듈을 의존하지 않으면서 생기는 문제로, api 모듈에 존재하는 dto나 예외 클래스를 임포트할 수 없음. 코드 로직을 수정 또는 파라미터 수정을 해주었습니다.
기존 엔티티 중에 관리되어야할 생성시간, 수정 시간이 필요한 엔티티에 컬럼을 추가해주고 로컬과 운영 디비에 적용해주었습니다.
Flyway
같은 데이터베이스 마이그레이션 기능을 이용 필요 느낌 -> 이후 적용 방법 조사 후 적용할 예정중계 테이블에 필요없는 컬럼이 존재함. 주석으로 리팩토링 TODO 추가
OneToMany
컬럼에서 데이터 cascade 설정 수정이 필요해 보이는 곳에 TODO 추가✅ 체크리스트