Res_CarData.cs 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  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.Resource
  8. {
  9. /// <summary>
  10. /// 车公司数据源
  11. /// </summary>
  12. [SugarTable("Res_CarData")]
  13. public class Res_CarData : EntityBase
  14. {
  15. /// <summary>
  16. /// 区域
  17. /// </summary>
  18. [Encrypted]
  19. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(100)")]
  20. public string UnitArea { get; set; }
  21. /// <summary>
  22. /// 公司名称
  23. /// </summary>
  24. [Encrypted]
  25. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(300)")]
  26. public string UnitName { get; set; }
  27. /// <summary>
  28. /// 地址
  29. /// </summary>
  30. [Encrypted]
  31. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(200)")]
  32. public string Address { get; set; }
  33. /// <summary>
  34. /// 联系人
  35. /// </summary>
  36. [Encrypted]
  37. [SugarColumn(IsNullable = true,ColumnDataType = "varchar(50)")]
  38. public string Contact { get; set; }
  39. /// <summary>
  40. /// 联系人手机号
  41. /// </summary>
  42. [Encrypted]
  43. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  44. public string ContactTel { get; set; }
  45. /// <summary>
  46. /// 联系人邮箱
  47. /// </summary>
  48. [Encrypted]
  49. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  50. public string ContactEmail { get; set; }
  51. /// <summary>
  52. /// 联系人传真
  53. /// </summary>
  54. [Encrypted]
  55. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  56. public string ContactFax { get; set; }
  57. /// <summary>
  58. /// 车描述
  59. /// </summary>
  60. [Encrypted]
  61. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(200)")]
  62. public string CarDes { get; set; }
  63. /// <summary>
  64. /// 车图片路径
  65. /// 存储多个 使用/r/n
  66. /// </summary>
  67. [Encrypted]
  68. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(200)")]
  69. public string CarPicPaths { get; set; }
  70. /// <summary>
  71. /// 其他信息
  72. /// </summary>
  73. [Encrypted]
  74. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(500)")]
  75. public string OtherInfo { get; set; }
  76. /// <summary>
  77. /// 服务评分
  78. /// </summary>
  79. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  80. public int Score { get; set; }
  81. /// <summary>
  82. /// 相关的车辆资质
  83. /// A B C 选择
  84. /// </summary>
  85. [Encrypted]
  86. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  87. public string QualificationScore { get; set; }
  88. /// <summary>
  89. /// 车辆2-4年新,VIP及以上需要2年新
  90. /// A B C 选择
  91. /// </summary>
  92. [Encrypted]
  93. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  94. public string CarAgeScore { get; set; }
  95. /// <summary>
  96. /// 车身干净,无文字图片等
  97. /// A B C 选择
  98. /// </summary>
  99. [Encrypted]
  100. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  101. public string CleanImgScore { get; set; }
  102. /// <summary>
  103. /// 车内整洁、无异味
  104. /// A B C 选择
  105. /// </summary>
  106. [Encrypted]
  107. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  108. public string SmellScore { get; set; }
  109. /// <summary>
  110. /// 提前备水,纸巾等
  111. /// A B C 选择
  112. /// </summary>
  113. [Encrypted]
  114. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  115. public string WaterPaperScore { get; set; }
  116. /// <summary>
  117. /// 车辆配置高(皮座椅等)
  118. /// A B C 选择
  119. /// </summary>
  120. [Encrypted]
  121. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  122. public string HardwareScore { get; set; }
  123. /// <summary>
  124. /// 时间概念强
  125. /// A B C 选择
  126. /// </summary>
  127. [Encrypted]
  128. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  129. public string TimeScore { get; set; }
  130. /// <summary>
  131. /// 安全意识高
  132. /// A B C 选择
  133. /// </summary>
  134. [Encrypted]
  135. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  136. public string SafetyScore { get; set; }
  137. /// <summary>
  138. /// 司机驾龄时间长,提前熟悉路线
  139. /// A B C 选择
  140. /// </summary>
  141. [Encrypted]
  142. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  143. public string DrivingAgeScore { get; set; }
  144. }
  145. }