-
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
Showing
20 changed files
with
166 additions
and
88 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
13 changes: 13 additions & 0 deletions
13
api/src/main/kotlin/com/john/lotto/member/adapter/in/web/dto/MemberResult.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,13 @@ | ||
package com.john.lotto.member.adapter.`in`.web.dto | ||
|
||
import com.fasterxml.jackson.databind.PropertyNamingStrategies | ||
import com.fasterxml.jackson.databind.annotation.JsonNaming | ||
|
||
/** | ||
* @author yoonho | ||
* @since 2023.08.27 | ||
*/ | ||
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy::class) | ||
data class MemberResult( | ||
val userId: String? = "" | ||
) |
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
25 changes: 21 additions & 4 deletions
25
api/src/main/kotlin/com/john/lotto/number/application/dto/LottoTotalInfo.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,27 +1,44 @@ | ||
package com.john.lotto.number.application.dto | ||
|
||
import com.fasterxml.jackson.annotation.JsonFormat | ||
import com.fasterxml.jackson.databind.PropertyNamingStrategies | ||
import com.fasterxml.jackson.databind.annotation.JsonNaming | ||
import io.swagger.v3.oas.annotations.media.Schema | ||
import java.time.LocalDate | ||
|
||
/** | ||
* @author yoonho | ||
* @since 2023.07.119 | ||
*/ | ||
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy::class) | ||
data class LottoTotalInfo( | ||
@Schema(description = "당첨회차", example = "0") | ||
val drwtNo: Long? = -1L, | ||
|
||
@Schema(description = "추첨일자", example = "yyyy-MM-dd") | ||
@field:JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") | ||
val drwtDate: LocalDate? = null, | ||
@Schema(description = "당첨번호1", example = "0") | ||
val drwtNo1: Long? = -1L, | ||
@Schema(description = "당첨번호2", example = "0") | ||
val drwtNo2: Long? = -1L, | ||
@Schema(description = "당첨번호3", example = "0") | ||
val drwtNo3: Long? = -1L, | ||
@Schema(description = "당첨번호4", example = "0") | ||
val drwtNo4: Long? = -1L, | ||
@Schema(description = "당첨번호5", example = "0") | ||
val drwtNo5: Long? = -1L, | ||
@Schema(description = "당첨번호6", example = "0") | ||
val drwtNo6: Long? = -1L, | ||
@Schema(description = "보너스번호", example = "0") | ||
val bnusNo: Long? = -1L, | ||
|
||
val totSellamnt: Long? = -1L, // 총 판매금액 | ||
val firstWinamnt: Long? = -1L, // 1등 1게임당 당첨금액 | ||
val firstPrzwnerCo: Long? = -1L, // 1등 당첨게임수 | ||
val firstAccumamnt: Long? = -1L, // 1등 전체 당첨금액 | ||
@Schema(description = "총 판매금액", example = "0") | ||
val totSellAmount: Long? = -1L, // 총 판매금액 | ||
@Schema(description = "1등 1게임당 당첨금액", example = "0") | ||
val firstWinAmount: Long? = -1L, // 1등 1게임당 당첨금액 | ||
@Schema(description = "1등 당첨게임수", example = "0") | ||
val firstWinCount: Long? = -1L, // 1등 당첨게임수 | ||
@Schema(description = "1등 전체 당첨금액", example = "0") | ||
val firstTotAmount: Long? = -1L, // 1등 전체 당첨금액 | ||
) |
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: 14 additions & 0 deletions
14
api/src/main/kotlin/com/john/lotto/scrap/adatper/in/web/dto/ScrapResult.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,14 @@ | ||
package com.john.lotto.scrap.adatper.`in`.web.dto | ||
|
||
import com.fasterxml.jackson.databind.PropertyNamingStrategies | ||
import com.fasterxml.jackson.databind.annotation.JsonNaming | ||
|
||
/** | ||
* @author yoonho | ||
* @since 2023.08.27 | ||
*/ | ||
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy::class) | ||
data class ScrapResult( | ||
val userId: String? = "", | ||
val storeId: String? = "" | ||
) |
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
Oops, something went wrong.