OrderVo.java 25 KB

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