-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
60 changed files
with
1,161 additions
and
557 deletions.
There are no files selected for viewing
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
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
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
19 changes: 19 additions & 0 deletions
19
app/api/show-api/src/main/java/com/example/artist/vo/ArtistSortApiType.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,19 @@ | ||
package com.example.artist.vo; | ||
|
||
import org.example.vo.ArtistSortType; | ||
|
||
public enum ArtistSortApiType { | ||
KOREAN_NAME_ASC, | ||
KOREAN_NAME_DESC, | ||
ENGLISH_NAME_ASC, | ||
ENGLISH_NAME_DESC; | ||
|
||
public ArtistSortType toDomainType() { | ||
return switch (this) { | ||
case KOREAN_NAME_ASC -> ArtistSortType.KOREAN_NAME_ASC; | ||
case KOREAN_NAME_DESC -> ArtistSortType.KOREAN_NAME_DESC; | ||
case ENGLISH_NAME_ASC -> ArtistSortType.ENGLISH_NAME_ASC; | ||
case ENGLISH_NAME_DESC -> ArtistSortType.ENGLISH_NAME_DESC; | ||
}; | ||
} | ||
} |
19 changes: 0 additions & 19 deletions
19
app/api/show-api/src/main/java/com/example/artist/vo/ArtistSortStandardApiType.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.