1
0

OrderVo.java 25 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085
  1. package com.kmall.api.entity;
  2. import com.fasterxml.jackson.annotation.JsonFormat;
  3. import com.google.common.collect.Maps;
  4. import com.kmall.api.dto.GeometryMarker;
  5. import org.apache.commons.lang.StringUtils;
  6. import java.io.Serializable;
  7. import java.math.BigDecimal;
  8. import java.util.*;
  9. /**
  10. * @author Scott
  11. * @email
  12. * @date 2017-08-15 08:03:40
  13. */
  14. public class OrderVo implements Serializable {
  15. private static final long serialVersionUID = 1L;
  16. //主键
  17. private Long id;
  18. //订单序列号:商户(拼音首字母)+业务类型+编号
  19. private String order_sn;
  20. //会员Id
  21. private Long user_id;
  22. /*
  23. 订单状态
  24. 1xx 表示订单取消和删除等状态 0订单创建成功等待付款, 101订单已取消, 102订单已删除
  25. 2xx 表示订单支付状态 201订单已付款,等待发货
  26. 3xx 表示订单物流相关状态 300订单已发货, 301用户确认收货
  27. 4xx 表示订单退换货相关的状态 401 没有发货,退款 402 已收货,退款退货
  28. 500订单已关闭;501 支付失败
  29. */
  30. private Integer order_status;
  31. //发货状态 商品配送情况;0未配送,1已配送,2已收货,4退货
  32. private Integer shipping_status;
  33. //付款状态 支付状态;0未付款;1付款中;2已付款;4退款;5:退款关闭;6:退款异常;7:订单关闭;8:支付失败;
  34. private Integer pay_status;
  35. //评价状态 1已评价 0未评价
  36. private Integer comment_count = 0;
  37. //收货人
  38. private String consignee;
  39. //国家
  40. private String country;
  41. //省
  42. private String province;
  43. //地市
  44. private String city;
  45. //区县
  46. private String district;
  47. //收货地址
  48. private String address;
  49. //联系电话
  50. private String mobile;
  51. //补充说明
  52. private String postscript;
  53. // 配送员Id
  54. private Long shipping_id;
  55. // 配送员名称
  56. private String shipping_name;
  57. // 配送员手机
  58. private String shipping_mobile;
  59. // 配送员手机
  60. private String shipping_code;
  61. // 配送费用
  62. private BigDecimal shipping_fee;
  63. // 配送单号,rider_order表id
  64. private String shipping_no;
  65. //付款
  66. private String pay_id;
  67. // 付款人
  68. private String pay_name;
  69. //实际需要支付的金额
  70. private BigDecimal actual_price;
  71. /**
  72. * 用户支付金额;微信国际支付返回数据
  73. */
  74. private Integer cashFee;
  75. /**
  76. * 用户支付币种;微信国际支付返回数据
  77. */
  78. private String cashFeeType;
  79. /**
  80. * 标价金额;微信国际支付返回数据
  81. */
  82. private Integer totalFee;
  83. /**
  84. * 标价币种;微信国际支付返回数据
  85. */
  86. private String feeType;
  87. /**
  88. * 汇率;微信国际支付返回数据
  89. */
  90. private String rate;
  91. // 积分
  92. private Integer integral;
  93. // 积分抵扣金额
  94. private BigDecimal integral_money;
  95. //订单总价
  96. private BigDecimal order_price;
  97. //商品总价
  98. private BigDecimal goods_price;
  99. //新增时间
  100. private Date add_time;
  101. //确认时间
  102. private Date confirm_time;
  103. //付款时间
  104. private Date pay_time;
  105. //重商品额外费用
  106. private Integer freight_price;
  107. //使用的优惠券id
  108. private Integer coupon_id;
  109. //优惠券名称
  110. private String coupon_name;
  111. //
  112. private Integer parent_id;
  113. //优惠价格
  114. private BigDecimal coupon_price;
  115. //订单的商品
  116. private Integer goodsCount;
  117. //订单状态的处理
  118. private String order_status_text;
  119. //可操作的选项
  120. private Map handleOption;
  121. // 订单类型 1:普通订单 2:团购订单
  122. private String order_type;
  123. // 活动id
  124. private Long activity_id;
  125. // 门店Id
  126. private Long store_id;
  127. // 送达时间
  128. @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  129. private Date delivery_date;
  130. // 送到说明
  131. private String delivery_remark;
  132. // 预计送达时间
  133. @JsonFormat(pattern = "HH:mm", timezone = "GMT+8")
  134. private Date predict_time;
  135. // 地址Id
  136. private Long address_id;
  137. //纬度
  138. private BigDecimal latitude;
  139. //经度
  140. private BigDecimal longitude;
  141. // 订单详情
  142. private List<OrderGoodsVo> goodsList;
  143. // 过期付款时间(下单时间,10分钟)
  144. private Long end_time;
  145. // 配送中的骑手位置
  146. private List<GeometryMarker> markers;
  147. private String payTransactionId;
  148. private String payMobile;
  149. private String aliTradeNo;
  150. private String merchSn;
  151. private String sku;
  152. private String orderBizType;
  153. private String buyerPayCheck;
  154. private String payFlag;
  155. private String createrSn;
  156. private Date createTime;
  157. private String moderSn;
  158. private Date modTime;
  159. private Date tstm;
  160. private String merchOrderSn;
  161. private String isScan;
  162. private String storeName;
  163. private Boolean isRefundStatus;
  164. private String refundStatus;
  165. private String approvalRemark;
  166. private String stockNum;
  167. private String isMergePay;
  168. private String isCreatePayId;
  169. private String isOnfflineOrder;
  170. private String merchName;
  171. // private Long storeId;
  172. //订单满减
  173. private BigDecimal full_cut_price;
  174. private Integer campMinusId;
  175. private String campName;
  176. private String applyType;
  177. private String discountApplyType;
  178. /**
  179. * 商品总数量
  180. */
  181. private Integer number;
  182. /**
  183. * 调用支付接口请求体
  184. */
  185. private String request;
  186. /**
  187. * 调用支付接口响应
  188. */
  189. private String response;
  190. /**
  191. * 身份证号
  192. */
  193. private String idCard;
  194. /**
  195. * 支付方式
  196. */
  197. private String payApp;
  198. /**
  199. * 商品总重量
  200. */
  201. private BigDecimal weight;
  202. public String getDiscountApplyType() {
  203. return discountApplyType;
  204. }
  205. public void setDiscountApplyType(String discountApplyType) {
  206. this.discountApplyType = discountApplyType;
  207. }
  208. public String getApplyType() {
  209. return applyType;
  210. }
  211. public void setApplyType(String applyType) {
  212. this.applyType = applyType;
  213. }
  214. public Integer getCampMinusId() {
  215. return campMinusId;
  216. }
  217. public void setCampMinusId(Integer campMinusId) {
  218. this.campMinusId = campMinusId;
  219. }
  220. public String getCampName() {
  221. return campName;
  222. }
  223. public void setCampName(String campName) {
  224. this.campName = campName;
  225. }
  226. public Integer getCashFee() {
  227. return cashFee;
  228. }
  229. public void setCashFee(Integer cashFee) {
  230. this.cashFee = cashFee;
  231. }
  232. public String getCashFeeType() {
  233. return cashFeeType;
  234. }
  235. public void setCashFeeType(String cashFeeType) {
  236. this.cashFeeType = cashFeeType;
  237. }
  238. public Integer getTotalFee() {
  239. return totalFee;
  240. }
  241. public void setTotalFee(Integer totalFee) {
  242. this.totalFee = totalFee;
  243. }
  244. public String getFeeType() {
  245. return feeType;
  246. }
  247. public void setFeeType(String feeType) {
  248. this.feeType = feeType;
  249. }
  250. public String getRate() {
  251. return rate;
  252. }
  253. public void setRate(String rate) {
  254. this.rate = rate;
  255. }
  256. public String getMerchName() {
  257. return merchName;
  258. }
  259. public void setMerchName(String merchName) {
  260. this.merchName = merchName;
  261. }
  262. // public Long getStoreId() {
  263. // return storeId;
  264. // }
  265. //
  266. // public void setStoreId(Long storeId) {
  267. // this.storeId = storeId;
  268. // }
  269. public String getIsOnfflineOrder() {
  270. return isOnfflineOrder;
  271. }
  272. public void setIsOnfflineOrder(String isOnfflineOrder) {
  273. this.isOnfflineOrder = isOnfflineOrder;
  274. }
  275. public String getIsCreatePayId() {
  276. return isCreatePayId;
  277. }
  278. public void setIsCreatePayId(String isCreatePayId) {
  279. this.isCreatePayId = isCreatePayId;
  280. }
  281. public String getIsMergePay() {
  282. return isMergePay;
  283. }
  284. public void setIsMergePay(String isMergePay) {
  285. this.isMergePay = isMergePay;
  286. }
  287. public String getStockNum() {
  288. return stockNum;
  289. }
  290. public void setStockNum(String stockNum) {
  291. this.stockNum = stockNum;
  292. }
  293. public String getApprovalRemark() {
  294. return approvalRemark;
  295. }
  296. public void setApprovalRemark(String approvalRemark) {
  297. this.approvalRemark = approvalRemark;
  298. }
  299. public void setRefundStatus(String refundStatus) {
  300. this.refundStatus = refundStatus;
  301. }
  302. public String getRefundStatus() {
  303. return refundStatus;
  304. }
  305. public Boolean getIsRefundStatus() {
  306. return isRefundStatus;
  307. }
  308. public void setIsRefundStatus(Boolean isRefundStatus) {
  309. this.isRefundStatus = isRefundStatus;
  310. }
  311. public String getStoreName() {
  312. return storeName;
  313. }
  314. public void setStoreName(String storeName) {
  315. this.storeName = storeName;
  316. }
  317. public String getIsScan() {
  318. return isScan;
  319. }
  320. public void setIsScan(String isScan) {
  321. this.isScan = isScan;
  322. }
  323. public String getMerchOrderSn() {
  324. return merchOrderSn;
  325. }
  326. public void setMerchOrderSn(String merchOrderSn) {
  327. this.merchOrderSn = merchOrderSn;
  328. }
  329. public String getSku() {
  330. return sku;
  331. }
  332. public void setSku(String sku) {
  333. this.sku = sku;
  334. }
  335. public String getPayTransactionId() {
  336. return payTransactionId;
  337. }
  338. public void setPayTransactionId(String payTransactionId) {
  339. this.payTransactionId = payTransactionId;
  340. }
  341. public String getPayMobile() {
  342. return payMobile;
  343. }
  344. public void setPayMobile(String payMobile) {
  345. this.payMobile = payMobile;
  346. }
  347. public String getMerchSn() {
  348. return merchSn;
  349. }
  350. public void setMerchSn(String merchSn) {
  351. this.merchSn = merchSn;
  352. }
  353. public String getOrderBizType() {
  354. return orderBizType;
  355. }
  356. public void setOrderBizType(String orderBizType) {
  357. this.orderBizType = orderBizType;
  358. }
  359. public String getBuyerPayCheck() {
  360. return buyerPayCheck;
  361. }
  362. public void setBuyerPayCheck(String buyerPayCheck) {
  363. this.buyerPayCheck = buyerPayCheck;
  364. }
  365. public String getPayFlag() {
  366. return payFlag;
  367. }
  368. public void setPayFlag(String payFlag) {
  369. this.payFlag = payFlag;
  370. }
  371. public String getCreaterSn() {
  372. return createrSn;
  373. }
  374. public void setCreaterSn(String createrSn) {
  375. this.createrSn = createrSn;
  376. }
  377. public Date getCreateTime() {
  378. return createTime;
  379. }
  380. public void setCreateTime(Date createTime) {
  381. this.createTime = createTime;
  382. }
  383. public String getModerSn() {
  384. return moderSn;
  385. }
  386. public void setModerSn(String moderSn) {
  387. this.moderSn = moderSn;
  388. }
  389. public Date getModTime() {
  390. return modTime;
  391. }
  392. public void setModTime(Date modTime) {
  393. this.modTime = modTime;
  394. }
  395. public Date getTstm() {
  396. return tstm;
  397. }
  398. public void setTstm(Date tstm) {
  399. this.tstm = tstm;
  400. }
  401. public Long getId() {
  402. return id;
  403. }
  404. public void setId(Long id) {
  405. this.id = id;
  406. }
  407. public String getOrder_sn() {
  408. return order_sn;
  409. }
  410. public void setOrder_sn(String order_sn) {
  411. this.order_sn = order_sn;
  412. }
  413. public Long getUser_id() {
  414. return user_id;
  415. }
  416. public void setUser_id(Long user_id) {
  417. this.user_id = user_id;
  418. }
  419. public Integer getOrder_status() {
  420. return order_status;
  421. }
  422. public void setOrder_status(Integer order_status) {
  423. this.order_status = order_status;
  424. }
  425. public Integer getShipping_status() {
  426. return shipping_status;
  427. }
  428. public void setShipping_status(Integer shipping_status) {
  429. this.shipping_status = shipping_status;
  430. }
  431. public Integer getPay_status() {
  432. return pay_status;
  433. }
  434. public void setPay_status(Integer pay_status) {
  435. this.pay_status = pay_status;
  436. }
  437. public String getConsignee() {
  438. return consignee;
  439. }
  440. public void setConsignee(String consignee) {
  441. this.consignee = consignee;
  442. }
  443. public String getCountry() {
  444. return country;
  445. }
  446. public void setCountry(String country) {
  447. this.country = country;
  448. }
  449. public String getProvince() {
  450. return province;
  451. }
  452. public void setProvince(String province) {
  453. this.province = province;
  454. }
  455. public String getCity() {
  456. return city;
  457. }
  458. public void setCity(String city) {
  459. this.city = city;
  460. }
  461. public String getDistrict() {
  462. return district;
  463. }
  464. public void setDistrict(String district) {
  465. this.district = district;
  466. }
  467. public String getAddress() {
  468. return address;
  469. }
  470. public void setAddress(String address) {
  471. this.address = address;
  472. }
  473. public String getMobile() {
  474. return mobile;
  475. }
  476. public void setMobile(String mobile) {
  477. this.mobile = mobile;
  478. }
  479. public String getPostscript() {
  480. return postscript;
  481. }
  482. public void setPostscript(String postscript) {
  483. this.postscript = postscript;
  484. }
  485. public Long getShipping_id() {
  486. return shipping_id;
  487. }
  488. public void setShipping_id(Long shipping_id) {
  489. this.shipping_id = shipping_id;
  490. }
  491. public String getShipping_name() {
  492. return shipping_name;
  493. }
  494. public void setShipping_name(String shipping_name) {
  495. this.shipping_name = shipping_name;
  496. }
  497. public String getPay_id() {
  498. return pay_id;
  499. }
  500. public void setPay_id(String pay_id) {
  501. this.pay_id = pay_id;
  502. }
  503. public String getPay_name() {
  504. return pay_name;
  505. }
  506. public void setPay_name(String pay_name) {
  507. this.pay_name = pay_name;
  508. }
  509. public BigDecimal getShipping_fee() {
  510. return shipping_fee;
  511. }
  512. public void setShipping_fee(BigDecimal shipping_fee) {
  513. this.shipping_fee = shipping_fee;
  514. }
  515. public BigDecimal getActual_price() {
  516. return actual_price;
  517. }
  518. public void setActual_price(BigDecimal actual_price) {
  519. this.actual_price = actual_price;
  520. }
  521. public Integer getIntegral() {
  522. return integral;
  523. }
  524. public void setIntegral(Integer integral) {
  525. this.integral = integral;
  526. }
  527. public BigDecimal getIntegral_money() {
  528. return integral_money;
  529. }
  530. public void setIntegral_money(BigDecimal integral_money) {
  531. this.integral_money = integral_money;
  532. }
  533. public BigDecimal getOrder_price() {
  534. return order_price;
  535. }
  536. public void setOrder_price(BigDecimal order_price) {
  537. this.order_price = order_price;
  538. }
  539. public BigDecimal getGoods_price() {
  540. return goods_price;
  541. }
  542. public void setGoods_price(BigDecimal goods_price) {
  543. this.goods_price = goods_price;
  544. }
  545. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  546. public Date getAdd_time() {
  547. return add_time;
  548. }
  549. public void setAdd_time(Date add_time) {
  550. this.add_time = add_time;
  551. }
  552. @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
  553. public Date getConfirm_time() {
  554. return confirm_time;
  555. }
  556. public void setConfirm_time(Date confirm_time) {
  557. this.confirm_time = confirm_time;
  558. }
  559. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  560. public Date getPay_time() {
  561. return pay_time;
  562. }
  563. public void setPay_time(Date pay_time) {
  564. this.pay_time = pay_time;
  565. }
  566. public Integer getFreight_price() {
  567. return freight_price;
  568. }
  569. public void setFreight_price(Integer freight_price) {
  570. this.freight_price = freight_price;
  571. }
  572. public Integer getCoupon_id() {
  573. return coupon_id;
  574. }
  575. public void setCoupon_id(Integer coupon_id) {
  576. this.coupon_id = coupon_id;
  577. }
  578. public Integer getParent_id() {
  579. return parent_id;
  580. }
  581. public void setParent_id(Integer parent_id) {
  582. this.parent_id = parent_id;
  583. }
  584. public BigDecimal getCoupon_price() {
  585. return coupon_price;
  586. }
  587. public void setCoupon_price(BigDecimal coupon_price) {
  588. this.coupon_price = coupon_price;
  589. }
  590. public Integer getGoodsCount() {
  591. return goodsCount;
  592. }
  593. public void setGoodsCount(Integer goodsCount) {
  594. this.goodsCount = goodsCount;
  595. }
  596. public String getOrder_status_text() {
  597. if (null != order_status && StringUtils.isEmpty(order_status_text)) {
  598. order_status_text = "未付款";
  599. switch (order_status) {
  600. case 0:
  601. order_status_text = "未付款";
  602. break;
  603. case 100:
  604. order_status_text = "付款中";
  605. break;
  606. case 201:
  607. order_status_text = "等待发货";
  608. break;
  609. case 300:
  610. order_status_text = "待收货";
  611. break;
  612. case 301:
  613. order_status_text = "已完成";
  614. break;
  615. case 200:
  616. order_status_text = "已付款";
  617. break;
  618. case 101:
  619. order_status_text = "已取消";
  620. break;
  621. case 401:
  622. order_status_text = "已退款";
  623. break;
  624. case 402:
  625. order_status_text = "已退货";
  626. break;
  627. case 500:
  628. order_status_text = "订单关闭";
  629. break;
  630. case 501:
  631. order_status_text = "支付失败";
  632. break;
  633. }
  634. }
  635. return order_status_text;
  636. }
  637. public void setOrder_status_text(String order_status_text) {
  638. this.order_status_text = order_status_text;
  639. }
  640. //
  641. public Map getHandleOption() {
  642. handleOption = Maps.newHashMap();
  643. handleOption.put("cancel", false);//取消操作
  644. handleOption.put("delete", false);//删除操作
  645. handleOption.put("pay", false);//支付操作
  646. handleOption.put("comment", false);//评论操作
  647. handleOption.put("delivery", false);//确认收货操作
  648. handleOption.put("confirm", false);//完成订单操作
  649. handleOption.put("return", false); //退换货操作
  650. handleOption.put("buy", false); //再次购买
  651. //订单流程: 下单成功-》支付订单-》发货-》收货-》评论
  652. //订单相关状态字段设计,采用单个字段表示全部的订单状态
  653. //1xx 表示订单取消和删除等状态 0订单创建成功等待付款, 101订单已取消, 102订单已删除
  654. //2xx 表示订单支付状态 201订单已付款,等待发货
  655. //3xx 表示订单物流相关状态 300订单已发货, 301用户确认收货
  656. //4xx 表示订单退换货相关的状态 401 没有发货,退款 402 已收货,退款退货
  657. //如果订单已经取消或是已完成,则可删除和再次购买
  658. if (order_status == 101) {
  659. // handleOption.put("delete", true);
  660. handleOption.put("buy", true);
  661. }
  662. //如果订单没有被取消,且没有支付,则可支付,可取消
  663. if (order_status == 0) {
  664. handleOption.put("cancel", true);
  665. }
  666. /*if (order_status == 100) {
  667. handleOption.put("cancel", true);
  668. handleOption.put("pay", true);
  669. }*/
  670. if (order_status == 0 && pay_status == 0) {
  671. handleOption.put("pay", true);
  672. }
  673. //如果订单已付款,没有发货,则可退款操作
  674. if (order_status == 201) {
  675. // handleOption.put("cancel", true);
  676. }
  677. //如果订单已经发货,没有收货,则可收货操作和退款、退货操作
  678. if (order_status == 300) {
  679. // handleOption.put("cancel", true);
  680. handleOption.put("confirm", true);
  681. // handleOption.put("return", true);
  682. }
  683. //如果订单已经支付,且已经收货,则可完成交易、评论和再次购买
  684. if (order_status == 301) {
  685. handleOption.put("comment", true);
  686. handleOption.put("buy", true);
  687. }
  688. if (comment_count > 0) {
  689. handleOption.put("comment", false);
  690. }
  691. return handleOption;
  692. }
  693. public void setHandleOption(Map handleOption) {
  694. this.handleOption = handleOption;
  695. }
  696. public BigDecimal getFull_cut_price() {
  697. return full_cut_price;
  698. }
  699. public void setFull_cut_price(BigDecimal full_cut_price) {
  700. this.full_cut_price = full_cut_price;
  701. }
  702. public String getShipping_no() {
  703. return shipping_no;
  704. }
  705. public void setShipping_no(String shipping_no) {
  706. this.shipping_no = shipping_no;
  707. }
  708. public String getOrder_type() {
  709. return order_type;
  710. }
  711. public void setOrder_type(String order_type) {
  712. this.order_type = order_type;
  713. }
  714. public Long getActivity_id() {
  715. return activity_id;
  716. }
  717. public void setActivity_id(Long activity_id) {
  718. this.activity_id = activity_id;
  719. }
  720. public Long getStore_id() {
  721. return store_id;
  722. }
  723. public void setStore_id(Long store_id) {
  724. this.store_id = store_id;
  725. }
  726. public Date getDelivery_date() {
  727. return delivery_date;
  728. }
  729. public void setDelivery_date(Date delivery_date) {
  730. this.delivery_date = delivery_date;
  731. }
  732. public String getDelivery_remark() {
  733. return delivery_remark;
  734. }
  735. public void setDelivery_remark(String delivery_remark) {
  736. this.delivery_remark = delivery_remark;
  737. }
  738. public String getShipping_mobile() {
  739. return shipping_mobile;
  740. }
  741. public void setShipping_mobile(String shipping_mobile) {
  742. this.shipping_mobile = shipping_mobile;
  743. }
  744. public String getShipping_code() {
  745. return shipping_code;
  746. }
  747. public void setShipping_code(String shipping_code) {
  748. this.shipping_code = shipping_code;
  749. }
  750. public Date getPredict_time() {
  751. return predict_time;
  752. }
  753. public void setPredict_time(Date predict_time) {
  754. this.predict_time = predict_time;
  755. }
  756. public Long getAddress_id() {
  757. return address_id;
  758. }
  759. public void setAddress_id(Long address_id) {
  760. this.address_id = address_id;
  761. }
  762. public BigDecimal getLatitude() {
  763. return latitude;
  764. }
  765. public void setLatitude(BigDecimal latitude) {
  766. this.latitude = latitude;
  767. }
  768. public BigDecimal getLongitude() {
  769. return longitude;
  770. }
  771. public void setLongitude(BigDecimal longitude) {
  772. this.longitude = longitude;
  773. }
  774. public List<OrderGoodsVo> getGoodsList() {
  775. return goodsList;
  776. }
  777. public void setGoodsList(List<OrderGoodsVo> goodsList) {
  778. this.goodsList = goodsList;
  779. }
  780. public String getCoupon_name() {
  781. return coupon_name;
  782. }
  783. public void setCoupon_name(String coupon_name) {
  784. this.coupon_name = coupon_name;
  785. }
  786. public Long getEnd_time() {//todo 配置未付款的倒计时时间
  787. if (getOrder_status() == 0) {
  788. end_time = getAdd_time().getTime() + 60 * 15 * 1000;
  789. }
  790. return end_time;
  791. }
  792. public void setEnd_time(Long end_time) {
  793. this.end_time = end_time;
  794. }
  795. public List<GeometryMarker> getMarkers() {
  796. return markers;
  797. }
  798. public void pushMarkers(GeometryMarker marker) {
  799. if (null == this.markers) {
  800. this.markers = new ArrayList();
  801. }
  802. this.markers.add(marker);
  803. }
  804. public Integer getComment_count() {
  805. return comment_count;
  806. }
  807. public void setComment_count(Integer comment_count) {
  808. this.comment_count = comment_count;
  809. }
  810. public String getAliTradeNo() {
  811. return aliTradeNo;
  812. }
  813. public void setAliTradeNo(String aliTradeNo) {
  814. this.aliTradeNo = aliTradeNo;
  815. }
  816. public Integer getNumber() {
  817. return number;
  818. }
  819. public void setNumber(Integer number) {
  820. this.number = number;
  821. }
  822. public String getRequest() {
  823. return request;
  824. }
  825. public void setRequest(String request) {
  826. this.request = request;
  827. }
  828. public String getResponse() {
  829. return response;
  830. }
  831. public void setResponse(String response) {
  832. this.response = response;
  833. }
  834. public String getIdCard() {
  835. return idCard;
  836. }
  837. public void setIdCard(String idCard) {
  838. this.idCard = idCard;
  839. }
  840. public String getPayApp() {
  841. return payApp;
  842. }
  843. public void setPayApp(String payApp) {
  844. this.payApp = payApp;
  845. }
  846. public BigDecimal getWeight() {
  847. return weight;
  848. }
  849. public void setWeight(BigDecimal weight) {
  850. this.weight = weight;
  851. }
  852. }