-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: 검색 관련 도메인 패키징 및 불필요한 정적 팩토리 메소드 제거
- Loading branch information
Showing
6 changed files
with
22 additions
and
26 deletions.
There are no files selected for viewing
19 changes: 0 additions & 19 deletions
19
backend/src/main/java/kr/touroot/travelogue/domain/SearchCondition.java
This file was deleted.
Oops, something went wrong.
15 changes: 15 additions & 0 deletions
15
backend/src/main/java/kr/touroot/travelogue/domain/search/SearchCondition.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package kr.touroot.travelogue.domain.search; | ||
|
||
import lombok.Getter; | ||
|
||
@Getter | ||
public class SearchCondition { | ||
|
||
private final String keyword; | ||
private final SearchType searchType; | ||
|
||
public SearchCondition(String keyword, SearchType searchType) { | ||
this.keyword = keyword; | ||
this.searchType = searchType; | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...touroot/travelogue/domain/SearchType.java → .../travelogue/domain/search/SearchType.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package kr.touroot.travelogue.domain; | ||
package kr.touroot.travelogue.domain.search; | ||
|
||
import java.util.Arrays; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
backend/src/main/java/kr/touroot/travelogue/repository/query/TravelogueQueryRepository.java
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
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
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