ExamCourseInput.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 添加监测科目输入参数
  5. /// </summary>
  6. public class AddExamCourseInput
  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 int ExamGradeId { get; set; }
  18. /// <summary>
  19. /// 年级ID
  20. /// </summary>
  21. [Required]
  22. public short GradeId { get; set; }
  23. /// <summary>
  24. /// 科目ID
  25. /// </summary>
  26. [Required]
  27. public short CourseId { get; set; }
  28. /// <summary>
  29. /// 总分
  30. /// </summary>
  31. [Required]
  32. public decimal TotalScore { get; set; }
  33. /// <summary>
  34. /// 分数段类型
  35. /// </summary>
  36. [Required]
  37. public ExamScoreRangeType ExamScoreRangeType { get; set; }
  38. /// <summary>
  39. /// 成绩上报配置
  40. /// </summary>
  41. [Required]
  42. public ExamCourseScoreReportConfig ScoreReportConfig { get; set; }
  43. }
  44. /// <summary>
  45. /// 更新监测科目输入参数
  46. /// </summary>
  47. public class UpdateExamCourseInput : AddExamCourseInput
  48. {
  49. /// <summary>
  50. /// 主键
  51. /// </summary>
  52. [Required]
  53. public int Id { get; set; }
  54. }
  55. /// <summary>
  56. /// 查询监测年级输入参数
  57. /// </summary>
  58. public class QueryExamCourseInput
  59. {
  60. /// <summary>
  61. /// 监测计划ID
  62. /// </summary>
  63. [Required]
  64. public int ExamPlanId { get; set;}
  65. /// <summary>
  66. /// 年级ID
  67. /// </summary>
  68. public short? GradeId { get; set; }
  69. }