49 lines
1.2 KiB
C#
49 lines
1.2 KiB
C#
using SqlSugar;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace LearningOfficer.OA.Common.Dtos.SystemInfo
|
|
{
|
|
public class SysParameterOtherAddDto
|
|
{
|
|
/// <summary>
|
|
/// 备 注:父级id。0为顶级
|
|
/// 默认值:
|
|
///</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; }
|
|
|
|
}
|
|
public class SysParameterOtherUpdateDto: SysParameterOtherAddDto
|
|
{
|
|
/// <summary>
|
|
/// 主键
|
|
/// </summary>
|
|
public long Id { get; set; }
|
|
}
|
|
}
|