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