package com.ypsx.yppos.http.data.bean

import com.ypsx.yppos.room.entity.PosBuyPart
import com.ypsx.yppos.room.entity.PosBuyPayment

data class OrderDetailsResponse(
    var id:String,
    var orderNo:String,
    var promotionOnSaleTotal:Double,
    var discountTotal:Double,
    var totalAmount:Double,
    var payAmount:Double,
    var changeAmount:Double,
    var roundPrice:Double,
    var posId:String,
    var einvoiceQrcodeUrl:String = "",
    var createTime:String,
    var creatorId:String,
    var creatorName:String,
    var updateTime:String,
    var buyNumber:String,
    var storeId:String,
    var type:String,
    var platformCommissionAmount:Double,
    var cashTotal:Double,
    var orderAmount:Double,
    var status:String,
    var mobile: String? = null,
    var memberId: String? = null,
    var payments:List<PosBuyPayment>,
    var coupon:CouponInfoResponse?,
    var userCouponFee:Double?,
    var userCouponCode:String?,

    var activitys:List<OrderActivityResponse>?= null,
    var deleteProducts:List<PosBuyPart>,
    var products:List<OrderProductDTO>,

)
