123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- using SqlSugar;
- using System.ComponentModel;
- namespace SnapshotWinFormsApp.Entities.NewHotline
- {
- [SugarTable("system_dic_data")]
- [Description("字典表")]
- public class SystemDicData : DataTransmission.Entity.FullStateEntity
- {
- /// <summary>
- /// 字典类型Id
- /// </summary>
- public string DicTypeId { get; set; }
- /// <summary>
- /// 字典类型Code
- /// </summary>
- public string DicTypeCode { get; set; }
- /// <summary>
- /// 字典名称
- /// </summary>
- public string DicDataName { get; set; }
- /// <summary>
- /// 字典值
- /// </summary>
- public string DicDataValue { get; set; }
- /// <summary>
- /// 排序
- /// </summary>
- [SugarColumn(DefaultValue = "0")]
- public int Sort { get; set; }
- /// <summary>
- /// 是否显示
- /// </summary>
- [SugarColumn(DefaultValue = "t")]
- public bool IsShow { get; set; }
- /// <summary>
- /// 上级ID
- /// </summary>
- [SugarColumn(IsNullable = true)]
- public string? ParentId { get; set; }
- [SugarColumn(IsIgnore = true)]
- public List<SystemDicData> Children { get; set; }
- /// <summary>
- /// 附加数据
- ///</summary>
- [SugarColumn(ColumnDataType = "json", IsJson = true)]
- public string? Attach { get; set; }
- }
- }
|