Quanxue.Zhanghao.Daochu/LearningOfficer.OA.Common/Dtos/SysParameter/SysParameterAddDto.cs

74 lines
1.8 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using LearningOfficer.OA.Common.Enums;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LearningOfficer.OA.Common.Dtos.SysParameter
{
public class SysParameterAddDto
{
/// <summary>
/// 备 注:父级id默认00时无父级
/// 默认值:
///</summary>
public long Pid { get; set; }
/// <summary>
/// 备 注:参数名称
/// 默认值:
///</summary>
public string PName { get; set; } = null!;
/// <summary>
/// 备 注:枚举值,不可重复,自定义 或 直接生成,后续业务关联也是关联此字段
/// 默认值:
///</summary>
public long PValue { get; set; }
/// <summary>
/// 备 注:排序默认0
/// 默认值:
///</summary>
public int Sort { get; set; }
/// <summary>
/// 备 注:是否纳入问题记录。0否1是
/// 默认值:
///</summary>
public bool IsQuestion { get; set; }
/// <summary>
/// 备 注:问题类别。0无不是问题时默认01学生、2教师
/// 默认值:
///</summary>
public QuestionType QuestionType { get; set; }
/// <summary>
/// 备 注:null为否非null为是并且值1=单选2=多选
/// 默认值:
///</summary>
public int? SelectionMode { get; set; }
/// <summary>
/// 备 注:是否必填项
/// 默认值:
///</summary>
public bool IsRequiredSelection { get; set; }
}
public class SysParameterUpdateDto : SysParameterAddDto
{
public long Id { get; set; }
}
}