ExamSampleOutput.cs 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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. /// 是否已固定监测抽样方案
  49. /// </summary>
  50. [Required]
  51. public bool IsFixedExamSample { get; set; }
  52. /// <summary>
  53. /// 学段
  54. /// </summary>
  55. [Required]
  56. public EducationStage EducationStage { get; set; }
  57. /// <summary>
  58. /// 是否选中使用的方案
  59. /// </summary>
  60. [Required]
  61. public bool IsSelected { get; set; }
  62. /// <summary>
  63. /// 选中使用时间
  64. /// </summary>
  65. public DateTime? SelectedTime { get; set; }
  66. /// <summary>
  67. /// 选中使用操作用户ID
  68. /// </summary>
  69. public int? SelectedSysUserId { get; set; }
  70. /// <summary>
  71. /// 选中使用操作用户
  72. /// </summary>
  73. public SysUserLiteOutput SelectedSysUser { get; set; }
  74. }
  75. /// <summary>
  76. /// 带监测计划的抽样方案输出参数
  77. /// </summary>
  78. public class ExamSamplePlanOutput : ExamSampleOutput
  79. {
  80. public ExamPlanOutput ExamPlan { get; set; }
  81. }
  82. /// <summary>
  83. /// 抽样数量统计输出参数
  84. /// </summary>
  85. public class ExamSampleCountOutput
  86. {
  87. /// <summary>
  88. /// 类型ID
  89. /// </summary>
  90. public int TypeId { get;set; }
  91. /// <summary>
  92. /// 类型名称
  93. /// </summary>
  94. public string TypeName { get; set; }
  95. /// <summary>
  96. /// 机构ID
  97. /// </summary>
  98. public short SysOrgId { get; set; }
  99. /// <summary>
  100. /// 机构代码
  101. /// </summary>
  102. public string SysOrgCode { get; set; }
  103. /// <summary>
  104. /// 机构名称
  105. /// </summary>
  106. public string SysOrgName { get; set; }
  107. /// <summary>
  108. /// 机构全称
  109. /// </summary>
  110. public string SysOrgFullName { get; set; }
  111. /// <summary>
  112. /// 年级ID
  113. /// </summary>
  114. public short GradeId { get; set; }
  115. /// <summary>
  116. /// 年级名称
  117. /// </summary>
  118. public string GradeName { get; set; }
  119. /// <summary>
  120. /// 班级ID
  121. /// </summary>
  122. public long SchoolClassId { get; set; }
  123. /// <summary>
  124. /// 班级号
  125. /// </summary>
  126. public short ClassNumber { get; set; }
  127. /// <summary>
  128. /// 学生总数
  129. /// </summary>
  130. public int TotalStudentCount { get; set; }
  131. /// <summary>
  132. /// 区测学生数
  133. /// </summary>
  134. public int CenterStudentCount { get; set; }
  135. /// <summary>
  136. /// 校测学生数
  137. /// </summary>
  138. public int SchoolStudentCount { get; set; }
  139. }