//
namespace SafeCampus.System;
///
/// 字典
///
[SugarTable("sys_dict", TableDescription = "字典表")]
[Tenant(SqlSugarConst.DB_DEFAULT)]
public class SysDict : BaseEntity
{
///
/// 父id
///
[SugarColumn(ColumnName = "ParentId", ColumnDescription = "父id")]
public virtual long ParentId { get; set; }
///
/// 字典文字
///
[SugarColumn(ColumnName = "DictLabel", ColumnDescription = "字典文字", Length = 200)]
public virtual string DictLabel { get; set; }
///
/// 字典值
///
[SugarColumn(ColumnName = "DictValue", ColumnDescription = "字典值", Length = 200)]
public virtual string DictValue { get; set; }
///
/// 分类
///
[SugarColumn(ColumnName = "Category", ColumnDescription = "分类", Length = 200)]
public virtual string Category { get; set; }
///
/// 排序码
///
[SugarColumn(ColumnName = "SortCode", ColumnDescription = "排序码")]
public int SortCode { get; set; }
///
/// 子节点
///
[SugarColumn(IsIgnore = true)]
public List Children { get; set; }
}