Merge pull request '콘텐츠 정산 - 결과값에 JsonProperty 를 추가하여 데이터 파싱이 진행 되도록 수정' (#77) from test into main

Reviewed-on: #77
This commit is contained in:
klaus 2023-11-10 13:19:06 +00:00
commit 6409b69d6c
1 changed files with 15 additions and 26 deletions

View File

@ -1,30 +1,19 @@
package kr.co.vividnext.sodalive.admin.calculate package kr.co.vividnext.sodalive.admin.calculate
import com.fasterxml.jackson.annotation.JsonProperty
data class GetCalculateContentResponse( data class GetCalculateContentResponse(
// 등록 크리에이터 닉네임 @JsonProperty("nickname") val nickname: String,
val nickname: String, @JsonProperty("title") val title: String,
// 콘텐츠 제목 @JsonProperty("registrationDate") val registrationDate: String,
val title: String, @JsonProperty("saleDate") val saleDate: String,
// 콘텐츠 등록 날짜 @JsonProperty("orderType") val orderType: String,
val registrationDate: String, @JsonProperty("orderPrice") val orderPrice: Int,
// 콘텐츠 판매 날짜 @JsonProperty("numberOfPeople") val numberOfPeople: Int,
val saleDate: String, @JsonProperty("totalCan") val totalCan: Int,
// 대여/소장 구분 @JsonProperty("totalKrw") val totalKrw: Int,
val orderType: String, @JsonProperty("paymentFee") val paymentFee: Int,
// 판매 금액(캔) @JsonProperty("settlementAmount") val settlementAmount: Int,
val orderPrice: Int, @JsonProperty("tax") val tax: Int,
// 인원 @JsonProperty("depositAmount") val depositAmount: Int
val numberOfPeople: Int,
// 합계
val totalCan: Int,
// 원화
val totalKrw: Int,
// 수수료
val paymentFee: Int,
// 정산금액
val settlementAmount: Int,
// 원천세(세금 3.3%)
val tax: Int,
// 입금액
val depositAmount: Int
) )