SpecialStudentInput.cs 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 添加特殊学生输入参数
  5. /// </summary>
  6. public class AddSpecialStudentInput
  7. {
  8. /// <summary>
  9. /// 机构ID
  10. /// </summary>
  11. [Required]
  12. public int SysOrgId { get; set; }
  13. /// <summary>
  14. /// 校区ID
  15. /// </summary>
  16. public short? SysOrgBranchId { get; set; }
  17. /// <summary>
  18. /// 班级ID
  19. /// </summary>
  20. [Required]
  21. public long SchoolClassId { get; set; }
  22. /// <summary>
  23. /// 班级号
  24. /// </summary>
  25. [Required]
  26. public int ClassNumber { get; set; }
  27. /// <summary>
  28. /// 姓名
  29. /// </summary>
  30. [Required, StringLength(100)]
  31. public string Name { get; set; }
  32. /// <summary>
  33. /// 证件类型
  34. /// </summary>
  35. [Required]
  36. public CertificateType CertificateType { get; set; } = CertificateType.NONE;
  37. /// <summary>
  38. /// 证件号码
  39. /// </summary>
  40. [StringLength(50)]
  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; } = Gender.UNKNOWN;
  51. /// <summary>
  52. /// 学籍号
  53. /// </summary>
  54. [StringLength(100)]
  55. public string StudentNumber { get; set; } = "";
  56. /// <summary>
  57. /// 申请原因
  58. /// </summary>
  59. [Required, StringLength(2000)]
  60. public string ApplyReason { get; set; }
  61. /// <summary>
  62. /// 家长姓名
  63. /// </summary>
  64. [StringLength(100)]
  65. public string PatriarchName { get; set; }
  66. /// <summary>
  67. /// 家长电话
  68. /// </summary>
  69. [StringLength(100)]
  70. public string PatriarchTel { get; set; }
  71. /// <summary>
  72. /// 备注
  73. /// </summary>
  74. [StringLength(200)]
  75. public string Remark { get; set; }
  76. }