OrderVo.java 25 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072
  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. public String getDiscountApplyType() {
  199. return discountApplyType;
  200. }
  201. public void setDiscountApplyType(String discountApplyType) {
  202. this.discountApplyType = discountApplyType;
  203. }
  204. public String getApplyType() {
  205. return applyType;
  206. }
  207. public void setApplyType(String applyType) {
  208. this.applyType = applyType;
  209. }
  210. public Integer getCampMinusId() {
  211. return campMinusId;
  212. }
  213. public void setCampMinusId(Integer campMinusId) {
  214. this.campMinusId = campMinusId;
  215. }
  216. public String getCampName() {
  217. return campName;
  218. }
  219. public void setCampName(String campName) {
  220. this.campName = campName;
  221. }
  222. public Integer getCashFee() {
  223. return cashFee;
  224. }
  225. public void setCashFee(Integer cashFee) {
  226. this.cashFee = cashFee;
  227. }
  228. public String getCashFeeType() {
  229. return cashFeeType;
  230. }
  231. public void setCashFeeType(String cashFeeType) {
  232. this.cashFeeType = cashFeeType;
  233. }
  234. public Integer getTotalFee() {
  235. return totalFee;
  236. }
  237. public void setTotalFee(Integer totalFee) {
  238. this.totalFee = totalFee;
  239. }
  240. public String getFeeType() {
  241. return feeType;
  242. }
  243. public void setFeeType(String feeType) {
  244. this.feeType = feeType;
  245. }
  246. public String getRate() {
  247. return rate;
  248. }
  249. public void setRate(String rate) {
  250. this.rate = rate;
  251. }
  252. public String getMerchName() {
  253. return merchName;
  254. }
  255. public void setMerchName(String merchName) {
  256. this.merchName = merchName;
  257. }
  258. // public Long getStoreId() {
  259. // return storeId;
  260. // }
  261. //
  262. // public void setStoreId(Long storeId) {
  263. // this.storeId = storeId;
  264. // }
  265. public String getIsOnfflineOrder() {
  266. return isOnfflineOrder;
  267. }
  268. public void setIsOnfflineOrder(String isOnfflineOrder) {
  269. this.isOnfflineOrder = isOnfflineOrder;
  270. }
  271. public String getIsCreatePayId() {
  272. return isCreatePayId;
  273. }
  274. public void setIsCreatePayId(String isCreatePayId) {
  275. this.isCreatePayId = isCreatePayId;
  276. }
  277. public String getIsMergePay() {
  278. return isMergePay;
  279. }
  280. public void setIsMergePay(String isMergePay) {
  281. this.isMergePay = isMergePay;
  282. }
  283. public String getStockNum() {
  284. return stockNum;
  285. }
  286. public void setStockNum(String stockNum) {
  287. this.stockNum = stockNum;
  288. }
  289. public String getApprovalRemark() {
  290. return approvalRemark;
  291. }
  292. public void setApprovalRemark(String approvalRemark) {
  293. this.approvalRemark = approvalRemark;
  294. }
  295. public void setRefundStatus(String refundStatus) {
  296. this.refundStatus = refundStatus;
  297. }
  298. public String getRefundStatus() {
  299. return refundStatus;
  300. }
  301. public Boolean getIsRefundStatus() {
  302. return isRefundStatus;
  303. }
  304. public void setIsRefundStatus(Boolean isRefundStatus) {
  305. this.isRefundStatus = isRefundStatus;
  306. }
  307. public String getStoreName() {
  308. return storeName;
  309. }
  310. public void setStoreName(String storeName) {
  311. this.storeName = storeName;
  312. }
  313. public String getIsScan() {
  314. return isScan;
  315. }
  316. public void setIsScan(String isScan) {
  317. this.isScan = isScan;
  318. }
  319. public String getMerchOrderSn() {
  320. return merchOrderSn;
  321. }
  322. public void setMerchOrderSn(String merchOrderSn) {
  323. this.merchOrderSn = merchOrderSn;
  324. }
  325. public String getSku() {
  326. return sku;
  327. }
  328. public void setSku(String sku) {
  329. this.sku = sku;
  330. }
  331. public String getPayTransactionId() {
  332. return payTransactionId;
  333. }
  334. public void setPayTransactionId(String payTransactionId) {
  335. this.payTransactionId = payTransactionId;
  336. }
  337. public String getPayMobile() {
  338. return payMobile;
  339. }
  340. public void setPayMobile(String payMobile) {
  341. this.payMobile = payMobile;
  342. }
  343. public String getMerchSn() {
  344. return merchSn;
  345. }
  346. public void setMerchSn(String merchSn) {
  347. this.merchSn = merchSn;
  348. }
  349. public String getOrderBizType() {
  350. return orderBizType;
  351. }
  352. public void setOrderBizType(String orderBizType) {
  353. this.orderBizType = orderBizType;
  354. }
  355. public String getBuyerPayCheck() {
  356. return buyerPayCheck;
  357. }
  358. public void setBuyerPayCheck(String buyerPayCheck) {
  359. this.buyerPayCheck = buyerPayCheck;
  360. }
  361. public String getPayFlag() {
  362. return payFlag;
  363. }
  364. public void setPayFlag(String payFlag) {
  365. this.payFlag = payFlag;
  366. }
  367. public String getCreaterSn() {
  368. return createrSn;
  369. }
  370. public void setCreaterSn(String createrSn) {
  371. this.createrSn = createrSn;
  372. }
  373. public Date getCreateTime() {
  374. return createTime;
  375. }
  376. public void setCreateTime(Date createTime) {
  377. this.createTime = createTime;
  378. }
  379. public String getModerSn() {
  380. return moderSn;
  381. }
  382. public void setModerSn(String moderSn) {
  383. this.moderSn = moderSn;
  384. }
  385. public Date getModTime() {
  386. return modTime;
  387. }
  388. public void setModTime(Date modTime) {
  389. this.modTime = modTime;
  390. }
  391. public Date getTstm() {
  392. return tstm;
  393. }
  394. public void setTstm(Date tstm) {
  395. this.tstm = tstm;
  396. }
  397. public Long getId() {
  398. return id;
  399. }
  400. public void setId(Long id) {
  401. this.id = id;
  402. }
  403. public String getOrder_sn() {
  404. return order_sn;
  405. }
  406. public void setOrder_sn(String order_sn) {
  407. this.order_sn = order_sn;
  408. }
  409. public Long getUser_id() {
  410. return user_id;
  411. }
  412. public void setUser_id(Long user_id) {
  413. this.user_id = user_id;
  414. }
  415. public Integer getOrder_status() {
  416. return order_status;
  417. }
  418. public void setOrder_status(Integer order_status) {
  419. this.order_status = order_status;
  420. }
  421. public Integer getShipping_status() {
  422. return shipping_status;
  423. }
  424. public void setShipping_status(Integer shipping_status) {
  425. this.shipping_status = shipping_status;
  426. }
  427. public Integer getPay_status() {
  428. return pay_status;
  429. }
  430. public void setPay_status(Integer pay_status) {
  431. this.pay_status = pay_status;
  432. }
  433. public String getConsignee() {
  434. return consignee;
  435. }
  436. public void setConsignee(String consignee) {
  437. this.consignee = consignee;
  438. }
  439. public String getCountry() {
  440. return country;
  441. }
  442. public void setCountry(String country) {
  443. this.country = country;
  444. }
  445. public String getProvince() {
  446. return province;
  447. }
  448. public void setProvince(String province) {
  449. this.province = province;
  450. }
  451. public String getCity() {
  452. return city;
  453. }
  454. public void setCity(String city) {
  455. this.city = city;
  456. }
  457. public String getDistrict() {
  458. return district;
  459. }
  460. public void setDistrict(String district) {
  461. this.district = district;
  462. }
  463. public String getAddress() {
  464. return address;
  465. }
  466. public void setAddress(String address) {
  467. this.address = address;
  468. }
  469. public String getMobile() {
  470. return mobile;
  471. }
  472. public void setMobile(String mobile) {
  473. this.mobile = mobile;
  474. }
  475. public String getPostscript() {
  476. return postscript;
  477. }
  478. public void setPostscript(String postscript) {
  479. this.postscript = postscript;
  480. }
  481. public Long getShipping_id() {
  482. return shipping_id;
  483. }
  484. public void setShipping_id(Long shipping_id) {
  485. this.shipping_id = shipping_id;
  486. }
  487. public String getShipping_name() {
  488. return shipping_name;
  489. }
  490. public void setShipping_name(String shipping_name) {
  491. this.shipping_name = shipping_name;
  492. }
  493. public String getPay_id() {
  494. return pay_id;
  495. }
  496. public void setPay_id(String pay_id) {
  497. this.pay_id = pay_id;
  498. }
  499. public String getPay_name() {
  500. return pay_name;
  501. }
  502. public void setPay_name(String pay_name) {
  503. this.pay_name = pay_name;
  504. }
  505. public BigDecimal getShipping_fee() {
  506. return shipping_fee;
  507. }
  508. public void setShipping_fee(BigDecimal shipping_fee) {
  509. this.shipping_fee = shipping_fee;
  510. }
  511. public BigDecimal getActual_price() {
  512. return actual_price;
  513. }
  514. public void setActual_price(BigDecimal actual_price) {
  515. this.actual_price = actual_price;
  516. }
  517. public Integer getIntegral() {
  518. return integral;
  519. }
  520. public void setIntegral(Integer integral) {
  521. this.integral = integral;
  522. }
  523. public BigDecimal getIntegral_money() {
  524. return integral_money;
  525. }
  526. public void setIntegral_money(BigDecimal integral_money) {
  527. this.integral_money = integral_money;
  528. }
  529. public BigDecimal getOrder_price() {
  530. return order_price;
  531. }
  532. public void setOrder_price(BigDecimal order_price) {
  533. this.order_price = order_price;
  534. }
  535. public BigDecimal getGoods_price() {
  536. return goods_price;
  537. }
  538. public void setGoods_price(BigDecimal goods_price) {
  539. this.goods_price = goods_price;
  540. }
  541. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  542. public Date getAdd_time() {
  543. return add_time;
  544. }
  545. public void setAdd_time(Date add_time) {
  546. this.add_time = add_time;
  547. }
  548. @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
  549. public Date getConfirm_time() {
  550. return confirm_time;
  551. }
  552. public void setConfirm_time(Date confirm_time) {
  553. this.confirm_time = confirm_time;
  554. }
  555. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  556. public Date getPay_time() {
  557. return pay_time;
  558. }
  559. public void setPay_time(Date pay_time) {
  560. this.pay_time = pay_time;
  561. }
  562. public Integer getFreight_price() {
  563. return freight_price;
  564. }
  565. public void setFreight_price(Integer freight_price) {
  566. this.freight_price = freight_price;
  567. }
  568. public Integer getCoupon_id() {
  569. return coupon_id;
  570. }
  571. public void setCoupon_id(Integer coupon_id) {
  572. this.coupon_id = coupon_id;
  573. }
  574. public Integer getParent_id() {
  575. return parent_id;
  576. }
  577. public void setParent_id(Integer parent_id) {
  578. this.parent_id = parent_id;
  579. }
  580. public BigDecimal getCoupon_price() {
  581. return coupon_price;
  582. }
  583. public void setCoupon_price(BigDecimal coupon_price) {
  584. this.coupon_price = coupon_price;
  585. }
  586. public Integer getGoodsCount() {
  587. return goodsCount;
  588. }
  589. public void setGoodsCount(Integer goodsCount) {
  590. this.goodsCount = goodsCount;
  591. }
  592. public String getOrder_status_text() {
  593. if (null != order_status && StringUtils.isEmpty(order_status_text)) {
  594. order_status_text = "未付款";
  595. switch (order_status) {
  596. case 0:
  597. order_status_text = "未付款";
  598. break;
  599. case 100:
  600. order_status_text = "付款中";
  601. break;
  602. case 201:
  603. order_status_text = "等待发货";
  604. break;
  605. case 300:
  606. order_status_text = "待收货";
  607. break;
  608. case 301:
  609. order_status_text = "已完成";
  610. break;
  611. case 200:
  612. order_status_text = "已付款";
  613. break;
  614. case 101:
  615. order_status_text = "已取消";
  616. break;
  617. case 401:
  618. order_status_text = "已退款";
  619. break;
  620. case 402:
  621. order_status_text = "已退货";
  622. break;
  623. case 500:
  624. order_status_text = "订单关闭";
  625. break;
  626. case 501:
  627. order_status_text = "支付失败";
  628. break;
  629. }
  630. }
  631. return order_status_text;
  632. }
  633. public void setOrder_status_text(String order_status_text) {
  634. this.order_status_text = order_status_text;
  635. }
  636. //
  637. public Map getHandleOption() {
  638. handleOption = Maps.newHashMap();
  639. handleOption.put("cancel", false);//取消操作
  640. handleOption.put("delete", false);//删除操作
  641. handleOption.put("pay", false);//支付操作
  642. handleOption.put("comment", false);//评论操作
  643. handleOption.put("delivery", false);//确认收货操作
  644. handleOption.put("confirm", false);//完成订单操作
  645. handleOption.put("return", false); //退换货操作
  646. handleOption.put("buy", false); //再次购买
  647. //订单流程: 下单成功-》支付订单-》发货-》收货-》评论
  648. //订单相关状态字段设计,采用单个字段表示全部的订单状态
  649. //1xx 表示订单取消和删除等状态 0订单创建成功等待付款, 101订单已取消, 102订单已删除
  650. //2xx 表示订单支付状态 201订单已付款,等待发货
  651. //3xx 表示订单物流相关状态 300订单已发货, 301用户确认收货
  652. //4xx 表示订单退换货相关的状态 401 没有发货,退款 402 已收货,退款退货
  653. //如果订单已经取消或是已完成,则可删除和再次购买
  654. if (order_status == 101) {
  655. // handleOption.put("delete", true);
  656. handleOption.put("buy", true);
  657. }
  658. //如果订单没有被取消,且没有支付,则可支付,可取消
  659. if (order_status == 0) {
  660. handleOption.put("cancel", true);
  661. }
  662. /*if (order_status == 100) {
  663. handleOption.put("cancel", true);
  664. handleOption.put("pay", true);
  665. }*/
  666. if (order_status == 0 && pay_status == 0) {
  667. handleOption.put("pay", true);
  668. }
  669. //如果订单已付款,没有发货,则可退款操作
  670. if (order_status == 201) {
  671. // handleOption.put("cancel", true);
  672. }
  673. //如果订单已经发货,没有收货,则可收货操作和退款、退货操作
  674. if (order_status == 300) {
  675. // handleOption.put("cancel", true);
  676. handleOption.put("confirm", true);
  677. // handleOption.put("return", true);
  678. }
  679. //如果订单已经支付,且已经收货,则可完成交易、评论和再次购买
  680. if (order_status == 301) {
  681. handleOption.put("comment", true);
  682. handleOption.put("buy", true);
  683. }
  684. if (comment_count > 0) {
  685. handleOption.put("comment", false);
  686. }
  687. return handleOption;
  688. }
  689. public void setHandleOption(Map handleOption) {
  690. this.handleOption = handleOption;
  691. }
  692. public BigDecimal getFull_cut_price() {
  693. return full_cut_price;
  694. }
  695. public void setFull_cut_price(BigDecimal full_cut_price) {
  696. this.full_cut_price = full_cut_price;
  697. }
  698. public String getShipping_no() {
  699. return shipping_no;
  700. }
  701. public void setShipping_no(String shipping_no) {
  702. this.shipping_no = shipping_no;
  703. }
  704. public String getOrder_type() {
  705. return order_type;
  706. }
  707. public void setOrder_type(String order_type) {
  708. this.order_type = order_type;
  709. }
  710. public Long getActivity_id() {
  711. return activity_id;
  712. }
  713. public void setActivity_id(Long activity_id) {
  714. this.activity_id = activity_id;
  715. }
  716. public Long getStore_id() {
  717. return store_id;
  718. }
  719. public void setStore_id(Long store_id) {
  720. this.store_id = store_id;
  721. }
  722. public Date getDelivery_date() {
  723. return delivery_date;
  724. }
  725. public void setDelivery_date(Date delivery_date) {
  726. this.delivery_date = delivery_date;
  727. }
  728. public String getDelivery_remark() {
  729. return delivery_remark;
  730. }
  731. public void setDelivery_remark(String delivery_remark) {
  732. this.delivery_remark = delivery_remark;
  733. }
  734. public String getShipping_mobile() {
  735. return shipping_mobile;
  736. }
  737. public void setShipping_mobile(String shipping_mobile) {
  738. this.shipping_mobile = shipping_mobile;
  739. }
  740. public String getShipping_code() {
  741. return shipping_code;
  742. }
  743. public void setShipping_code(String shipping_code) {
  744. this.shipping_code = shipping_code;
  745. }
  746. public Date getPredict_time() {
  747. return predict_time;
  748. }
  749. public void setPredict_time(Date predict_time) {
  750. this.predict_time = predict_time;
  751. }
  752. public Long getAddress_id() {
  753. return address_id;
  754. }
  755. public void setAddress_id(Long address_id) {
  756. this.address_id = address_id;
  757. }
  758. public BigDecimal getLatitude() {
  759. return latitude;
  760. }
  761. public void setLatitude(BigDecimal latitude) {
  762. this.latitude = latitude;
  763. }
  764. public BigDecimal getLongitude() {
  765. return longitude;
  766. }
  767. public void setLongitude(BigDecimal longitude) {
  768. this.longitude = longitude;
  769. }
  770. public List<OrderGoodsVo> getGoodsList() {
  771. return goodsList;
  772. }
  773. public void setGoodsList(List<OrderGoodsVo> goodsList) {
  774. this.goodsList = goodsList;
  775. }
  776. public String getCoupon_name() {
  777. return coupon_name;
  778. }
  779. public void setCoupon_name(String coupon_name) {
  780. this.coupon_name = coupon_name;
  781. }
  782. public Long getEnd_time() {//todo 配置未付款的倒计时时间
  783. if (getOrder_status() == 0) {
  784. end_time = getAdd_time().getTime() + 60 * 15 * 1000;
  785. }
  786. return end_time;
  787. }
  788. public void setEnd_time(Long end_time) {
  789. this.end_time = end_time;
  790. }
  791. public List<GeometryMarker> getMarkers() {
  792. return markers;
  793. }
  794. public void pushMarkers(GeometryMarker marker) {
  795. if (null == this.markers) {
  796. this.markers = new ArrayList();
  797. }
  798. this.markers.add(marker);
  799. }
  800. public Integer getComment_count() {
  801. return comment_count;
  802. }
  803. public void setComment_count(Integer comment_count) {
  804. this.comment_count = comment_count;
  805. }
  806. public String getAliTradeNo() {
  807. return aliTradeNo;
  808. }
  809. public void setAliTradeNo(String aliTradeNo) {
  810. this.aliTradeNo = aliTradeNo;
  811. }
  812. public Integer getNumber() {
  813. return number;
  814. }
  815. public void setNumber(Integer number) {
  816. this.number = number;
  817. }
  818. public String getRequest() {
  819. return request;
  820. }
  821. public void setRequest(String request) {
  822. this.request = request;
  823. }
  824. public String getResponse() {
  825. return response;
  826. }
  827. public void setResponse(String response) {
  828. this.response = response;
  829. }
  830. public String getIdCard() {
  831. return idCard;
  832. }
  833. public void setIdCard(String idCard) {
  834. this.idCard = idCard;
  835. }
  836. public String getPayApp() {
  837. return payApp;
  838. }
  839. public void setPayApp(String payApp) {
  840. this.payApp = payApp;
  841. }
  842. }