Crm_CustomerCert.cs 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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.Entities.Customer
  7. {
  8. /// <summary>
  9. /// 客户证件表
  10. /// </summary>
  11. [SugarTable("Crm_CustomerCert")]
  12. public class Crm_CustomerCert:EntityBase
  13. {
  14. /// <summary>
  15. /// 客户信息表Id
  16. /// </summary>
  17. [SugarColumn(IsNullable =true,ColumnDataType ="int")]
  18. public int DcId { get; set; }
  19. /// <summary>
  20. /// 证件类型表Id
  21. /// </summary>
  22. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  23. public int SdId { get; set; }
  24. /// <summary>
  25. /// 护照类型 Id(数据类型表Id)
  26. /// SdId == 74 该字段有值
  27. /// </summary>
  28. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  29. public int PassportType { get; set; } = 0;
  30. /// <summary>
  31. /// 证件号
  32. /// </summary>
  33. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(30)")]
  34. public string CertNo { get; set; }
  35. /// <summary>
  36. /// 签发国
  37. /// </summary>
  38. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  39. public string Country { get; set; }
  40. /// <summary>
  41. /// 签发地区
  42. /// </summary>
  43. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  44. public string Area { get; set; }
  45. /// <summary>
  46. /// 目的地国家
  47. /// </summary>
  48. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  49. public string TargetCountry { get; set; }
  50. /// <summary>
  51. /// 有效期起始时间
  52. /// </summary>
  53. [SugarColumn(IsNullable = true, ColumnDataType = "DateTime")]
  54. public DateTime? IssueDt { get; set; } = null;
  55. /// <summary>
  56. /// 有效期截止时间
  57. /// </summary>
  58. [SugarColumn(IsNullable = true, ColumnDataType = "DateTime")]
  59. public DateTime? ExpiryDt { get; set; } = null;
  60. /// <summary>
  61. /// 身份证户籍地址
  62. /// </summary>
  63. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(100)")]
  64. public string IDCardAddress { get; set; }
  65. }
  66. }