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

data class InsertOrderProductDTO(


    var activityPrice: Double = 0.0,
    var activitys: List<ActivityInfoDTO>? = null,
    //成交价
    var amount: Double = 0.0,
    var barCode: String,
    //礼品卡号
    var cardNumber: String? = null,
    var conversionRatio: String? = null,
    //是否是删除项
    var deleted: Boolean = false,
    //商品项优惠总金额
    var discountTotal: Double = 0.0,
    var discountPrice: Double = 0.0,
    //是否虚拟商品
    var isVirtual: Boolean = false,
    //会员价
    var memberPrice: Double = 0.0,
    //商品名称
    var name: String,
    var payApportionAmount: Double = 0.0,
    var pluLevel: String? = null,
    var price: Double,
    var quantity: Double,
    var priceType: String,
    var productId: String,
    var productNumber: String,
    var settlementPrice: Double = 0.0,
    var spec: String,
    var style: String? = null,
    //尾差 成交价/数量 保留两位小数后的余数
    var tailAmount: Int = 0,
    var unit: String,
//商家商品Id
    var merchantItemId: String? = null,
    //称重码
    var weightCode: String? = null,
    var isPromotion: Boolean = false



)
