ExamGradeInput.cs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 添加监测年级输入参数
  5. /// </summary>
  6. public class AddExamGradeInput
  7. {
  8. /// <summary>
  9. /// 监测计划ID
  10. /// </summary>
  11. [Required]
  12. public int ExamPlanId { get; set; }
  13. /// <summary>
  14. /// 年级ID
  15. /// </summary>
  16. [Required]
  17. public short GradeId { get; set; }
  18. /// <summary>
  19. /// 年份(级)
  20. /// </summary>
  21. [Required]
  22. public short GradeBeginYear { get; set; }
  23. /// <summary>
  24. /// 年份(届)
  25. /// </summary>
  26. [Required]
  27. public short GradeEndYear { get; set; }
  28. /// <summary>
  29. /// 学段
  30. /// </summary>
  31. [Required]
  32. public EducationStage EducationStage { get; set; }
  33. /// <summary>
  34. /// 学制
  35. /// </summary>
  36. [Required]
  37. public short EducationYears { get; set; }
  38. }
  39. /// <summary>
  40. /// 添加监测年级输入参数
  41. /// </summary>
  42. public class AddExamGradeListInput
  43. {
  44. /// <summary>
  45. /// 监测计划ID
  46. /// </summary>
  47. [Required]
  48. public int ExamPlanId { get; set; }
  49. /// <summary>
  50. /// 年级ID列表
  51. /// </summary>
  52. [Required]
  53. public List<AddExamGradeInput> GradeList { get; set; }
  54. }
  55. /// <summary>
  56. /// 删除监测年级输入参数
  57. /// </summary>
  58. public class DelExamGradeInput
  59. {
  60. /// <summary>
  61. /// ID列表
  62. /// </summary>
  63. [Required]
  64. public List<int> IdList { get; set; }
  65. }