CustomerInfo.cs 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. using SqlSugar;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Security.Principal;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace IoTIntegrationPlatform.Model.Model
  9. {
  10. /// <summary>
  11. /// 客户信息
  12. ///</summary>
  13. [SugarTable("customer_info")]
  14. public class CustomerInfo
  15. {
  16. /// <summary>
  17. /// 客户id
  18. ///</summary>
  19. [SugarColumn(ColumnName = "customer_id", IsPrimaryKey = true, IsIdentity = true)]
  20. public int CustomerId { get; set; }
  21. /// <summary>
  22. /// 客户编号
  23. ///</summary>
  24. [SugarColumn(ColumnName = "customer_code")]
  25. public string CustomerCode { get; set; }
  26. /// <summary>
  27. /// 客户名称
  28. ///</summary>
  29. [SugarColumn(ColumnName = "customer_name")]
  30. public string CustomerName { get; set; }
  31. /// <summary>
  32. /// 客户账号
  33. ///</summary>
  34. [SugarColumn(ColumnName = "customer_account")]
  35. public string CustomerAccount { get; set; }
  36. /// <summary>
  37. /// 客户密码
  38. ///</summary>
  39. [SugarColumn(ColumnName = "customer_password")]
  40. public string CustomerPassword { get; set; }
  41. /// <summary>
  42. /// 密码加密key
  43. ///</summary>
  44. [SugarColumn(ColumnName = "secret_key")]
  45. public string SecretKey { get; set; }
  46. /// <summary>
  47. /// 客户地址
  48. ///</summary>
  49. [SugarColumn(ColumnName = "customer_address")]
  50. public string CustomerAddress { get; set; }
  51. /// <summary>
  52. /// 联系人电话
  53. ///</summary>
  54. [SugarColumn(ColumnName = "contact_name")]
  55. public string ContactName { get; set; }
  56. /// <summary>
  57. /// 联系人电话
  58. ///</summary>
  59. [SugarColumn(ColumnName = "contact_number")]
  60. public string ContactNumber { get; set; }
  61. /// <summary>
  62. /// 资质照片
  63. ///</summary>
  64. [SugarColumn(ColumnName = "aptitude_picture")]
  65. public string AptitudePicture { get; set; }
  66. /// <summary>
  67. /// 备注
  68. ///</summary>
  69. [SugarColumn(ColumnName = "remark")]
  70. public string Remark { get; set; }
  71. /// <summary>
  72. /// 创建时间
  73. ///</summary>
  74. [SugarColumn(ColumnName = "create_time")]
  75. public DateTime CreateTime { get; set; }
  76. /// <summary>
  77. /// 修改时间
  78. ///</summary>
  79. [SugarColumn(ColumnName = "update_time")]
  80. public DateTime UpdateTime { get; set; }
  81. /// <summary>
  82. /// 操作人id
  83. ///</summary>
  84. [SugarColumn(ColumnName = "operation_id")]
  85. public int OperationId { get; set; }
  86. /// <summary>
  87. /// 操作人名称
  88. ///</summary>
  89. [SugarColumn(ColumnName = "operation_name")]
  90. public string OperationName { get; set; }
  91. /// <summary>
  92. /// 是否有效 0:否 1:是
  93. ///</summary>
  94. [SugarColumn(ColumnName = "is_valid")]
  95. public bool IsValid { get; set; }
  96. }
  97. }