크리에이터 관리자
- 커뮤니티 게시물 정산 API 추가
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package kr.co.vividnext.sodalive.admin.calculate
|
||||
|
||||
import com.querydsl.core.annotations.QueryProjection
|
||||
|
||||
data class GetCalculateCommunityPostQueryData @QueryProjection constructor(
|
||||
val nickname: String,
|
||||
val title: String,
|
||||
val date: String,
|
||||
val numberOfPurchase: Long,
|
||||
val totalCan: Int
|
||||
)
|
@@ -0,0 +1,16 @@
|
||||
package kr.co.vividnext.sodalive.admin.calculate
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty
|
||||
|
||||
data class GetCalculateCommunityPostResponse(
|
||||
@JsonProperty("nickname") val nickname: String,
|
||||
@JsonProperty("title") val title: String,
|
||||
@JsonProperty("date") val date: String,
|
||||
@JsonProperty("numberOfPurchase") val numberOfPurchase: 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