PersonOutput.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 人员简要输出参数
  5. /// </summary>
  6. public class PersonLiteOutput
  7. {
  8. /// <summary>
  9. /// 主键
  10. /// </summary>
  11. [Required]
  12. public int Id { get; set; }
  13. /// <summary>
  14. /// 姓名
  15. /// </summary>
  16. [Required]
  17. public string Name { get; set; }
  18. /// <summary>
  19. /// 证件类型
  20. /// </summary>
  21. [Required]
  22. public CertificateType CertificateType { get; set; }
  23. /// <summary>
  24. /// 证件号码
  25. /// </summary>
  26. public string IdNumber { get; set; }
  27. }
  28. /// <summary>
  29. /// 人员输出参数
  30. /// </summary>
  31. public class PersonOutput : PersonLiteOutput
  32. {
  33. /// <summary>
  34. /// 曾用名
  35. /// </summary>
  36. public string FormerName { get; set; }
  37. /// <summary>
  38. /// 出生日期
  39. /// </summary>
  40. public DateTime? BirthDate { get; set; }
  41. /// <summary>
  42. /// 性别
  43. /// </summary>
  44. [Required]
  45. public Gender Gender { get; set; }
  46. /// <summary>
  47. /// 手机号码
  48. /// </summary>
  49. public string Mobile { get; set; }
  50. /// <summary>
  51. /// 电子邮箱
  52. /// </summary>
  53. public string Email { get; set; }
  54. /// <summary>
  55. /// 备注
  56. /// </summary>
  57. public string Remark { get; set; }
  58. }