using YBEE.EQM.Core;
namespace YBEE.EQM.Application;
///
/// 添加监测年级输入参数
///
public class AddExamGradeInput
{
///
/// 监测计划ID
///
[Required]
public int ExamPlanId { get; set; }
///
/// 年级ID
///
[Required]
public short GradeId { get; set; }
///
/// 年份(级)
///
[Required]
public short GradeBeginYear { get; set; }
///
/// 年份(届)
///
[Required]
public short GradeEndYear { get; set; }
///
/// 学段
///
[Required]
public EducationStage EducationStage { get; set; }
///
/// 学制
///
[Required]
public short EducationYears { get; set; }
}
///
/// 添加监测年级输入参数
///
public class AddExamGradeListInput
{
///
/// 监测计划ID
///
[Required]
public int ExamPlanId { get; set; }
///
/// 年级ID列表
///
[Required]
public List GradeList { get; set; }
}
///
/// 删除监测年级输入参数
///
public class DelExamGradeInput
{
///
/// ID列表
///
[Required]
public List IdList { get; set; }
}
///
/// 监测年级配置
///
public class ExamGradeSettingInput : BaseId
{
///
/// 是否需要自编监测号
///
[Required]
public bool IsRequiredSelfExamNumber { get; set; }
///
/// 自编监测号长度
///
[Required]
public short SelfExamNumberLength { get; set; }
///
/// 是否需要抽样
///
[Required]
public bool IsRequiredSample { get; set; }
///
/// 备注
///
[StringLength(200)]
public string Remark { get; set; } = "";
}