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.
129 lines
3.4 KiB
C#
129 lines
3.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Newtonsoft.Json;
|
|
using NPoco;
|
|
|
|
namespace POSV.Entity
|
|
{
|
|
[Serializable]
|
|
[JsonObject(MemberSerialization.OptIn)]
|
|
[TableName("pos_log")]
|
|
[PrimaryKey(new string[] { "id" } , AutoIncrement = false)]
|
|
public class Log : BaseEntity
|
|
{
|
|
/// <summary>
|
|
/// 租户ID
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "tenantId")]
|
|
[Column("tenantId")]
|
|
public string TenantId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 门店编号
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "storeNo")]
|
|
[Column("storeNo")]
|
|
public string StoreNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// POS编号
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "posNo")]
|
|
[Column("posNo")]
|
|
public string PosNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 操作员工号
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "workerNo")]
|
|
[Column("workerNo")]
|
|
public string WorkerNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 授权人工号
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "authNo")]
|
|
[Column("authNo")]
|
|
public string AuthNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 操作功能
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "action")]
|
|
[Column("action")]
|
|
public string Action { get; set; }
|
|
|
|
/// <summary>
|
|
/// 单号
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "tradeNo")]
|
|
[Column("tradeNo")]
|
|
public string TradeNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 商品编号
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "productNo")]
|
|
[Column("productNo")]
|
|
public string ProductNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// SKU
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "specId")]
|
|
[Column("specId")]
|
|
public string SpecId { get; set; }
|
|
|
|
/// <summary>
|
|
/// SKU编码
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "amount")]
|
|
[Column("amount")]
|
|
public decimal Amount { get; set; }
|
|
|
|
/// <summary>
|
|
/// 操作说明
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "memo")]
|
|
[Column("memo")]
|
|
public string Memo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 数据上传状态
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "uploadStatus")]
|
|
[Column("uploadStatus")]
|
|
public int UploadStatus { get; set; } = -1;
|
|
|
|
/// <summary>
|
|
/// 数据上传服务端ID
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "serverId")]
|
|
[Column("serverId")]
|
|
public string ServerId { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// 扩展字段1
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "ext1")]
|
|
[Column("ext1")]
|
|
public string Ext1 { get; set; }
|
|
|
|
/// <summary>
|
|
/// 扩展字段2
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "ext2")]
|
|
[Column("ext2")]
|
|
public string Ext2 { get; set; }
|
|
|
|
/// <summary>
|
|
/// 扩展字段3
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "ext3")]
|
|
[Column("ext3")]
|
|
public string Ext3 { get; set; }
|
|
}
|
|
}
|