Merge pull request '콘텐츠 정산 - 결과값에 JsonProperty 를 추가하여 데이터 파싱이 진행 되도록 수정' (#77) from test into main
Reviewed-on: #77
This commit is contained in:
		| @@ -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 | ||||
| ) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user