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