using Newtonsoft.Json; using NPoco; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace POSV.Entity { /// /// 交班注册表 /// [Serializable] [JsonObject(MemberSerialization.OptIn)] [TableName("pos_store_handover_detail_pay")] [PrimaryKey(new string[] { "id" }, AutoIncrement = false)] public class HandOverPay : BaseEntity { public HandOverPay() { } /// /// 租户编码 /// [JsonProperty(PropertyName = "tenantId")] [Column("tenantId")] public string TenantId{ get; set; }// 租户ID /// /// 门店ID /// [JsonProperty(PropertyName = "storeId")] [Column("storeId")] public string StoreId{ get; set; }// 门店ID /// /// 单据ID /// [JsonProperty(PropertyName = "ticketId")] [Column("ticketId")] public string TicketId{ get; set; }// 单据ID /// /// 单据编号 /// [JsonProperty(PropertyName = "busNo")] [Column("busNo")] public string BusNo{ get; set; }// 单据编号 /// /// 收银方式编号 /// [JsonProperty(PropertyName = "payModeNo")] [Column("payModeNo")] public string PayModeNo{ get; set; }// 收银方式编号 /// /// 收银方式名称 /// [JsonProperty(PropertyName = "payModeName")] [Column("payModeName")] public string PayModeName{ get; set; }// 收银方式名称 /// /// 营业模式 0-堂食1-外带2-电话外卖3-餐桌4-美团外卖5-饿了么6-百度外卖7-微信点餐 /// [JsonProperty(PropertyName = "busMode")] [Column("busMode")] public int BusMode { get; set; } = 0;// 营业模式 /// /// 业务类型 0-销售1充值 /// [JsonProperty(PropertyName = "busType")] [Column("busType")] public int BusType { get; set; } = 0;// 业务类型 /// /// 数量 /// [JsonProperty(PropertyName = "count")] [Column("count")] public int Count { get; set; } = 0;// 数量 /// /// 金额 /// [JsonProperty(PropertyName = "money")] [Column("money")] public decimal Money { get; set; } = 0.00M;// 金额 /// /// 设备名称 /// [JsonProperty(PropertyName = "deviceName")] [Column("deviceName")] public string DeviceName{ get; set; }//设备名称 /// /// 设备MAC /// [JsonProperty(PropertyName = "deviceMac")] [Column("deviceMac")] public string DeviceMac{ get; set; }// 设备MAC /// /// 设备IP /// [JsonProperty(PropertyName = "deviceIp")] [Column("deviceIp")] public string DeviceIp{ get; set; }//设备IP /// /// 交单POS /// [JsonProperty(PropertyName = "posNo")] [Column("posNo")] public string PosNo{ get; set; }// 交单POS } }