using System; using System.Collections.Generic; using System.Linq; using System.Text; using SqlSugar; namespace JiepeiWMS.Model.Models { /// ///供应商类型表 /// [SugarTable("WMSupplierType", "Jiepei_WMS")] public class WMSupplierType { public WMSupplierType() { } /// /// 主键id /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } /// /// 供应商类型名称 /// public string SupTypeName { get; set; } /// /// 类型简称 /// public string SupTypeShortName { get; set; } /// /// 是否删除 /// public bool IsEnable { get; set; } /// /// 主体Id /// public int SysOrgId { get; set; } /// /// 父级id /// public int ParentId { get; set; } /// /// 级别标识 /// public int LevelId { get; set; } /// /// OA供应商分类Id /// public int OASupplierTypeId { get; set; } /// /// 父级数组 /// [SugarColumn(IsIgnore = true)] public List ParentIdArr { get; set; } /// /// 是否显示子节点 /// [SugarColumn(IsIgnore = true)] public bool hasChildren { get; set; } = true; } }