ExamSampleStudentInput.cs 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 向抽样方案中添加抽样学生
  5. /// </summary>
  6. public class AddExamSampleStudentInput
  7. {
  8. /// <summary>
  9. /// 抽样方案ID
  10. /// </summary>
  11. [Required]
  12. public int ExamSampleId { get; set; }
  13. /// <summary>
  14. /// 监测样本学生ID
  15. /// </summary>
  16. [Required]
  17. public long ExamStudentId { get; set; }
  18. /// <summary>
  19. /// 监测号
  20. /// </summary>
  21. [Required, StringLength(20)]
  22. public string ExamNumber { get; set; } = "";
  23. /// <summary>
  24. /// 序号
  25. /// </summary>
  26. [Required]
  27. public int Sequence { get; set; } = 0;
  28. /// <summary>
  29. /// 监测抽样类型
  30. /// </summary>
  31. [Required]
  32. public ExamSampleType ExamSampleType { get; set; } = ExamSampleType.SCHOOL_EXAM;
  33. /// <summary>
  34. /// 是否为特殊学生
  35. /// </summary>
  36. [Required]
  37. public bool IsSpecialStudent { get; set; } = false;
  38. /// <summary>
  39. /// 前期总成绩
  40. /// </summary>
  41. [Required]
  42. public decimal PreTotalScore { get; set; } = 0;
  43. }
  44. /// <summary>
  45. /// 分页查询抽样学生
  46. /// </summary>
  47. public class ExamSampleStudentPageInput : PageInputBase
  48. {
  49. /// <summary>
  50. /// 监测抽样ID
  51. /// </summary>
  52. [Required]
  53. public int ExamSampleId { get; set; }
  54. /// <summary>
  55. /// 年级ID
  56. /// </summary>
  57. public short? GradeId { get; set; }
  58. /// <summary>
  59. /// 班级ID
  60. /// </summary>
  61. public short? ClassNumber { get; set; }
  62. /// <summary>
  63. /// 学生姓名
  64. /// </summary>
  65. public string Name { get; set; }
  66. /// <summary>
  67. /// 证件类型
  68. /// </summary>
  69. public CertificateType? CertificateType { get; set; }
  70. /// <summary>
  71. /// 证件号码
  72. /// </summary>
  73. public string IdNumber { get; set; }
  74. /// <summary>
  75. /// 监测号
  76. /// </summary>
  77. public string ExamNumber { get; set; }
  78. /// <summary>
  79. /// 校区ID
  80. /// </summary>
  81. public short? SysOrgBranchId { get; set; }
  82. /// <summary>
  83. /// 抽样类型
  84. /// </summary>
  85. public ExamSampleType? ExamSampleType { get; set;}
  86. }
  87. /// <summary>
  88. /// 查询监测学生信息输入参数
  89. /// </summary>
  90. public class QueryExamSampleStudentInput
  91. {
  92. /// <summary>
  93. /// 监测计划ID
  94. /// </summary>
  95. [Required]
  96. public int ExamPlanId { get; set; }
  97. /// <summary>
  98. /// 监测年级ID
  99. /// </summary>
  100. [Required]
  101. public int ExamGradeId { get; set; }
  102. /// <summary>
  103. /// 校区ID
  104. /// </summary>
  105. public short? SysOrgBranchId { get; set; }
  106. /// <summary>
  107. /// 班号
  108. /// </summary>
  109. [Required]
  110. public short ClassNumber { get; set; }
  111. /// <summary>
  112. /// 监测号
  113. /// </summary>
  114. [Required, StringLength(20)]
  115. public string ExamNumber { get; set; }
  116. }