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 )