ExamTeacherOutput.cs 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 监测教师输出参数
  5. /// </summary>
  6. public class ExamTeacherOutput
  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. /// 姓名
  25. /// </summary>
  26. [Required]
  27. public string Name { get; set; }
  28. /// <summary>
  29. /// 学校职位ID
  30. /// </summary>
  31. [Required]
  32. public SchoolJobTitle SchoolJobTitle { get; set; }
  33. /// <summary>
  34. /// 证件类型
  35. /// </summary>
  36. [Required]
  37. public CertificateType CertificateType { get; set; }
  38. /// <summary>
  39. /// 证件号码
  40. /// </summary>
  41. public string IdNumber { get; set; }
  42. /// <summary>
  43. /// 出生日期
  44. /// </summary>
  45. public DateTime? BirthDate { get; set; }
  46. /// <summary>
  47. /// 性别
  48. /// </summary>
  49. [Required]
  50. public Gender Gender { get; set; }
  51. /// <summary>
  52. /// 手机号码
  53. /// </summary>
  54. public string Mobile { get; set; }
  55. /// <summary>
  56. /// 电子邮箱
  57. /// </summary>
  58. public string Email { get; set; }
  59. /// <summary>
  60. /// 备注
  61. /// </summary>
  62. public string Remark { get; set; }
  63. }
  64. /// <summary>
  65. /// 批量导入监测教师输入参数
  66. /// </summary>
  67. public class UploadExamTeacherOutput: UploadExamDataBase
  68. {
  69. /// <summary>
  70. /// 姓名
  71. /// </summary>
  72. [Required]
  73. public string Name { get; set; }
  74. /// <summary>
  75. /// 校内职务ID
  76. /// </summary>
  77. [Required]
  78. public SchoolJobTitle SchoolJobTitle { get; set; } = SchoolJobTitle.TEACHER;
  79. /// <summary>
  80. /// 校内职务名称
  81. /// </summary>
  82. public string SchoolJobTitleName { get; set; } = "";
  83. /// <summary>
  84. /// 证件类型
  85. /// </summary>
  86. [Required]
  87. public CertificateType CertificateType { get; set; }
  88. /// <summary>
  89. /// 证件类型名称
  90. /// </summary>
  91. public string CertificateTypeName { get; set; } = "";
  92. /// <summary>
  93. /// 证件号码
  94. /// </summary>
  95. public string IdNumber { get; set; } = "";
  96. /// <summary>
  97. /// 性别
  98. /// </summary>
  99. public Gender? Gender { get; set; } = Core.Gender.UNKNOWN;
  100. /// <summary>
  101. /// 性别名称
  102. /// </summary>
  103. public string GenderName { get; set; } = "";
  104. /// <summary>
  105. /// 手机号码
  106. /// </summary>
  107. public string Mobile { get; set; }
  108. /// <summary>
  109. /// 电子邮箱
  110. /// </summary>
  111. public string Email { get; set; }
  112. /// <summary>
  113. /// 备注
  114. /// </summary>
  115. public string Remark { get; set; }
  116. }