using System; using System.Collections.Generic; using System.Linq; using System.Text; using SqlSugar; namespace JiepeiWMS.Model.Models { /// ///商品分类表 /// [SugarTable("WMProductClass", "Jiepei_WMS")] public class WMProductClass { public WMProductClass() { } /// /// 商品分类Id /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } /// /// 分类名称 /// public string ClassName { get; set; } /// /// 分类编码 /// public string ClassCode { get; set; } /// /// 排序 /// public int Sort { get; set; } /// /// 父级id /// public int ParentId { get; set; } /// /// 分类级别 /// public int LevelId { get; set; } /// /// 主体id /// public int SysOrgId { get; set; } /// /// 父级数组 /// [SugarColumn(IsIgnore = true)] public List ParentIdArr { get; set; } /// /// 是否显示子节点 /// [SugarColumn(IsIgnore = true)] public bool hasChildren { get; set; } = true; /// /// 所属组织 /// [SugarColumn(IsIgnore = true)] public string OrgName { get; set; } } }