ExamTeacherCourseOutput.cs 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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 SysOrgBranch { get; set; }
  78. /// <summary>
  79. /// 监测年级
  80. /// </summary>
  81. public ExamGradeOutput ExamGrade { get; set; }
  82. /// <summary>
  83. /// 科目
  84. /// </summary>
  85. public CourseOutput Course { get; set; }
  86. }
  87. /// <summary>
  88. /// 批量导入监测教师任教科目输入参数
  89. /// </summary>
  90. public class UploadExamTeacherCourseOutput : UploadExamDataBase
  91. {
  92. /// <summary>
  93. /// 姓名
  94. /// </summary>
  95. [Required]
  96. public string Name { get; set; }
  97. /// <summary>
  98. /// 证件类型
  99. /// </summary>
  100. [Required]
  101. public CertificateType CertificateType { get; set; }
  102. /// <summary>
  103. /// 证件类型名称
  104. /// </summary>
  105. public string CertificateTypeName { get; set; } = "";
  106. /// <summary>
  107. /// 证件号码
  108. /// </summary>
  109. public string IdNumber { get; set; } = "";
  110. /// <summary>
  111. /// 科目ID
  112. /// </summary>
  113. public short? CourseId { get; set; }
  114. /// <summary>
  115. /// 科目名称
  116. /// </summary>
  117. public string CourseName { get; set; } = "";
  118. /// <summary>
  119. /// 监测年级ID
  120. /// </summary>
  121. public int? ExamGradeId { get; set; }
  122. /// <summary>
  123. /// 年级ID
  124. /// </summary>
  125. public short? GradeId { get; set; }
  126. /// <summary>
  127. /// 班级号
  128. /// </summary>
  129. public short? ClassNumber { get; set; }
  130. /// <summary>
  131. /// 备注
  132. /// </summary>
  133. public string Remark { get; set; }
  134. }