CmOrderProductPo.java 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  1. package com.caimei.model.po;
  2. import lombok.Data;
  3. import java.io.Serializable;
  4. import java.math.BigDecimal;
  5. /**
  6. * cm_order_product
  7. *
  8. * @author
  9. */
  10. @Data
  11. public class CmOrderProductPo implements Serializable {
  12. private Integer orderProductID;
  13. /**
  14. * 主订单编号
  15. */
  16. private String orderNo;
  17. /**
  18. * 主订单ID
  19. */
  20. private Long orderID;
  21. /**
  22. * 订单Id
  23. */
  24. private Integer shopOrderID;
  25. /**
  26. * 子订单编号
  27. */
  28. private String shopOrderNo;
  29. /**
  30. * 供应商ID
  31. */
  32. private Long shopID;
  33. /**
  34. * 商品Id(采美商城和组织小程序都保存product表ID)
  35. */
  36. private Integer productID;
  37. /**
  38. * 组织的商品Id,关联cm_mall_organize_products表ID[适用于组织订单]
  39. */
  40. private Integer organizeProductID;
  41. /**
  42. * 采美组织默认为null,具体对应cm_mall_organize表ID[适用于组织订单]
  43. */
  44. private Integer organizeID;
  45. /**
  46. * 购买数量
  47. */
  48. private Integer num;
  49. /**
  50. * 赠送数量
  51. */
  52. private Integer presentNum;
  53. /**
  54. * 出库类型 0 采美出库 1 供应商出库
  55. */
  56. private String outStoreType;
  57. /**
  58. * 商品编号
  59. */
  60. private String productNo;
  61. /**
  62. * 商品价格(协销 市场价 普通 购买价)
  63. */
  64. private BigDecimal price;
  65. /**
  66. * 市场价 = 商品表市场价
  67. */
  68. private BigDecimal normalPrice;
  69. /**
  70. * 购买时商品成本价
  71. */
  72. private BigDecimal costPrice;
  73. /**
  74. * 总价 = price X num
  75. */
  76. private BigDecimal totalAmount;
  77. /**
  78. * 总价 = discountPrice X num + totalAddedValueTax
  79. */
  80. private BigDecimal totalFee;
  81. /**
  82. * 应付金额 = totalFee - discountFee
  83. */
  84. private BigDecimal shouldPayFee;
  85. /**
  86. * 折扣比例
  87. */
  88. private BigDecimal discount;
  89. /**
  90. * 折后单价
  91. */
  92. private BigDecimal discountPrice;
  93. /**
  94. * 是否含税 0不含税 1含税 2未知
  95. */
  96. private String includedTax;
  97. /**
  98. * 发票类型 1增值税专用发票 2增值税普通发票 3不开发票
  99. */
  100. private String invoiceType;
  101. /**
  102. * 启用阶梯价格标识 0否 1是
  103. */
  104. private String ladderPriceFlag;
  105. /**
  106. * 后台设置该商品税率
  107. */
  108. private BigDecimal taxRate;
  109. /**
  110. * 供应商税率:增值专用发票默认13%,增值税普通发票6%取值范围[0-100]
  111. */
  112. private BigDecimal supplierTaxRate;
  113. /**
  114. * 单个税费=税率X折后单价
  115. */
  116. private BigDecimal addedValueTax;
  117. /**
  118. * 总税费=单个税费X购买数量
  119. */
  120. private BigDecimal totalAddedValueTax;
  121. /**
  122. * 总税费(应付税费)默认值和应收税费一样
  123. */
  124. private BigDecimal shouldPayTotalTax;
  125. /**
  126. * 单个付供应商税费
  127. */
  128. private BigDecimal singleShouldPayTotalTax;
  129. /**
  130. * 商品费
  131. */
  132. private BigDecimal shopProductAmount;
  133. /**
  134. * 该商品总的应付供应商金额
  135. */
  136. private BigDecimal shopFee;
  137. /**
  138. * 该商品总的应付第三方金额
  139. */
  140. private BigDecimal otherFee;
  141. /**
  142. * 该商品总的应付采美金额 (受赠品影响)
  143. */
  144. private BigDecimal cmFee;
  145. /**
  146. * 后台设置的单个应付供应商金额
  147. */
  148. private BigDecimal singleShopFee;
  149. /**
  150. * 后台设置单个应付第三方金额
  151. */
  152. private BigDecimal singleOtherFee;
  153. /**
  154. * 后台计算的单个应付采美金额
  155. */
  156. private BigDecimal singleCmFee;
  157. /**
  158. * 订单商品状态
  159. */
  160. private String status;
  161. /**
  162. * 获取到的总采美豆值
  163. */
  164. private BigDecimal totalBeans;
  165. /**
  166. * 使用余额金额
  167. */
  168. private Double useBalanceAmount;
  169. /**
  170. * 使用采美豆数量
  171. */
  172. private Integer useBeanAmount;
  173. /**
  174. * 未出库数量
  175. */
  176. private Integer notOutStore;
  177. /**
  178. * 当前采美豆专区价格(采美豆)
  179. */
  180. private Integer cmbeanPrice;
  181. /**
  182. * 下单时商品购买价格类型快照 0 机构价,1活动价 ,2拼团价,3限时特价
  183. */
  184. private String isActProduct;
  185. /**
  186. * 是否是赠品 0 不是 1 是
  187. */
  188. private String isGiftProduct;
  189. /**
  190. * 活动信息 已享受满XX减XX 之类
  191. */
  192. private String productActInfo;
  193. /**
  194. * 订单商品再次购买标识 0否 1是
  195. */
  196. private String buyAgainFlag;
  197. /**
  198. * 订单商品供应商确认标志 0否 1是
  199. */
  200. private String confirmProductFlag;
  201. /**
  202. * 支付状态 0 未进账 1 待财务审核 2 已进账(适用协销的单笔线下进账和自助订单线下或异常进账)
  203. */
  204. private String payStatus;
  205. /**
  206. * 供应商名称
  207. */
  208. private String shopName;
  209. /**
  210. * 商品名称
  211. */
  212. private String name;
  213. /**
  214. * 商品单位
  215. */
  216. private String productUnit;
  217. private String productImage;
  218. /**
  219. * 活动类型 1000 热卖 1001 团购 1003 满减 1004满赠 1005 买赠
  220. */
  221. private String actType;
  222. /**
  223. * 活动优惠 类似满减优惠金额
  224. */
  225. private BigDecimal actPreferential;
  226. /**
  227. * 商品类型(0正常商品,1协商赠品,2促销赠品)
  228. */
  229. private String productType;
  230. /**
  231. * 订单促销id
  232. */
  233. private Integer orderPromotionsId;
  234. /**
  235. * 优惠 (price - discountPrice) * num
  236. */
  237. private BigDecimal preferential;
  238. /**
  239. * 协销订单:经理折扣(平摊到每个商品上, 按照每种商品的总价占订单总价的比例来均分);普通订单 无
  240. */
  241. private BigDecimal discountFee;
  242. private Integer cancelNum;
  243. /**
  244. * 分销者id(呵呵商城订单使用)
  245. */
  246. private Integer heUserId;
  247. /**
  248. * 分账号
  249. */
  250. private String splitCode;
  251. private static final long serialVersionUID = 1L;
  252. }