From 06a890bc156b1ca1423ec0c79f344934da1dbe1a Mon Sep 17 00:00:00 2001 From: Klaus Date: Tue, 14 Nov 2023 01:02:51 +0900 Subject: [PATCH] =?UTF-8?q?=ED=81=AC=EB=A6=AC=EC=97=90=EC=9D=B4=ED=84=B0?= =?UTF-8?q?=20=EA=B4=80=EB=A6=AC=EC=9E=90=20-=20@JsonProperty=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../calculate/GetCalculateLiveResponse.kt | 37 ++++++++----------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/admin/calculate/GetCalculateLiveResponse.kt b/src/main/kotlin/kr/co/vividnext/sodalive/admin/calculate/GetCalculateLiveResponse.kt index e49383f..8b71d50 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/admin/calculate/GetCalculateLiveResponse.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/admin/calculate/GetCalculateLiveResponse.kt @@ -1,26 +1,19 @@ package kr.co.vividnext.sodalive.admin.calculate +import com.fasterxml.jackson.annotation.JsonProperty + data class GetCalculateLiveResponse( - val email: String, - val nickname: String, - val date: String, - val title: String, - // 유료방 입장 금액 - val entranceFee: Int, - // 캔 사용 구분 - val canUsageStr: String, - // 인원 - val numberOfPeople: Int, - // 합계 - val totalAmount: Int, - // 원화 - val totalKrw: Int, - // 결제수수료 - val paymentFee: Int, - // 정산금액 - val settlementAmount: Int, - // 원천세(세금 3.3%) - val tax: Int, - // 입금액 - val depositAmount: Int + @JsonProperty("email") val email: String, + @JsonProperty("nickname") val nickname: String, + @JsonProperty("date") val date: String, + @JsonProperty("title") val title: String, + @JsonProperty("entranceFee") val entranceFee: Int, + @JsonProperty("canUsageStr") val canUsageStr: String, + @JsonProperty("numberOfPeople") val numberOfPeople: Int, + @JsonProperty("totalAmount") val totalAmount: 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 )