-
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
1 parent
ca93202
commit d1264e1
Showing
78 changed files
with
2,116 additions
and
49 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
20 changes: 20 additions & 0 deletions
20
...src/main/java/com/example/artist/controller/dto/response/ArtistKoreanNameApiResponse.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,20 @@ | ||
package com.example.artist.controller.dto.response; | ||
|
||
import com.example.artist.service.dto.response.ArtistKoreanNameServiceResponse; | ||
import java.util.UUID; | ||
|
||
public record ArtistKoreanNameApiResponse( | ||
UUID id, | ||
String koreanName | ||
) { | ||
|
||
public ArtistKoreanNameApiResponse( | ||
ArtistKoreanNameServiceResponse artistKoreanNameServiceResponse) { | ||
this( | ||
artistKoreanNameServiceResponse.id(), | ||
artistKoreanNameServiceResponse.koreanName() | ||
); | ||
} | ||
|
||
|
||
} |
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
18 changes: 18 additions & 0 deletions
18
...rc/main/java/com/example/artist/service/dto/response/ArtistKoreanNameServiceResponse.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,18 @@ | ||
package com.example.artist.service.dto.response; | ||
|
||
import java.util.UUID; | ||
import org.example.dto.artist.response.ArtistKoreanNameResponse; | ||
|
||
public record ArtistKoreanNameServiceResponse( | ||
UUID id, | ||
String koreanName | ||
) { | ||
public ArtistKoreanNameServiceResponse(ArtistKoreanNameResponse artistKoreanNameResponse) { | ||
this( | ||
artistKoreanNameResponse.id(), | ||
artistKoreanNameResponse.koreanName() | ||
); | ||
} | ||
|
||
|
||
} |
11 changes: 11 additions & 0 deletions
11
app/api/show-api/src/main/java/com/example/component/FileUploadComponent.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,11 @@ | ||
package com.example.component; | ||
|
||
import org.springframework.stereotype.Component; | ||
import org.springframework.web.multipart.MultipartFile; | ||
|
||
@Component | ||
public interface FileUploadComponent { | ||
|
||
String uploadFile(String directory, MultipartFile multipartFile); | ||
|
||
} |
8 changes: 8 additions & 0 deletions
8
...api/src/main/java/com/example/genre/controller/dto/response/GenreNameApiFormResponse.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,10 +1,18 @@ | ||
package com.example.genre.controller.dto.response; | ||
|
||
import com.example.genre.service.dto.response.GenreNameServiceResponse; | ||
import java.util.UUID; | ||
|
||
public record GenreNameApiFormResponse( | ||
UUID id, | ||
String name | ||
) { | ||
|
||
public GenreNameApiFormResponse(GenreNameServiceResponse genreNameServiceResponse) { | ||
this ( | ||
genreNameServiceResponse.id(), | ||
genreNameServiceResponse.name() | ||
); | ||
} | ||
|
||
} |
Oops, something went wrong.