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_order_item")] [PrimaryKey(new string[] { "id" }, AutoIncrement = false)] public class SalesDishDetail : BaseEntity { public SalesDishDetail() { this.CreateDate = DateTime.Now; this.CreateUser = DEFAULT_SYNC_USER; this.ModifyDate = this.CreateDate; this.ModifyUser = this.CreateUser; } [Ignore] public int Index { get; set; }//查询序号 /// /// 租户编码 /// [JsonProperty(PropertyName = "tenantId")] [Column("tenantId")] public string TenantId { get; set; }// 企业编号 } }