Skip to content
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] 엔티티 타입 정리 #10

Open
2 tasks
Kelly-Chui opened this issue Jan 9, 2025 · 0 comments
Open
2 tasks

[refactor] 엔티티 타입 정리 #10

Kelly-Chui opened this issue Jan 9, 2025 · 0 comments
Assignees
Labels

Comments

@Kelly-Chui
Copy link
Collaborator

📌Issue

추가하려는 기능에 대해 간결하게 설명해주세요

  • 엔티티 타입 정리

프로젝트 내부에서 사용되는 엔티티 타입을 정리합니다.

  • user와 관련된 경우, 비슷한 역할을 하는 엔티티가 다수 존재하고, 각각 정의되어 있습니다. 이러한 엔티티들을 통합해서 파편화된 엔티티들의 응집도를 높일수 있습니다.

엔티티와 DTO간의 Mapper 클래스를 생성하여 변환 작업을 수행하도록 합니다.

  • 데이터 타입 변환에 집중하는 Mapper 클래스를 생성하여, 다른 모듈이 해당 책임을 지지 않도록 합니다.

✅작업 상세 내용

  • 엔티티 통일
  • Mapper 클래스 생성

참고할만한 자료

https://mason-lee.tistory.com/103

@Kelly-Chui Kelly-Chui self-assigned this Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant