using SqlSugar; namespace ZR.Model.System { /// /// 字典类型表 /// [SugarTable("sys_dict_type", "字典类型表")] [SugarIndex("index_dict_type", nameof(DictType), OrderByType.Asc, true)] [Tenant("0")] public class SysDictType : SysBase { /// /// 字典主键 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] public long DictId { get; set; } /// /// 字典名称 /// [SugarColumn(Length = 100, ExtendedAttribute = ProteryConstant.NOTNULL)] public string DictName { get; set; } /// /// 字典类型 /// [SugarColumn(Length = 100, ExtendedAttribute = ProteryConstant.NOTNULL)] public string DictType { get; set; } /// /// 状态 0、正常 1、停用 /// [SugarColumn(Length = 1, DefaultValue = "0")] public string Status { get; set; } /// /// 系统内置 Y是 N否 /// [SugarColumn(Length = 1, DefaultValue = "N")] public string Type { get; set; } /// /// 自定义sql /// public string CustomSql { get; set; } } }