OrderVo.java 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. package com.caimei.model.vo;
  2. import com.fasterxml.jackson.annotation.JsonFormat;
  3. import lombok.Data;
  4. import java.io.Serializable;
  5. import java.math.BigDecimal;
  6. import java.util.List;
  7. /**
  8. * Description
  9. *
  10. * @author : plf
  11. * @date : 2021/3/26
  12. */
  13. @Data
  14. public class OrderVo implements Serializable {
  15. /**
  16. * orderID
  17. */
  18. private Integer orderId;
  19. /**
  20. * 订单编号(后台:p,网站:W,小程序:x,第三方:T)
  21. */
  22. private String orderNo;
  23. private Long userId;
  24. /**
  25. * 下单人
  26. */
  27. private Integer buyUserId;
  28. /**
  29. * 子订单ID
  30. */
  31. private String shopOrderIds;
  32. /**
  33. * 0待确认,11待收待发,12待收部发,13待收全发,21部收待发,22部收部发,23部收全发,31已收待发,32已收部发,33已收全发,4交易完成,5订单完成,6已关闭,7交易全退
  34. */
  35. private String status;
  36. /**
  37. * (收款买家)收款状态:1待收款、2部分收款、3已收款
  38. */
  39. private String receiptStatus;
  40. /**
  41. * (付款供应商)付款状态:1待付款、2部分付款、3已付款
  42. */
  43. private String payStatus;
  44. /**
  45. * 发货状态:1待发货、2部分发货、3已发货
  46. */
  47. private String sendOutStatus;
  48. /**
  49. * 退货退款类型:1部分退、2全部退
  50. */
  51. private String refundType;
  52. /**
  53. * 已支付成功次数统计(适用线上多笔付款用来确认当前是哪一笔)
  54. */
  55. private Integer paySuccessCounter;
  56. /**
  57. * 是否已支付 未支付0 已支付1
  58. */
  59. private String payFlag;
  60. /**
  61. * 是否能走线上支付 0可以 1不可以 只能线下
  62. */
  63. private String onlinePayFlag;
  64. /**
  65. * 订单总额(小计金额减去经理折扣后,再加上运费)
  66. */
  67. private BigDecimal payTotalFee;
  68. /**
  69. * 真实支付金额(订单总额减去抵扣的账户余额)
  70. */
  71. private BigDecimal payableAmount;
  72. /**
  73. * 余额支付金额
  74. */
  75. private BigDecimal balancePayFee;
  76. /**
  77. * 经理折扣
  78. */
  79. private BigDecimal discountFee;
  80. /**
  81. * 促销满减优惠
  82. */
  83. private BigDecimal promotionFullReduction;
  84. /**
  85. * 订单备注
  86. */
  87. private String note;
  88. /**
  89. * 订单来源:1WWW、2CRM、3APP[历史数据]、4客服、5外单、6小程序[采美,星范等]
  90. */
  91. private String orderSource;
  92. /**
  93. * 订单提交时间
  94. */
  95. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  96. private String orderTime;
  97. /**
  98. * 购买总数
  99. */
  100. private Integer productCount;
  101. /**
  102. * 赠送总数 不计算价格
  103. */
  104. private Integer presentCount;
  105. /**
  106. * 赠送总数
  107. */
  108. private Integer promotionalGiftsCount;
  109. /**
  110. * 是否开发票 没开发票 0 开个人发票 1 开企业发票2
  111. */
  112. private String invoiceFlag;
  113. /**
  114. * 条款ID
  115. */
  116. private Long clauseId;
  117. /**
  118. * 条款内容
  119. */
  120. private String clauseContent;
  121. /**
  122. * 条款名称
  123. */
  124. private String clauseName;
  125. /**
  126. * 免邮标志 运费:-1到付,0包邮,1需要运费,-2仪器到付其它包邮
  127. */
  128. private String freePostFlag;
  129. /**
  130. * -1到付,0包邮,大于0具体金额,-2仪器到付其它包邮(且运费已使用商品形式存储)
  131. */
  132. private BigDecimal freight;
  133. /**
  134. * 订单取消原因
  135. */
  136. private String closeReason;
  137. /**
  138. * 邮费订单标识(适用于补录邮费订单) 1是邮费订单 0不是邮费订单
  139. */
  140. private String postageOrderFlag;
  141. /**
  142. * 订单0成本标识:订单不是0成本,1订单0成本(订单中所有商品成本为0)
  143. */
  144. private Integer zeroCostFlag;
  145. /**
  146. * 付款总金额
  147. */
  148. private BigDecimal receiptAmount;
  149. /**
  150. * 待付总金额
  151. */
  152. private BigDecimal pendingPayments;
  153. /**
  154. * 退款总金额
  155. */
  156. private BigDecimal returnedPurchaseFee;
  157. /**
  158. * 订单标识:#订单号#
  159. */
  160. private String orderMark;
  161. /**
  162. * 总税费
  163. */
  164. private BigDecimal expensesOfTaxation;
  165. /**
  166. * 已退货数量
  167. */
  168. private Integer returnedNum;
  169. /**
  170. * 已取消数量
  171. */
  172. private Integer actualCancelNum;
  173. /**
  174. * 支付按钮是否消失,true消失
  175. */
  176. private boolean payButton = false;
  177. /**
  178. * 订单内是否包含确定能否开发票的商品
  179. */
  180. private boolean invoiceStatus = false;
  181. /**
  182. * 子订单列表
  183. */
  184. private List<ShopOrderVo> shopOrderList;
  185. private static final long serialVersionUID = 1L;
  186. }