ExamTeacherCourseOutput.cs 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 监测教师任教科目输出参数
  5. /// </summary>
  6. public class ExamTeacherCourseOutput
  7. {
  8. /// <summary>
  9. /// 主键
  10. /// </summary>
  11. [Required]
  12. public int Id { get; set; }
  13. /// <summary>
  14. /// 监测计划ID
  15. /// </summary>
  16. [Required]
  17. public int ExamPlanId { get; set; }
  18. /// <summary>
  19. /// 机构ID
  20. /// </summary>
  21. [Required]
  22. public short SysOrgId { get; set; }
  23. /// <summary>
  24. /// 校区ID
  25. /// </summary>
  26. public short? SysOrgBranchId { get; set; }
  27. /// <summary>
  28. /// 姓名
  29. /// </summary>
  30. [Required]
  31. public string Name { get; set; }
  32. /// <summary>
  33. /// 证件类型
  34. /// </summary>
  35. [Required]
  36. public CertificateType CertificateType { get; set; }
  37. /// <summary>
  38. /// 证件号码
  39. /// </summary>
  40. public string IdNumber { get; set; }
  41. /// <summary>
  42. /// 监测年级ID
  43. /// </summary>
  44. [Required]
  45. public short ExamGradeId { get; set; }
  46. /// <summary>
  47. /// 年级ID
  48. /// </summary>
  49. [Required]
  50. public short GradeId { get; set; }
  51. /// <summary>
  52. /// 班级ID
  53. /// </summary>
  54. [Required]
  55. public long SchoolClassId { get; set; }
  56. /// <summary>
  57. /// 班号
  58. /// </summary>
  59. [Required]
  60. public short ClassNumber { get; set; }
  61. /// <summary>
  62. /// 科目ID
  63. /// </summary>
  64. [Required]
  65. public short CourseId { get; set; }
  66. /// <summary>
  67. /// 备注
  68. /// </summary>
  69. public string Remark { get; set; }
  70. /// <summary>
  71. /// 班级
  72. /// </summary>
  73. public SchoolClassLiteOutput SchoolClass { get; set; }
  74. /// <summary>
  75. /// 机构
  76. /// </summary>
  77. public SysOrgLiteOutput SysOrg { get; set; }
  78. /// <summary>
  79. /// 校区
  80. /// </summary>
  81. public SysOrgLiteOutput SysOrgBranch { get; set; }
  82. /// <summary>
  83. /// 监测年级
  84. /// </summary>
  85. public ExamGradeOutput ExamGrade { get; set; }
  86. /// <summary>
  87. /// 科目
  88. /// </summary>
  89. public CourseOutput Course { get; set; }
  90. }
  91. /// <summary>
  92. /// 批量导入监测教师任教科目输入参数
  93. /// </summary>
  94. public class UploadExamTeacherCourseOutput : UploadExamDataBase
  95. {
  96. /// <summary>
  97. /// 姓名
  98. /// </summary>
  99. [Required]
  100. public string Name { get; set; }
  101. /// <summary>
  102. /// 证件类型
  103. /// </summary>
  104. [Required]
  105. public CertificateType CertificateType { get; set; }
  106. /// <summary>
  107. /// 证件类型名称
  108. /// </summary>
  109. public string CertificateTypeName { get; set; } = "";
  110. /// <summary>
  111. /// 证件号码
  112. /// </summary>
  113. public string IdNumber { get; set; } = "";
  114. /// <summary>
  115. /// 科目ID
  116. /// </summary>
  117. public short? CourseId { get; set; }
  118. /// <summary>
  119. /// 科目名称
  120. /// </summary>
  121. public string CourseName { get; set; } = "";
  122. /// <summary>
  123. /// 监测年级ID
  124. /// </summary>
  125. public int? ExamGradeId { get; set; }
  126. /// <summary>
  127. /// 年级ID
  128. /// </summary>
  129. public short? GradeId { get; set; }
  130. /// <summary>
  131. /// 班级号
  132. /// </summary>
  133. public short? ClassNumber { get; set; }
  134. /// <summary>
  135. /// 备注
  136. /// </summary>
  137. public string Remark { get; set; }
  138. }