ExamSampleOutput.cs 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 监测方案输出参数
  5. /// </summary>
  6. public class ExamSampleOutput : DEntityOutput
  7. {
  8. /// <summary>
  9. /// 监测计划ID
  10. /// </summary>
  11. [Required]
  12. public int ExamPlanId { get; set; }
  13. /// <summary>
  14. /// 序,同一监测从1开始计数
  15. /// </summary>
  16. [Required]
  17. public short Sequence { get; set; }
  18. /// <summary>
  19. /// 名称
  20. /// </summary>
  21. [Required]
  22. public string Name { get; set; }
  23. /// <summary>
  24. /// 全称
  25. /// </summary>
  26. [Required]
  27. public string FullName { get; set; }
  28. /// <summary>
  29. /// 简称
  30. /// </summary>
  31. [Required]
  32. public string ShortName { get; set; }
  33. /// <summary>
  34. /// 备注
  35. /// </summary>
  36. public string Remark { get; set; }
  37. /// <summary>
  38. /// 状态
  39. /// </summary>
  40. [Required]
  41. public ExamSampleStatus Status { get; set; }
  42. /// <summary>
  43. /// 抽样配置
  44. /// </summary>
  45. [Required]
  46. public ExamSampleConfig Config { get; set; }
  47. /// <summary>
  48. /// 成绩引用监测计划ID
  49. /// </summary>
  50. public int? ExamScoreRefExamPlanId { get; set; }
  51. /// <summary>
  52. /// 是否已固定监测抽样方案
  53. /// </summary>
  54. [Required]
  55. public bool IsFixedExamSample { get; set; }
  56. /// <summary>
  57. /// 学段
  58. /// </summary>
  59. [Required]
  60. public EducationStage EducationStage { get; set; }
  61. /// <summary>
  62. /// 是否选中使用的方案
  63. /// </summary>
  64. [Required]
  65. public bool IsSelected { get; set; }
  66. /// <summary>
  67. /// 选中使用时间
  68. /// </summary>
  69. public DateTime? SelectedTime { get; set; }
  70. /// <summary>
  71. /// 选中使用操作用户ID
  72. /// </summary>
  73. public int? SelectedSysUserId { get; set; }
  74. /// <summary>
  75. /// 选中使用操作用户
  76. /// </summary>
  77. public SysUserLiteOutput SelectedSysUser { get; set; }
  78. /// <summary>
  79. /// 成绩引用监测计划
  80. /// </summary>
  81. public ExamPlanLiteOutput ExamScoreRefExamPlan { get; set; }
  82. }
  83. /// <summary>
  84. /// 带监测计划的抽样方案输出参数
  85. /// </summary>
  86. public class ExamSamplePlanOutput : ExamSampleOutput
  87. {
  88. public ExamPlanOutput ExamPlan { get; set; }
  89. }
  90. /// <summary>
  91. /// 抽样数量统计输出参数
  92. /// </summary>
  93. public class ExamSampleCountOutput
  94. {
  95. /// <summary>
  96. /// 类型ID
  97. /// </summary>
  98. public int TypeId { get;set; }
  99. /// <summary>
  100. /// 类型名称
  101. /// </summary>
  102. public string TypeName { get; set; }
  103. /// <summary>
  104. /// 机构ID
  105. /// </summary>
  106. public short SysOrgId { get; set; }
  107. /// <summary>
  108. /// 机构代码
  109. /// </summary>
  110. public string SysOrgCode { get; set; }
  111. /// <summary>
  112. /// 机构名称
  113. /// </summary>
  114. public string SysOrgName { get; set; }
  115. /// <summary>
  116. /// 机构全称
  117. /// </summary>
  118. public string SysOrgFullName { get; set; }
  119. /// <summary>
  120. /// 年级ID
  121. /// </summary>
  122. public short GradeId { get; set; }
  123. /// <summary>
  124. /// 年级名称
  125. /// </summary>
  126. public string GradeName { get; set; }
  127. /// <summary>
  128. /// 班级ID
  129. /// </summary>
  130. public long SchoolClassId { get; set; }
  131. /// <summary>
  132. /// 班级号
  133. /// </summary>
  134. public short ClassNumber { get; set; }
  135. /// <summary>
  136. /// 学生总数
  137. /// </summary>
  138. public int TotalStudentCount { get; set; }
  139. /// <summary>
  140. /// 区测学生数
  141. /// </summary>
  142. public int CenterStudentCount { get; set; }
  143. /// <summary>
  144. /// 校测学生数
  145. /// </summary>
  146. public int SchoolStudentCount { get; set; }
  147. }