CarDataDto.cs 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  1. using OASystem.Domain.Attributes;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Text.RegularExpressions;
  7. using System.Threading.Tasks;
  8. namespace OASystem.Domain.Dtos.Resource
  9. {
  10. public class QueryCarDataDto:DtoBase
  11. {
  12. /// <summary>
  13. /// 单位名称
  14. /// </summary>
  15. public string UnitName { get; set; }
  16. /// <summary>
  17. /// 单位区域
  18. /// </summary>
  19. public string UnitArea { get; set; }
  20. /// <summary>
  21. /// 联系人
  22. /// </summary>
  23. public string Contact { get; set; }
  24. /// <summary>
  25. /// 联系人手机号
  26. /// </summary>
  27. public string ContactTel { get; set; }
  28. }
  29. public class QueryCarDataDetailDto : PortDtoBase
  30. {
  31. public int Id { get; set; }
  32. }
  33. /// <summary>
  34. /// 添加车公司数据参数
  35. /// </summary>
  36. public class AddCarDataDto
  37. {
  38. /// <summary>
  39. /// 区域
  40. /// </summary>
  41. public string UnitArea { get; set; }
  42. /// <summary>
  43. /// 公司名称
  44. /// </summary>
  45. public string UnitName { get; set; }
  46. /// <summary>
  47. /// 地址
  48. /// </summary>
  49. public string Address { get; set; }
  50. /// <summary>
  51. /// 联系人
  52. /// </summary>
  53. public string Contact { get; set; }
  54. /// <summary>
  55. /// 联系人手机号
  56. /// </summary>
  57. public string ContactTel { get; set; }
  58. /// <summary>
  59. /// 联系人邮箱
  60. /// </summary>
  61. public string ContactEmail { get; set; }
  62. /// <summary>
  63. /// 联系人传真
  64. /// </summary>
  65. public string ContactFax { get; set; }
  66. /// <summary>
  67. /// 车描述
  68. /// </summary>
  69. public string CarDes { get; set; }
  70. /// <summary>
  71. /// 车图片路径
  72. /// 存储多个 使用/r/n
  73. /// </summary>
  74. public string CarPicPaths { get; set; }
  75. /// <summary>
  76. /// 其他信息
  77. /// </summary>
  78. public string OtherInfo { get; set; }
  79. /// <summary>
  80. /// 服务评分
  81. /// </summary>
  82. public int Score { get; set; }
  83. /// <summary>
  84. /// 相关的车辆资质
  85. /// A B C 选择
  86. /// </summary>
  87. public string QualificationScore { get; set; }
  88. /// <summary>
  89. /// 车辆2-4年新,VIP及以上需要2年新
  90. /// A B C 选择
  91. /// </summary>
  92. public string CarAgeScore { get; set; }
  93. /// <summary>
  94. /// 车身干净,无文字图片等
  95. /// A B C 选择
  96. /// </summary>
  97. public string CleanImgScore { get; set; }
  98. /// <summary>
  99. /// 车内整洁、无异味
  100. /// A B C 选择
  101. /// </summary>
  102. public string SmellScore { get; set; }
  103. /// <summary>
  104. /// 提前备水,纸巾等
  105. /// A B C 选择
  106. /// </summary>
  107. public string WaterPaperScore { get; set; }
  108. /// <summary>
  109. /// 车辆配置高(皮座椅等)
  110. /// A B C 选择
  111. /// </summary>
  112. public string HardwareScore { get; set; }
  113. /// <summary>
  114. /// 时间概念强
  115. /// A B C 选择
  116. /// </summary>
  117. public string TimeScore { get; set; }
  118. /// <summary>
  119. /// 安全意识高
  120. /// A B C 选择
  121. /// </summary>
  122. public string SafetyScore { get; set; }
  123. /// <summary>
  124. /// 司机驾龄时间长,提前熟悉路线
  125. /// A B C 选择
  126. /// </summary>
  127. public string DrivingAgeScore { get; set; }
  128. /// <summary>
  129. /// 创建者Id
  130. /// </summary>
  131. public int CreateUserId { get; set; }
  132. /// <summary>
  133. /// 备注
  134. /// </summary>
  135. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(500)")]
  136. public string Remark { get; set; }
  137. }
  138. /// <summary>
  139. /// 修改车公司数据参数
  140. /// </summary>
  141. public class UpCarDataDto
  142. {
  143. /// <summary>
  144. /// Id
  145. /// </summary>
  146. public int Id { get; set; }
  147. /// <summary>
  148. /// 区域
  149. /// </summary>
  150. [Encrypted]
  151. public string UnitArea { get; set; }
  152. /// <summary>
  153. /// 公司名称
  154. /// </summary>
  155. [Encrypted]
  156. public string UnitName { get; set; }
  157. /// <summary>
  158. /// 地址
  159. /// </summary>
  160. [Encrypted]
  161. public string Address { get; set; }
  162. /// <summary>
  163. /// 联系人
  164. /// </summary>
  165. [Encrypted]
  166. public string Contact { get; set; }
  167. /// <summary>
  168. /// 联系方式
  169. /// </summary>
  170. [Encrypted]
  171. public string ContactTel { get; set; }
  172. /// <summary>
  173. /// 联系人邮箱
  174. /// </summary>
  175. [Encrypted]
  176. public string ContactEmail { get; set; }
  177. /// <summary>
  178. /// 联系人传真
  179. /// </summary>
  180. [Encrypted]
  181. public string ContactFax { get; set; }
  182. /// <summary>
  183. /// 车描述
  184. /// </summary>
  185. [Encrypted]
  186. public string CarDes { get; set; }
  187. /// <summary>
  188. /// 车图片路径
  189. /// 存储多个 使用/r/n
  190. /// </summary>
  191. [Encrypted]
  192. public string CarPicPaths { get; set; }
  193. /// <summary>
  194. /// 其他信息
  195. /// </summary>
  196. [Encrypted]
  197. public string OtherInfo { get; set; }
  198. /// <summary>
  199. /// 服务评分
  200. /// </summary>
  201. public int Score { get; set; }
  202. /// <summary>
  203. /// 相关的车辆资质
  204. /// A B C 选择
  205. /// </summary>
  206. [Encrypted]
  207. public string QualificationScore { get; set; }
  208. /// <summary>
  209. /// 车辆2-4年新,VIP及以上需要2年新
  210. /// A B C 选择
  211. /// </summary>
  212. [Encrypted]
  213. public string CarAgeScore { get; set; }
  214. /// <summary>
  215. /// 车身干净,无文字图片等
  216. /// A B C 选择
  217. /// </summary>
  218. [Encrypted]
  219. public string CleanImgScore { get; set; }
  220. /// <summary>
  221. /// 车内整洁、无异味
  222. /// A B C 选择
  223. /// </summary>
  224. [Encrypted]
  225. public string SmellScore { get; set; }
  226. /// <summary>
  227. /// 提前备水,纸巾等
  228. /// A B C 选择
  229. /// </summary>
  230. [Encrypted]
  231. public string WaterPaperScore { get; set; }
  232. /// <summary>
  233. /// 车辆配置高(皮座椅等)
  234. /// A B C 选择
  235. /// </summary>
  236. [Encrypted]
  237. public string HardwareScore { get; set; }
  238. /// <summary>
  239. /// 时间概念强
  240. /// A B C 选择
  241. /// </summary>
  242. [Encrypted]
  243. public string TimeScore { get; set; }
  244. /// <summary>
  245. /// 安全意识高
  246. /// A B C 选择
  247. /// </summary>
  248. [Encrypted]
  249. public string SafetyScore { get; set; }
  250. /// <summary>
  251. /// 司机驾龄时间长,提前熟悉路线
  252. /// A B C 选择
  253. /// </summary>
  254. [Encrypted]
  255. public string DrivingAgeScore { get; set; }
  256. /// <summary>
  257. /// 备注
  258. /// </summary>
  259. [Encrypted]
  260. public string Remark { get; set; }
  261. }
  262. public class DelCarDataDto
  263. {
  264. /// <summary>
  265. /// 删除Id
  266. /// </summary>
  267. public int Id { get; set; }
  268. /// <summary>
  269. /// 删除人Id
  270. /// </summary>
  271. public int DeleteUserId { get; set; }
  272. }
  273. }