IDCardOCRView.cs 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace OASystem.Domain.ViewModels.TencentOCR
  7. {
  8. /// <summary>
  9. /// 身份证 OCR 返回视图
  10. /// </summary>
  11. public class IDCardOCRView
  12. {
  13. /// <summary>
  14. /// 是否修改
  15. /// 签证客户人员信息
  16. /// </summary>
  17. public bool Status { get; set; }
  18. /// <summary>
  19. /// 姓名
  20. /// </summary>
  21. public string Name { get; set; }
  22. /// <summary>
  23. /// 性别
  24. /// </summary>
  25. public string Sex { get; set; }
  26. /// <summary>
  27. /// 种族
  28. /// </summary>
  29. public string Nation { get; set; }
  30. /// <summary>
  31. /// 生日
  32. /// </summary>
  33. public string Birth { get; set; }
  34. /// <summary>
  35. /// 身份证地址
  36. /// </summary>
  37. public string Address { get; set; }
  38. /// <summary>
  39. /// 身份证号码
  40. /// </summary>
  41. public string IdNum { get; set; }
  42. /// <summary>
  43. /// 签发机关
  44. /// </summary>
  45. public string Authority { get; set; }
  46. /// <summary>
  47. /// 证件有效期
  48. /// </summary>
  49. public string ValidDate { get; set; }
  50. }
  51. public class IDCardOCRAndDownUrlView : IDCardOCRView
  52. {
  53. /// <summary>
  54. /// 下载文档地址
  55. /// </summary>
  56. public string DownUrl { get; set; }
  57. }
  58. }