ExamPaperOutput.cs 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 试卷简要输出参数
  5. /// </summary>
  6. public class ExamPaperLiteOutput : DEntityOutput
  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 int ExamCourseId { 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 string Name { get; set; }
  38. /// <summary>
  39. /// 总分
  40. /// </summary>
  41. [Required]
  42. public decimal Score { get; set; }
  43. /// <summary>
  44. /// 备注
  45. /// </summary>
  46. public string Remark { get; set; }
  47. /// <summary>
  48. /// 问题
  49. /// </summary>
  50. public string Questions { get; set; }
  51. /// <summary>
  52. /// 建议
  53. /// </summary>
  54. public string Suggestions { get; set; }
  55. /// <summary>
  56. /// 双向细目表编制状态
  57. /// </summary>
  58. [Required]
  59. public AuditStatus TwclStatus { get; set; } = AuditStatus.UNSUBMIT;
  60. /// <summary>
  61. /// 双向细目表编制是否已提交
  62. /// </summary>
  63. public bool TwclSubmitted { get; set; } = false;
  64. /// <summary>
  65. /// 双向细目表编制审核记录
  66. /// </summary>
  67. public List<AuditItem> TwclAuditList { get; set; } = new();
  68. /// <summary>
  69. /// 双向细目表编制人用户ID
  70. /// </summary>
  71. public int? TwclSysUserId { get; set; }
  72. /// <summary>
  73. /// 问题建议撰写状态
  74. /// </summary>
  75. [Required]
  76. public AuditStatus SuggestionStatus { get; set; } = AuditStatus.UNSUBMIT;
  77. /// <summary>
  78. /// 问题建议是否已提交
  79. /// </summary>
  80. public bool SuggestionSubmitted { get; set; } = false;
  81. /// <summary>
  82. /// 问题建议撰写审核记录
  83. /// </summary>
  84. public List<AuditItem> SuggestionAuditList { get; set; } = new();
  85. /// <summary>
  86. /// 问题建议撰写人用户ID
  87. /// </summary>
  88. public int? SuggestionSysUserId { get; set; }
  89. /// <summary>
  90. /// 年级
  91. /// </summary>
  92. public GradeOutput Grade { get; set; }
  93. /// <summary>
  94. /// 科目
  95. /// </summary>
  96. public CourseOutput Course { get; set; }
  97. /// <summary>
  98. /// 监测计划
  99. /// </summary>
  100. public ExamPlanLiteOutput ExamPlan { get; set; }
  101. /// <summary>
  102. /// 双向细目表编制人
  103. /// </summary>
  104. public SysUserLiteOutput TwclSysUser { get; set; }
  105. /// <summary>
  106. /// 问题建议撰写人
  107. /// </summary>
  108. public SysUserLiteOutput SuggestionSysUser { get; set; }
  109. }
  110. /// <summary>
  111. /// 试卷输出参数
  112. /// </summary>
  113. public class ExamPaperOutput : ExamPaperLiteOutput
  114. {
  115. /// <summary>
  116. /// 小题列表
  117. /// </summary>
  118. public List<ExamPaperQuestionMinorOutput> ExamPaperQuestionMinors { get; set; }
  119. }
  120. /// <summary>
  121. /// 试卷待处理监测计划输出参数
  122. /// </summary>
  123. public class ExamPaperTodoPlanOutput
  124. {
  125. /// <summary>
  126. /// 监测计划ID
  127. /// </summary>
  128. public int ExamPlanId { get; set; }
  129. /// <summary>
  130. /// 监测计划名称
  131. /// </summary>
  132. public string ExamPlanName { get; set; }
  133. /// <summary>
  134. /// 监测计划全称
  135. /// </summary>
  136. public string ExamPlanFullName { get; set; }
  137. /// <summary>
  138. /// 监测计划状态
  139. /// </summary>
  140. public ExamStatus ExamPlanStatus { get; set; }
  141. /// <summary>
  142. /// 学期ID
  143. /// </summary>
  144. public short SemsterId { get; set; }
  145. /// <summary>
  146. /// 总数量
  147. /// </summary>
  148. public int TotalCount { get; set; }
  149. /// <summary>
  150. /// 双向细目表编制已提交数量
  151. /// </summary>
  152. public int TwclUnsubmitCount { get; set; }
  153. /// <summary>
  154. /// 双向细目表编制未提交数量
  155. /// </summary>
  156. public int TwclSubmittedCount { get; set; }
  157. /// <summary>
  158. /// 问题建议撰写已提交数量
  159. /// </summary>
  160. public int SuggestionUnsubmitCount { get; set; }
  161. /// <summary>
  162. /// 问题建议撰写未提交数量
  163. /// </summary>
  164. public int SuggestionSubmittedCount { get; set; }
  165. }