OmstruckOrder.java 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454
  1. package com.steerinfo.dil.model;
  2. import com.steerinfo.framework.model.IBasePO;
  3. import io.swagger.annotations.ApiModel;
  4. import io.swagger.annotations.ApiModelProperty;
  5. import java.math.BigDecimal;
  6. import java.util.Date;
  7. @ApiModel(value="汽运运输订单")
  8. public class OmstruckOrder implements IBasePO<BigDecimal> {
  9. /**
  10. * 运输订单id(ORDER_ID,DECIMAL,0)
  11. */
  12. @ApiModelProperty(value="运输订单id",required=true)
  13. private BigDecimal orderId;
  14. /**
  15. * 车序号表ID/发运计划ID/采购订单ID/内转物流计划ID/零星订单ID(ORDER_PLAN_ID,DECIMAL,0)
  16. */
  17. @ApiModelProperty(value="车序号表ID/发运计划ID/采购订单ID/内转物流计划ID/零星订单ID",required=false)
  18. private BigDecimal orderPlanId;
  19. /**
  20. * 运输订单号(WYSDD-年月日-8位数的顺序号)(ORDER_NUMBER,VARCHAR,50)
  21. */
  22. @ApiModelProperty(value="运输订单号(WYSDD-年月日-8位数的顺序号)",required=false)
  23. private String orderNumber;
  24. /**
  25. * 运力ID(CAPACITY_ID,DECIMAL,0)
  26. */
  27. @ApiModelProperty(value="运力ID",required=false)
  28. private BigDecimal capacityId;
  29. /**
  30. * 订单下发时间(ORDER_ISSUE_TIME,TIMESTAMP,7)
  31. */
  32. @ApiModelProperty(value="订单下发时间",required=false)
  33. private Date orderIssueTime;
  34. /**
  35. * 司机操作订单行为:0:拒绝;1:接收(ORDER_RECEIVE_STATUS,DECIMAL,0)
  36. */
  37. @ApiModelProperty(value="司机操作订单行为:0:拒绝;1:接收",required=false)
  38. private BigDecimal orderReceiveStatus;
  39. /**
  40. * 司机接收/拒绝订单时间(ORDER_RECEIVE_REFUSE_TIME,TIMESTAMP,7)
  41. */
  42. @ApiModelProperty(value="司机接收/拒绝订单时间",required=false)
  43. private Date orderReceiveRefuseTime;
  44. /**
  45. * 通信时长=司机接单/拒绝时间-订单下发时间(ORDER_COMMUNICATION_DURATION,DECIMAL,0)
  46. */
  47. @ApiModelProperty(value="通信时长=司机接单/拒绝时间-订单下发时间",required=false)
  48. private BigDecimal orderCommunicationDuration;
  49. /**
  50. * 运单状态 :0:待运输,1:执行中,2:已结束,3:未下发,4:已下发,5:已接收,6:已拒绝,7:逻辑删除 8: 关闭 9:退货关闭 10:不可作业(ORDER_STATUS,DECIMAL,0)
  51. */
  52. @ApiModelProperty(value="运单状态 :0:待运输,1:执行中,2:已结束,3:未下发,4:已下发,5:已接收,6:已拒绝,7:逻辑删除 8: 关闭 9:退货关闭 10:不可作业",required=false)
  53. private BigDecimal orderStatus;
  54. /**
  55. * 记录创建人(INSERT_USERNAME,VARCHAR,200)
  56. */
  57. @ApiModelProperty(value="记录创建人",required=false)
  58. private String insertUsername;
  59. /**
  60. * 记录创建时间(INSERT_TIME,TIMESTAMP,7)
  61. */
  62. @ApiModelProperty(value="记录创建时间",required=false)
  63. private Date insertTime;
  64. /**
  65. * 记录修改人(UPDATE_USERNAME,VARCHAR,20)
  66. */
  67. @ApiModelProperty(value="记录修改人",required=false)
  68. private String updateUsername;
  69. /**
  70. * 记录修改时间(UPDATE_TIME,TIMESTAMP,7)
  71. */
  72. @ApiModelProperty(value="记录修改时间",required=false)
  73. private Date updateTime;
  74. /**
  75. * 记录创建或修改备注(INSERT_UPDATE_REMARK,VARCHAR,100)
  76. */
  77. @ApiModelProperty(value="记录创建或修改备注",required=false)
  78. private String insertUpdateRemark;
  79. /**
  80. * 逻辑删除(DELETED,DECIMAL,0)
  81. */
  82. @ApiModelProperty(value="逻辑删除",required=false)
  83. private BigDecimal deleted;
  84. /**
  85. * 订单类型(1:销售订单;2:焦炭发运计划;3:水渣发运计划;4:内转到异地库;5:采购辅料订单;6:采购老区燃料订单;7:采购新区燃料订单;8:采购进口矿(万州-厂内);9:内转钢坯车 ; 10:采购内转(老区-厂内); 11:厂内内转;12:零星物资进厂、13:零星物资出厂:14:钢材退货 ;15 内转精煤进厂;16 内转精煤出厂;17 采购化工材料新区订单; 18 采购化工材料老区订单)(ORDER_TYPE,DECIMAL,0)
  86. */
  87. @ApiModelProperty(value="订单类型(1:销售订单;2:焦炭发运计划;3:水渣发运计划;4:内转到异地库;5:采购辅料订单;6:采购老区燃料订单;7:采购新区燃料订单;8:采购进口矿(万州-厂内);9:内转钢坯车 ; 10:采购内转(老区-厂内); 11:厂内内转;12:零星物资进厂、13:零星物资出厂:14:钢材退货 ;15 内转精煤进厂;16 内转精煤出厂;17 采购化工材料新区订单; 18 采购化工材料老区订单)",required=false)
  88. private BigDecimal orderType;
  89. /**
  90. * 路段顺序号:(1:进厂 ; 2:计毛;3:卸货;4:计皮;5:出厂;6:装货)(ORDER_LINE_SEQUENCE,DECIMAL,0)
  91. */
  92. @ApiModelProperty(value="路段顺序号:(1:进厂 ; 2:计毛;3:卸货;4:计皮;5:出厂;6:装货)",required=false)
  93. private BigDecimal orderLineSequence;
  94. /**
  95. * 运输路线ID(LINE_ID,DECIMAL,0)
  96. */
  97. @ApiModelProperty(value="运输路线ID",required=false)
  98. private BigDecimal lineId;
  99. /**
  100. * 预计进厂时间(ORDER_ENTRY_TIME,TIMESTAMP,7)
  101. */
  102. @ApiModelProperty(value="预计进厂时间",required=false)
  103. private Date orderEntryTime;
  104. /**
  105. * 卸货点ID(UNLOAD_POINT_ID,DECIMAL,0)
  106. */
  107. @ApiModelProperty(value="卸货点ID",required=false)
  108. private BigDecimal unloadPointId;
  109. /**
  110. * 司机确认订单(1:已确认)(DRIVER_CONFIRMATION,DECIMAL,0)
  111. */
  112. @ApiModelProperty(value="司机确认订单(1:已确认)",required=false)
  113. private BigDecimal driverConfirmation;
  114. /**
  115. * 运输单价ID(PRICE_ID,DECIMAL,0)
  116. */
  117. @ApiModelProperty(value="运输单价ID",required=false)
  118. private BigDecimal priceId;
  119. /**
  120. * 订单所属承运商ID(CARRIER_ID,DECIMAL,0)
  121. */
  122. @ApiModelProperty(value="订单所属承运商ID",required=false)
  123. private BigDecimal carrierId;
  124. /**
  125. * 行程ID(TRIP_ID,VARCHAR,200)
  126. */
  127. @ApiModelProperty(value="行程ID",required=false)
  128. private String tripId;
  129. /**
  130. * 打印状态(ORDER_PRINT_STATUS,DECIMAL,0)
  131. */
  132. @ApiModelProperty(value="打印状态",required=false)
  133. private BigDecimal orderPrintStatus;
  134. /**
  135. * 司机电话号码(DRIVER_TEL,VARCHAR,36)
  136. */
  137. @ApiModelProperty(value="司机电话号码",required=false)
  138. private String driverTel;
  139. /**
  140. * 操作人员组织(OPTIONER_CODE,VARCHAR,255)
  141. */
  142. @ApiModelProperty(value="操作人员组织",required=false)
  143. private String optionerCode;
  144. /**
  145. * 是否可作业(CAN_WORK,DECIMAL,0)
  146. */
  147. @ApiModelProperty(value="是否可作业",required=false)
  148. private BigDecimal canWork;
  149. private static final long serialVersionUID = 1L;
  150. @Override
  151. public BigDecimal getId() {
  152. return this.orderId;
  153. }
  154. @Override
  155. public void setId(BigDecimal orderId) {
  156. this.orderId = orderId;
  157. }
  158. public BigDecimal getOrderId() {
  159. return orderId;
  160. }
  161. public void setOrderId(BigDecimal orderId) {
  162. this.orderId = orderId;
  163. }
  164. public BigDecimal getOrderPlanId() {
  165. return orderPlanId;
  166. }
  167. public void setOrderPlanId(BigDecimal orderPlanId) {
  168. this.orderPlanId = orderPlanId;
  169. }
  170. public String getOrderNumber() {
  171. return orderNumber;
  172. }
  173. public void setOrderNumber(String orderNumber) {
  174. this.orderNumber = orderNumber == null ? null : orderNumber.trim();
  175. }
  176. public BigDecimal getCapacityId() {
  177. return capacityId;
  178. }
  179. public void setCapacityId(BigDecimal capacityId) {
  180. this.capacityId = capacityId;
  181. }
  182. public Date getOrderIssueTime() {
  183. return orderIssueTime;
  184. }
  185. public void setOrderIssueTime(Date orderIssueTime) {
  186. this.orderIssueTime = orderIssueTime;
  187. }
  188. public BigDecimal getOrderReceiveStatus() {
  189. return orderReceiveStatus;
  190. }
  191. public void setOrderReceiveStatus(BigDecimal orderReceiveStatus) {
  192. this.orderReceiveStatus = orderReceiveStatus;
  193. }
  194. public Date getOrderReceiveRefuseTime() {
  195. return orderReceiveRefuseTime;
  196. }
  197. public void setOrderReceiveRefuseTime(Date orderReceiveRefuseTime) {
  198. this.orderReceiveRefuseTime = orderReceiveRefuseTime;
  199. }
  200. public BigDecimal getOrderCommunicationDuration() {
  201. return orderCommunicationDuration;
  202. }
  203. public void setOrderCommunicationDuration(BigDecimal orderCommunicationDuration) {
  204. this.orderCommunicationDuration = orderCommunicationDuration;
  205. }
  206. public BigDecimal getOrderStatus() {
  207. return orderStatus;
  208. }
  209. public void setOrderStatus(BigDecimal orderStatus) {
  210. this.orderStatus = orderStatus;
  211. }
  212. public String getInsertUsername() {
  213. return insertUsername;
  214. }
  215. public void setInsertUsername(String insertUsername) {
  216. this.insertUsername = insertUsername == null ? null : insertUsername.trim();
  217. }
  218. public Date getInsertTime() {
  219. return insertTime;
  220. }
  221. public void setInsertTime(Date insertTime) {
  222. this.insertTime = insertTime;
  223. }
  224. public String getUpdateUsername() {
  225. return updateUsername;
  226. }
  227. public void setUpdateUsername(String updateUsername) {
  228. this.updateUsername = updateUsername == null ? null : updateUsername.trim();
  229. }
  230. public Date getUpdateTime() {
  231. return updateTime;
  232. }
  233. public void setUpdateTime(Date updateTime) {
  234. this.updateTime = updateTime;
  235. }
  236. public String getInsertUpdateRemark() {
  237. return insertUpdateRemark;
  238. }
  239. public void setInsertUpdateRemark(String insertUpdateRemark) {
  240. this.insertUpdateRemark = insertUpdateRemark == null ? null : insertUpdateRemark.trim();
  241. }
  242. public BigDecimal getDeleted() {
  243. return deleted;
  244. }
  245. public void setDeleted(BigDecimal deleted) {
  246. this.deleted = deleted;
  247. }
  248. public BigDecimal getOrderType() {
  249. return orderType;
  250. }
  251. public void setOrderType(BigDecimal orderType) {
  252. this.orderType = orderType;
  253. }
  254. public BigDecimal getOrderLineSequence() {
  255. return orderLineSequence;
  256. }
  257. public void setOrderLineSequence(BigDecimal orderLineSequence) {
  258. this.orderLineSequence = orderLineSequence;
  259. }
  260. public BigDecimal getLineId() {
  261. return lineId;
  262. }
  263. public void setLineId(BigDecimal lineId) {
  264. this.lineId = lineId;
  265. }
  266. public Date getOrderEntryTime() {
  267. return orderEntryTime;
  268. }
  269. public void setOrderEntryTime(Date orderEntryTime) {
  270. this.orderEntryTime = orderEntryTime;
  271. }
  272. public BigDecimal getUnloadPointId() {
  273. return unloadPointId;
  274. }
  275. public void setUnloadPointId(BigDecimal unloadPointId) {
  276. this.unloadPointId = unloadPointId;
  277. }
  278. public BigDecimal getDriverConfirmation() {
  279. return driverConfirmation;
  280. }
  281. public void setDriverConfirmation(BigDecimal driverConfirmation) {
  282. this.driverConfirmation = driverConfirmation;
  283. }
  284. public BigDecimal getPriceId() {
  285. return priceId;
  286. }
  287. public void setPriceId(BigDecimal priceId) {
  288. this.priceId = priceId;
  289. }
  290. public BigDecimal getCarrierId() {
  291. return carrierId;
  292. }
  293. public void setCarrierId(BigDecimal carrierId) {
  294. this.carrierId = carrierId;
  295. }
  296. public String getTripId() {
  297. return tripId;
  298. }
  299. public void setTripId(String tripId) {
  300. this.tripId = tripId == null ? null : tripId.trim();
  301. }
  302. public BigDecimal getOrderPrintStatus() {
  303. return orderPrintStatus;
  304. }
  305. public void setOrderPrintStatus(BigDecimal orderPrintStatus) {
  306. this.orderPrintStatus = orderPrintStatus;
  307. }
  308. public String getDriverTel() {
  309. return driverTel;
  310. }
  311. public void setDriverTel(String driverTel) {
  312. this.driverTel = driverTel == null ? null : driverTel.trim();
  313. }
  314. public String getOptionerCode() {
  315. return optionerCode;
  316. }
  317. public void setOptionerCode(String optionerCode) {
  318. this.optionerCode = optionerCode == null ? null : optionerCode.trim();
  319. }
  320. public BigDecimal getCanWork() {
  321. return canWork;
  322. }
  323. public void setCanWork(BigDecimal canWork) {
  324. this.canWork = canWork;
  325. }
  326. @Override
  327. public String toString() {
  328. StringBuilder sb = new StringBuilder();
  329. sb.append(getClass().getSimpleName());
  330. sb.append(" [");
  331. sb.append("Hash = ").append(hashCode());
  332. sb.append(", orderId=").append(orderId);
  333. sb.append(", orderPlanId=").append(orderPlanId);
  334. sb.append(", orderNumber=").append(orderNumber);
  335. sb.append(", capacityId=").append(capacityId);
  336. sb.append(", orderIssueTime=").append(orderIssueTime);
  337. sb.append(", orderReceiveStatus=").append(orderReceiveStatus);
  338. sb.append(", orderReceiveRefuseTime=").append(orderReceiveRefuseTime);
  339. sb.append(", orderCommunicationDuration=").append(orderCommunicationDuration);
  340. sb.append(", orderStatus=").append(orderStatus);
  341. sb.append(", insertUsername=").append(insertUsername);
  342. sb.append(", insertTime=").append(insertTime);
  343. sb.append(", updateUsername=").append(updateUsername);
  344. sb.append(", updateTime=").append(updateTime);
  345. sb.append(", insertUpdateRemark=").append(insertUpdateRemark);
  346. sb.append(", deleted=").append(deleted);
  347. sb.append(", orderType=").append(orderType);
  348. sb.append(", orderLineSequence=").append(orderLineSequence);
  349. sb.append(", lineId=").append(lineId);
  350. sb.append(", orderEntryTime=").append(orderEntryTime);
  351. sb.append(", unloadPointId=").append(unloadPointId);
  352. sb.append(", driverConfirmation=").append(driverConfirmation);
  353. sb.append(", priceId=").append(priceId);
  354. sb.append(", carrierId=").append(carrierId);
  355. sb.append(", tripId=").append(tripId);
  356. sb.append(", orderPrintStatus=").append(orderPrintStatus);
  357. sb.append(", driverTel=").append(driverTel);
  358. sb.append(", optionerCode=").append(optionerCode);
  359. sb.append(", canWork=").append(canWork);
  360. sb.append(", serialVersionUID=").append(serialVersionUID);
  361. sb.append("]");
  362. return sb.toString();
  363. }
  364. }