123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- using SqlSugar;
- using System.ComponentModel;
- using XF.Domain.Repository;
- namespace Hotline.Settings
- {
- [Description("字典表")]
- public class SystemDicData : 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; }
- }
- }
|