package com.adealink.weparty.share.data

import com.google.gson.annotations.GsonNullable
import com.google.gson.annotations.SerializedName

data class QRCodeOrderReq(
    @SerializedName("skillId") val playmateId: String,
    @SerializedName("type") val type: Int, // 1:通用码下单，2:特定码下单
    @GsonNullable
    @SerializedName("purchaseQty") val purchaseQty: Int?,
)

data class QRCodeOrderData(
    @SerializedName("type") val type: Int, // 1:通用码下单，2:特定码下单
    @SerializedName("star") val star: Float, //
    @SerializedName("qrCode") val qrCode: String, //	二维码
    @SerializedName("currencyAmount") val amount: Float, //订单当前单价及数量折合法币（idr）金额
)


data class LastOrderData(
    @SerializedName("avatar") val avatar: String,
    @SerializedName("nickname") val nickname: String,
    @SerializedName("finishTime") val finishTime: Long,
    @SerializedName("bizCateGoryName") val categoryName: String,
)