-
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
9 changed files
with
85 additions
and
54 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
14 changes: 0 additions & 14 deletions
14
...w-api/src/main/java/com/example/show/controller/dto/response/ShowInterestApiResponse.java
This file was deleted.
Oops, something went wrong.
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
...pi/src/main/java/com/example/show/service/dto/request/ShowUninterestedServiceRequest.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.show.service.dto.request; | ||
|
||
import java.util.UUID; | ||
import lombok.Builder; | ||
import org.example.dto.show.request.UninterestedShowDomainRequest; | ||
|
||
@Builder | ||
public record ShowUninterestedServiceRequest( | ||
UUID showId, | ||
UUID userId | ||
) { | ||
|
||
public UninterestedShowDomainRequest toDomainRequest(UUID showId) { | ||
return UninterestedShowDomainRequest.builder() | ||
.showId(showId) | ||
.userId(userId()) | ||
.build(); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...show-domain/src/main/java/org/example/dto/show/request/UninterestedShowDomainRequest.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,12 @@ | ||
package org.example.dto.show.request; | ||
|
||
import java.util.UUID; | ||
import lombok.Builder; | ||
|
||
@Builder | ||
public record UninterestedShowDomainRequest( | ||
UUID showId, | ||
UUID userId | ||
) { | ||
|
||
} |
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