CarDataDto.cs 7.3 KB

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