namespace ZR.Model.System { /// /// 字典数据表 /// [Tenant("0")] [SugarTable("sys_dict_data", "字典数据表")] public class SysDictData : SysBase, IMainDbEntity { /// /// 字典编码 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] public long DictCode { get; set; } /// /// 字典排序 /// public int DictSort { get; set; } /// /// 字典标签 /// [SugarColumn(Length = 100, ExtendedAttribute = ProteryConstant.NOTNULL)] public string DictLabel { get; set; } /// /// 字典键值 /// [SugarColumn(Length = 100, ExtendedAttribute = ProteryConstant.NOTNULL)] public string DictValue { get; set; } /// /// 字典类型 /// [SugarColumn(Length = 100, ExtendedAttribute = ProteryConstant.NOTNULL)] public string DictType { get; set; } /// /// 样式属性(其他样式扩展) /// [SugarColumn(Length = 100)] public string CssClass { get; set; } = string.Empty; /// /// 表格回显样式 /// [SugarColumn(Length = 100)] public string ListClass { get; set; } = string.Empty; /// /// 是否默认(Y是 N否) /// [SugarColumn(Length = 1, DefaultValue = "N")] public string IsDefault { get; set; } /// /// 状态(0正常 1停用) /// [SugarColumn(Length = 1)] public string Status { get; set; } /// /// 多语言翻译key值 /// public string LangKey { get; set; } = string.Empty; /// /// 扩展1 /// public string Extend1 { get; set; } /// /// 扩展2 /// public string Extend2 { get; set; } } }