using System; using System.Collections.Generic; using System.Linq; using SqlSugar; using LearningOfficer.OA.Core.Entities; namespace LearningOfficer.OA.Core.Entities.OA.SystemInfo { /// /// 除开任务的其他信息字典表 /// [SugarTable("sys_parameter_other")] public class SysParameterOther : BaseEntity { /// /// 备 注:父级id。0为顶级 对应p_value /// 默认值: /// [SugarColumn(ColumnName = "pid")] public long Pid { get; set; } /// /// 备 注:参数名称 /// 默认值: /// [SugarColumn(ColumnName = "p_name")] public string PName { get; set; } = null!; /// /// 备 注:枚举值 /// 默认值: /// [SugarColumn(ColumnName = "p_value")] public long PValue { get; set; } /// /// 备 注:排序 /// 默认值: /// [SugarColumn(ColumnName = "sort")] public int Sort { get; set; } /// /// 下级 /// [SugarColumn(IsIgnore = true)] public List Child { get; set; } /// /// 父级信息 /// [SugarColumn(IsIgnore = true)] public SysParameterOther Parent { get; set; } } }