You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

132 lines
3.4 KiB
C#

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