From 9c367b400ae1cd93e8c8e437f87791261a64ec5b Mon Sep 17 00:00:00 2001 From: Klaus Date: Fri, 10 Nov 2023 22:14:38 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BD=98=ED=85=90=EC=B8=A0=20=EC=A0=95?= =?UTF-8?q?=EC=82=B0=20-=20=EA=B2=B0=EA=B3=BC=EA=B0=92=EC=97=90=20JsonProp?= =?UTF-8?q?erty=20=EB=A5=BC=20=EC=B6=94=EA=B0=80=ED=95=98=EC=97=AC=20?= =?UTF-8?q?=EB=8D=B0=EC=9D=B4=ED=84=B0=20=ED=8C=8C=EC=8B=B1=EC=9D=B4=20?= =?UTF-8?q?=EC=A7=84=ED=96=89=20=EB=90=98=EB=8F=84=EB=A1=9D=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../calculate/GetCalculateContentResponse.kt | 41 +++++++------------ 1 file changed, 15 insertions(+), 26 deletions(-) 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 )