Skip to content

[REFACTOR] User Account 패키지 최상위 승격 및 DDD 레이어 재배치 #399

@Dimo-2562

Description

@Dimo-2562

✨ 리팩토링 할 부분

상위 이슈: #395
선행 이슈: #396

User Account 컨텍스트를 현재 domain/useraccount 구조에서
최상위 패키지 + DDD 레이어 구조로 재배치한다.


🏷️ 도메인

  • 👤 domain:user

📌 현재 코드의 문제점


🎯 리팩토링 방향

  • src/main/java/com/techfork/domain/useraccount를 최상위 useraccount 패키지로 승격한다.
  • 패키지 구조를 presentation / application / domain / infrastructure 기준으로 재배치한다.
  • entity, repository, service, dto, converter, controller를 DDD 책임 기준으로 이동한다.
  • 테스트 패키지도 같은 기준으로 재정렬한다.
  • 기능 변경 없이 구조와 의존 방향만 정리한다.

✅ 작업 체크리스트

  • User Account 패키지 최상위 승격
  • presentation / application / domain / infrastructure 기준 재배치
  • import/package 경로 정리
  • 테스트 패키지 구조 재배치
  • 기존 동작 회귀 확인

💡 기대 효과

  • 가독성 향상
  • 유지보수성 향상
  • 기타: 이후 aggregate/service 경계 리팩토링의 기준 패키지 확보

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions