using YBEE.EQM.Core;
namespace YBEE.EQM.Application;
///
/// 添加监测计划输入参数
///
public class AddExamPlanInput
{
///
/// 学段:学前小初高
///
[Required]
public EducationStage EducationStage { get; set; }
///
/// 学期ID
///
[Required]
public short SemesterId { get; set; }
/////
///// 监测期间类型:期末、期中、平时
/////
//[Required]
//public ExamPeriodType ExamPeriodType { get; set; } = ExamPeriodType.NONE;
/////
///// 监测类型:学业质量、教育质量
/////
//[Required]
//public ExamType ExamType { get; set; } = ExamType.NONE;
///
/// 名称
///
[Required, StringLength(100)]
public string Name { get; set; }
///
/// 全称
///
[Required, StringLength(200)]
public string FullName { get; set; }
///
/// 简称
///
[Required, StringLength(50)]
public string ShortName { get; set; }
///
/// 备注
///
[StringLength(200)]
public string Remark { get; set; } = "";
///
/// 监测配置
///
[Required]
public string Config { get; set; } = "{}";
///
/// 监测年级
///
[Required]
public List GradeIdList { get; set; } = new();
}
///
/// 更新监测计划输入参数
///
public class UpdateExamPlanInput
{
///
/// 主键
///
[Required]
public int Id { get; set; }
///
/// 名称
///
[Required, StringLength(100)]
public string Name { get; set; }
///
/// 全称
///
[Required, StringLength(200)]
public string FullName { get; set; }
///
/// 简称
///
[Required, StringLength(50)]
public string ShortName { get; set; }
///
/// 备注
///
[StringLength(200)]
public string Remark { get; set; } = "";
///
/// 监测配置
///
[Required]
public string Config { get; set; } = "{}";
}
///
/// 分页查询监测计划输入参数
///
public class ExamPlanPageInput : PageInputBase
{
///
/// 学段:学前小初高
///
public EducationStage? EducationStage { get; set; }
///
/// 学期ID
///
public short? SemesterId { get; set; }
///
/// 名称
///
public string Name { get; set; }
///
/// 状态
///
public ExamStatus? Status { get; set; }
}