You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

116 lines
3.0 KiB

  1. using System;
  2. using System.Linq;
  3. using System.Text;
  4. using SqlSugar;
  5. namespace Entity.Sugar
  6. {
  7. ///<summary>
  8. ///
  9. ///</summary>
  10. [SugarTable("SETB_CRM_Contact")]
  11. public partial class SETB_CRM_Contact : ModelContext
  12. {
  13. public SETB_CRM_Contact()
  14. {
  15. }
  16. /// <summary>
  17. /// Desc:
  18. /// Default:
  19. /// Nullable:False
  20. /// </summary>
  21. [SugarColumn(IsPrimaryKey = true)]
  22. public string ContactID { get; set; }
  23. public const string CN_CONTACTID = "ContactID";
  24. /// <summary>
  25. /// Desc:
  26. /// Default:
  27. /// Nullable:True
  28. /// </summary>
  29. public string Account { get; set; }
  30. public const string CN_ACCOUNT = "Account";
  31. /// <summary>
  32. /// Desc:
  33. /// Default:
  34. /// Nullable:True
  35. /// </summary>
  36. public string Title { get; set; }
  37. public const string CN_TITLE = "Title";
  38. /// <summary>
  39. /// Desc:
  40. /// Default:
  41. /// Nullable:True
  42. /// </summary>
  43. public string FirstName { get; set; }
  44. public const string CN_FIRSTNAME = "FirstName";
  45. /// <summary>
  46. /// Desc:
  47. /// Default:
  48. /// Nullable:True
  49. /// </summary>
  50. public string LastName { get; set; }
  51. public const string CN_LASTNAME = "LastName";
  52. /// <summary>
  53. /// Desc:
  54. /// Default:
  55. /// Nullable:True
  56. /// </summary>
  57. public string Email { get; set; }
  58. public const string CN_EMAIL = "Email";
  59. /// <summary>
  60. /// Desc:
  61. /// Default:
  62. /// Nullable:True
  63. /// </summary>
  64. public string PhoneCountryCode { get; set; }
  65. public const string CN_PHOMECOUNTRYCODE = "PhoneCountryCode";
  66. /// <summary>
  67. /// Desc:
  68. /// Default:
  69. /// Nullable:True
  70. /// </summary>
  71. public string PhoneNo { get; set; }
  72. public const string CN_PHONENO = "PhoneNo";
  73. /// <summary>
  74. /// Desc:
  75. /// Default:
  76. /// Nullable:True
  77. /// </summary>
  78. public string FaxNo { get; set; }
  79. public const string CN_FAXNO = "FaxNo";
  80. /// <summary>
  81. /// Desc:
  82. /// Default:
  83. /// Nullable:True
  84. /// </summary>
  85. public string AddressID { get; set; }
  86. public const string CN_ADDRESSID = "AddressID";
  87. /// <summary>
  88. /// Desc:
  89. /// Default:
  90. /// Nullable:True
  91. /// </summary>
  92. public int? OrderByValue { get; set; }
  93. public const string CN_ORDERBYVALUE = "OrderByValue";
  94. /// <summary>
  95. /// Desc:
  96. /// Default:
  97. /// Nullable:False
  98. /// </summary>
  99. //[SugarColumn(IsIdentity = true)]
  100. public string OrgID { get; set; }
  101. public const string CN_ORGID = "OrgID";
  102. }
  103. }