Crm_CustomerCert.cs 2.3 KB

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