-
Notifications
You must be signed in to change notification settings - Fork 0
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
kyubeomHan
committed
Aug 16, 2024
1 parent
49e451d
commit 4455960
Showing
9 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
core/src/main/kotlin/com/core/adapter/in/web/TestController.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,4 @@ | ||
package com.core.adapter.`in`.web | ||
|
||
class TestController { | ||
} |
4 changes: 4 additions & 0 deletions
4
core/src/main/kotlin/com/core/adapter/out/persistence/food/FoodJpaEntity.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,4 @@ | ||
package com.core.adapter.out.persistence.food | ||
|
||
class FoodJpaEntity { | ||
} |
4 changes: 4 additions & 0 deletions
4
core/src/main/kotlin/com/core/adapter/out/persistence/food/FoodRepository.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,4 @@ | ||
package com.core.adapter.out.persistence.food | ||
|
||
interface FoodRepository { | ||
} |
4 changes: 4 additions & 0 deletions
4
core/src/main/kotlin/com/core/application/domain/food/model/Food.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,4 @@ | ||
package com.core.application.domain.food.model | ||
|
||
class Food { | ||
} |
4 changes: 4 additions & 0 deletions
4
core/src/main/kotlin/com/core/application/domain/food/service/FoodReadService.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,4 @@ | ||
package com.core.application.domain.food.service | ||
|
||
class FoodReadService { | ||
} |
4 changes: 4 additions & 0 deletions
4
core/src/main/kotlin/com/core/application/domain/food/service/FoodWriteService.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,4 @@ | ||
package com.core.application.domain.food.service | ||
|
||
class FoodWriteService { | ||
} |
12 changes: 12 additions & 0 deletions
12
core/src/main/kotlin/com/core/application/port/in/GetFoodUseCase.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,12 @@ | ||
package com.core.application.port.`in` | ||
|
||
import com.core.application.port.`in`.dto.GetFoodDto | ||
|
||
interface GetFoodUseCase { | ||
|
||
fun execute(): GetFoodDto | ||
|
||
data class GetFoodQuery( | ||
val name: String | ||
) | ||
} |
7 changes: 7 additions & 0 deletions
7
core/src/main/kotlin/com/core/application/port/in/dto/GetFoodDto.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,7 @@ | ||
package com.core.application.port.`in`.dto | ||
|
||
data class GetFoodDto ( | ||
val name: String, | ||
val price: Int, | ||
val description: String | ||
) |
7 changes: 7 additions & 0 deletions
7
core/src/main/kotlin/com/core/application/port/in/dto/RegisteFoodCommand.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,7 @@ | ||
package com.core.application.port.`in`.dto | ||
|
||
data class RegisteFoodCommand( | ||
val name: String, | ||
val price: Int, | ||
val description: String | ||
) |