-
Notifications
You must be signed in to change notification settings - Fork 8
refactor: entity 패키지를 도메인 기준으로 변경 #315
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
Closed
Gyuhyeok99
wants to merge
8
commits into
solid-connection:develop
from
Gyuhyeok99:refactor/314-entity-domain-separation
Closed
Changes from 4 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
f4d5a77
refactor: Country 전용 패키지 생성 및 이동
Gyuhyeok99 b29b2a2
refactor: Region 전용 패키지 생성 및 이동
Gyuhyeok99 cc6efd1
chore: InterestedCountryRepository 오타 수정
Gyuhyeok99 951b407
refactor: 변경된 패키지 반영
Gyuhyeok99 439cd9b
fix: QClass 설정 꼬인 것 해결
Gyuhyeok99 bbb9c19
refactor: Country와 Region을 Location 패키지로 이동
Gyuhyeok99 15b11a6
refactor: Test용 Country와 Region을 Location 패키지로 이동
Gyuhyeok99 2da4c99
fix: QClass 설정 꼬인 것 해결
Gyuhyeok99 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
3 changes: 2 additions & 1 deletion
3
...ample/solidconnection/entity/Country.java → ...lidconnection/country/domain/Country.java
This file contains hidden or 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
2 changes: 1 addition & 1 deletion
2
...dconnection/entity/InterestedCountry.java → ...ion/country/domain/InterestedCountry.java
This file contains hidden or 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
4 changes: 2 additions & 2 deletions
4
...ction/repositories/CountryRepository.java → ...country/repository/CountryRepository.java
This file contains hidden or 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
6 changes: 3 additions & 3 deletions
6
...ositories/InterestedCountyRepository.java → ...pository/InterestedCountryRepository.java
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,13 @@ | ||
| package com.example.solidconnection.repositories; | ||
| package com.example.solidconnection.country.repository; | ||
|
|
||
| import com.example.solidconnection.entity.InterestedCountry; | ||
| import com.example.solidconnection.country.domain.InterestedCountry; | ||
| import com.example.solidconnection.siteuser.domain.SiteUser; | ||
| import org.springframework.data.jpa.repository.JpaRepository; | ||
| import org.springframework.stereotype.Repository; | ||
|
|
||
| import java.util.List; | ||
|
|
||
| @Repository | ||
| public interface InterestedCountyRepository extends JpaRepository<InterestedCountry, Long> { | ||
| public interface InterestedCountryRepository extends JpaRepository<InterestedCountry, Long> { | ||
| List<InterestedCountry> findAllBySiteUser(SiteUser siteUser); | ||
| } |
2 changes: 1 addition & 1 deletion
2
...idconnection/entity/InterestedRegion.java → ...ction/region/domain/InterestedRegion.java
This file contains hidden or 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
2 changes: 1 addition & 1 deletion
2
...xample/solidconnection/entity/Region.java → ...solidconnection/region/domain/Region.java
This file contains hidden or 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
4 changes: 2 additions & 2 deletions
4
...ositories/InterestedRegionRepository.java → ...epository/InterestedRegionRepository.java
This file contains hidden or 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
4 changes: 2 additions & 2 deletions
4
...ection/repositories/RegionRepository.java → ...n/region/repository/RegionRepository.java
This file contains hidden or 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
4 changes: 2 additions & 2 deletions
4
src/main/java/com/example/solidconnection/university/domain/University.java
This file contains hidden or 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
2 changes: 1 addition & 1 deletion
2
src/test/java/com/example/solidconnection/country/fixture/CountryFixture.java
This file contains hidden or 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
4 changes: 2 additions & 2 deletions
4
src/test/java/com/example/solidconnection/country/fixture/CountryFixtureBuilder.java
This file contains hidden or 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
2 changes: 1 addition & 1 deletion
2
src/test/java/com/example/solidconnection/country/repository/CountryRepositoryForTest.java
This file contains hidden or 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
2 changes: 1 addition & 1 deletion
2
src/test/java/com/example/solidconnection/region/fixture/RegionFixture.java
This file contains hidden or 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
2 changes: 1 addition & 1 deletion
2
src/test/java/com/example/solidconnection/region/fixture/RegionFixtureBuilder.java
This file contains hidden or 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
2 changes: 1 addition & 1 deletion
2
src/test/java/com/example/solidconnection/region/repository/RegionRepositoryForTest.java
This file contains hidden or 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
This file contains hidden or 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
4 changes: 2 additions & 2 deletions
4
src/test/java/com/example/solidconnection/university/fixture/UniversityFixtureBuilder.java
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
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.
💡 Verification agent
🧩 Analysis chain
1. 도메인 패키지 임포트 일관화
-
Country클래스 임포트 경로를com.example.solidconnection.country.domain으로 수정해 도메인 기준 구조와 일치시켰습니다.2. 잔여 레거시 인포트 확인 요청
- 프로젝트 전반에
com.example.solidconnection.entity패키지 참조가 남아있는지 검색해주세요.🏁 Script executed:
Length of output: 1038
🚨 잔여 레거시 엔티티 패키지 임포트 수정 요청
com.example.solidconnection.country.domain으로 정상 적용된 것을 확인했습니다.com.example.solidconnection.entity패키지를 참조하고 있습니다. 도메인 기준 구조에 맞춰 임포트를 수정해 주세요:예시)