package com.ypsx.yppos.room.entity

import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 * 订单详情
 */
@Entity(tableName = "POS_Buy")
data class PosBuy(
    @PrimaryKey
    var id: String,
    var orderNo: String,
    var posId: String,
    var changeAmount: Double = 0.00,
    var payAmount: Double = 0.00,
    var discountTotal: Double = 0.00,
    var promotionOnSaleTotal: Double = 0.00,
    var totalAmount: Double = 0.00,
    var roundPrice: Double = 0.00,
    var type:String,
    var buyNumber:String,

    var remark: String? = null,
    var einvoiceQrcodeUrl: String = "",
    var status: String,
    var storeId: String,
    var creatorId: String? = null,
    var createTime: String? = null,
    var isUpload: Boolean = false,
    var creatorName: String? = null,
    var activitys: String? = null,
    var mobile: String? = null,
    var memberId: String? = null
)
