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_product_suitdetail")] [PrimaryKey(new string[] { "id" } , AutoIncrement = false)] public class ProductSuitDetail : BaseEntity { public ProductSuitDetail() { } /// /// 租户ID /// [JsonProperty(PropertyName = "tenantId")] [Column("tenantId")] public string TenantId { get; set; } /// /// 商品Id /// [JsonProperty(PropertyName = "suitId")] [Column("suitId")] public string SuitId { get; set; } /// /// 商品父ID /// [JsonProperty(PropertyName = "suitProductId")] [Column("suitProductId")] public string SuitProductId { get; set; } /// /// 商品Id /// [JsonProperty(PropertyName = "productId")] [Column("productId")] public string ProductId { get; set; } /// /// 规格ID /// [JsonProperty(PropertyName = "specId")] [Column("specId")] public string SpecId { get; set; } /// /// 数量 /// [JsonProperty(PropertyName = "quantity")] [Column("quantity")] public int Quantity { get; set; } /// /// 加价 /// [JsonProperty(PropertyName = "addPrice")] [Column("addPrice")] public decimal AddPrice { get; set; } /// /// 是否默认(0否1是) /// [JsonProperty(PropertyName = "defaultflag")] [Column("defaultFlag")] public int DefaultFlag { get; set; } /// /// 扩展字段1 /// [JsonProperty(PropertyName = "ext1")] [Column("ext1")] public string Ext1 { get; set; } /// /// 扩展字段2 /// [JsonProperty(PropertyName = "ext2")] [Column("ext2")] public string Ext2 { get; set; } /// /// 扩展字段3 /// [JsonProperty(PropertyName = "ext3")] [Column("ext3")] public string Ext3 { get; set; } } }