ExamGradeOutput.cs 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 监测年级输出参数
  5. /// </summary>
  6. public class ExamGradeOutput
  7. {
  8. /// <summary>
  9. /// 主键
  10. /// </summary>
  11. [Required]
  12. public int Id { get; set; }
  13. /// <summary>
  14. /// 监测计划ID
  15. /// </summary>
  16. [Required]
  17. public int ExamPlanId { get; set; }
  18. /// <summary>
  19. /// 年级ID
  20. /// </summary>
  21. [Required]
  22. public short GradeId { get; set; }
  23. /// <summary>
  24. /// 学段
  25. /// </summary>
  26. [Required]
  27. public EducationStage EducationStage { get; set; }
  28. /// <summary>
  29. /// 学制
  30. /// </summary>
  31. [Required]
  32. public short EducationYears { get; set; }
  33. /// <summary>
  34. /// 年份(级)
  35. /// </summary>
  36. [Required]
  37. public short GradeBeginYear { get; set; }
  38. /// <summary>
  39. /// 年份(届)
  40. /// </summary>
  41. [Required]
  42. public short GradeEndYear { get; set; }
  43. /// <summary>
  44. /// 级名
  45. /// </summary>
  46. [Required]
  47. public string GradeBeginName { get { return $"{GradeBeginYear}级"; } }
  48. /// <summary>
  49. /// 届名
  50. /// </summary>
  51. [Required]
  52. public string GradeEndName { get { return $"{GradeEndYear}届"; } }
  53. /// <summary>
  54. /// 是否需要自编监测号
  55. /// </summary>
  56. [Required]
  57. public bool IsRequiredSelfExamNumber { get; set; }
  58. /// <summary>
  59. /// 自编监测号长度
  60. /// </summary>
  61. [Required]
  62. public short SelfExamNumberLength { get; set; }
  63. /// <summary>
  64. /// 是否需要抽样
  65. /// </summary>
  66. [Required]
  67. public bool IsRequiredSample { get; set; }
  68. /// <summary>
  69. /// 总分分数段类型
  70. /// </summary>
  71. public ExamScoreRangeType ExamScoreRangeType { get; set; }
  72. /// <summary>
  73. /// 备注
  74. /// </summary>
  75. public string Remark { get; set; }
  76. /// <summary>
  77. /// 年级
  78. /// </summary>
  79. [Required]
  80. public GradeOutput Grade { get; set; }
  81. /// <summary>
  82. /// 监测科目列表
  83. /// </summary>
  84. public List<ExamCourseLiteOutput> ExamCourses { get; set; }
  85. }