-
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
7 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
...otlin/dsm/pick2024/domain/application/exception/AlreadyApplyingForEarlyReturnException.kt
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,8 @@ | ||
package dsm.pick2024.domain.application.exception | ||
|
||
import dsm.pick2024.global.error.exception.ErrorCode | ||
import dsm.pick2024.global.error.exception.PickException | ||
|
||
object AlreadyApplyingForEarlyReturnException : PickException( | ||
ErrorCode.ALREADY_APPLYING_EARLY_RETURN | ||
) |
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
4 changes: 3 additions & 1 deletion
4
src/main/kotlin/dsm/pick2024/domain/application/port/out/EarlyReturnPort.kt
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,3 +1,5 @@ | ||
package dsm.pick2024.domain.application.port.out | ||
|
||
interface EarlyReturnPort : SaveEarlyReturnPort | ||
interface EarlyReturnPort : | ||
SaveEarlyReturnPort, | ||
ExistsEarlyReturnByUsernamePort |
5 changes: 5 additions & 0 deletions
5
src/main/kotlin/dsm/pick2024/domain/application/port/out/ExistsEarlyReturnByUsernamePort.kt
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,5 @@ | ||
package dsm.pick2024.domain.application.port.out | ||
|
||
interface ExistsEarlyReturnByUsernamePort { | ||
fun existsByUsername(username: String): Boolean? | ||
} |
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