using Newtonsoft.Json; using NPoco; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace POSV.Entity.Stock { [Serializable] [JsonObject(MemberSerialization.OptIn)] [TableName("pos_product_type")] [PrimaryKey(new string[] { "id" }, AutoIncrement = false)] public class FoodMaterialSeriesEntity { /// /// 类别ID /// [JsonProperty(PropertyName = "id")] [Column("id")] public string Id { get; set; } /// /// 租户ID /// [JsonProperty(PropertyName = "tenantId")] [Column("tenantId")] public string TenantId { get; set; } /// /// 编号 /// [JsonProperty(PropertyName = "no")] [Column("no")] public string No { get; set; } /// /// 名称 /// [JsonProperty(PropertyName = "name")] [Column("name")] public string Name { get; set; } /// /// 父编码 /// [JsonProperty(PropertyName = "parentId")] [Column("parentId")] public string ParentId { get; set; } /// /// 父类别路径 /// [JsonProperty(PropertyName = "path")] [Column("path")] public string Path { get; set; } /// /// 品类颜色 /// [JsonProperty(PropertyName = "color")] [Column("color")] public string Color { get; set; } /// /// 商品记录总数 /// [JsonProperty(PropertyName = "products")] [Column("products")] public int Products { get; set; } } }