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