ExamCourseOutput.cs 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 监测科目简要输出参数
  5. /// </summary>
  6. public class ExamCourseLiteOutput
  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 int ExamGradeId { get; set; }
  23. /// <summary>
  24. /// 年级ID
  25. /// </summary>
  26. [Required]
  27. public short GradeId { get; set; }
  28. /// <summary>
  29. /// 科目ID
  30. /// </summary>
  31. [Required]
  32. public short CourseId { get; set; }
  33. /// <summary>
  34. /// 总分
  35. /// </summary>
  36. [Required]
  37. public decimal TotalScore { get; set; }
  38. /// <summary>
  39. /// 科目
  40. /// </summary>
  41. public CourseMiniOutput Course { get; set; }
  42. /// <summary>
  43. /// 成绩上报配置
  44. /// </summary>
  45. public ExamCourseScoreReportConfig ScoreReportConfig { get; set; }
  46. /// <summary>
  47. /// 分数段类型
  48. /// </summary>
  49. public ExamScoreRangeType ExamScoreRangeType { get; set; }
  50. }
  51. /// <summary>
  52. /// 监测科目输出参数
  53. /// </summary>
  54. public class ExamCourseOutput : DEntityOutput
  55. {
  56. /// <summary>
  57. /// 监测计划ID
  58. /// </summary>
  59. [Required]
  60. public int ExamPlanId { get; set; }
  61. /// <summary>
  62. /// 监测年级ID
  63. /// </summary>
  64. [Required]
  65. public int ExamGradeId { get; set; }
  66. /// <summary>
  67. /// 年级ID
  68. /// </summary>
  69. [Required]
  70. public short GradeId { get; set; }
  71. /// <summary>
  72. /// 科目ID
  73. /// </summary>
  74. [Required]
  75. public short CourseId { get; set; }
  76. /// <summary>
  77. /// 总分
  78. /// </summary>
  79. [Required]
  80. public decimal TotalScore { get; set; }
  81. /// <summary>
  82. /// 分数段类型
  83. /// </summary>
  84. public ExamScoreRangeType ExamScoreRangeType { get; set; }
  85. /// <summary>
  86. /// 科目
  87. /// </summary>
  88. public CourseLiteOutput Course { get; set; }
  89. /// <summary>
  90. /// 成绩上报配置
  91. /// </summary>
  92. public ExamCourseScoreReportConfig ScoreReportConfig { get; set; }
  93. /// <summary>
  94. /// 监测年级
  95. /// </summary>
  96. public ExamGradeOutput ExamGrade { get; set; }
  97. }