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