123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317 |
- package com.caimei.model.po;
- import lombok.Data;
- import java.io.Serializable;
- import java.math.BigDecimal;
- /**
- * cm_order_product
- *
- * @author
- */
- @Data
- public class CmOrderProductPo implements Serializable {
- private Integer orderProductID;
- /**
- * 主订单编号
- */
- private String orderNo;
- /**
- * 主订单ID
- */
- private Long orderID;
- /**
- * 订单Id
- */
- private Integer shopOrderID;
- /**
- * 子订单编号
- */
- private String shopOrderNo;
- /**
- * 供应商ID
- */
- private Long shopID;
- /**
- * 商品Id(采美商城和组织小程序都保存product表ID)
- */
- private Integer productID;
- /**
- * 组织的商品Id,关联cm_mall_organize_products表ID[适用于组织订单]
- */
- private Integer organizeProductID;
- /**
- * 采美组织默认为null,具体对应cm_mall_organize表ID[适用于组织订单]
- */
- private Integer organizeID;
- /**
- * 购买数量
- */
- private Integer num;
- /**
- * 赠送数量
- */
- private Integer presentNum;
- /**
- * 出库类型 0 采美出库 1 供应商出库
- */
- private String outStoreType;
- /**
- * 商品编号
- */
- private String productNo;
- /**
- * 商品价格(协销 市场价 普通 购买价)
- */
- private BigDecimal price;
- /**
- * 市场价 = 商品表市场价
- */
- private BigDecimal normalPrice;
- /**
- * 购买时商品成本价
- */
- private BigDecimal costPrice;
- /**
- * 总价 = price X num
- */
- private BigDecimal totalAmount;
- /**
- * 总价 = discountPrice X num + totalAddedValueTax
- */
- private BigDecimal totalFee;
- /**
- * 应付金额 = totalFee - discountFee
- */
- private BigDecimal shouldPayFee;
- /**
- * 折扣比例
- */
- private BigDecimal discount;
- /**
- * 折后单价
- */
- private BigDecimal discountPrice;
- /**
- * 是否含税 0不含税 1含税 2未知
- */
- private String includedTax;
- /**
- * 发票类型 1增值税专用发票 2增值税普通发票 3不开发票
- */
- private String invoiceType;
- /**
- * 启用阶梯价格标识 0否 1是
- */
- private String ladderPriceFlag;
- /**
- * 后台设置该商品税率
- */
- private BigDecimal taxRate;
- /**
- * 供应商税率:增值专用发票默认13%,增值税普通发票6%取值范围[0-100]
- */
- private BigDecimal supplierTaxRate;
- /**
- * 单个税费=税率X折后单价
- */
- private BigDecimal addedValueTax;
- /**
- * 总税费=单个税费X购买数量
- */
- private BigDecimal totalAddedValueTax;
- /**
- * 总税费(应付税费)默认值和应收税费一样
- */
- private BigDecimal shouldPayTotalTax;
- /**
- * 单个付供应商税费
- */
- private BigDecimal singleShouldPayTotalTax;
- /**
- * 商品费
- */
- private BigDecimal shopProductAmount;
- /**
- * 该商品总的应付供应商金额
- */
- private BigDecimal shopFee;
- /**
- * 该商品总的应付第三方金额
- */
- private BigDecimal otherFee;
- /**
- * 该商品总的应付采美金额 (受赠品影响)
- */
- private BigDecimal cmFee;
- /**
- * 后台设置的单个应付供应商金额
- */
- private BigDecimal singleShopFee;
- /**
- * 后台设置单个应付第三方金额
- */
- private BigDecimal singleOtherFee;
- /**
- * 后台计算的单个应付采美金额
- */
- private BigDecimal singleCmFee;
- /**
- * 订单商品状态
- */
- private String status;
- /**
- * 获取到的总采美豆值
- */
- private BigDecimal totalBeans;
- /**
- * 使用余额金额
- */
- private Double useBalanceAmount;
- /**
- * 使用采美豆数量
- */
- private Integer useBeanAmount;
- /**
- * 未出库数量
- */
- private Integer notOutStore;
- /**
- * 当前采美豆专区价格(采美豆)
- */
- private Integer cmbeanPrice;
- /**
- * 下单时商品购买价格类型快照 0 机构价,1活动价 ,2拼团价,3限时特价
- */
- private String isActProduct;
- /**
- * 是否是赠品 0 不是 1 是
- */
- private String isGiftProduct;
- /**
- * 活动信息 已享受满XX减XX 之类
- */
- private String productActInfo;
- /**
- * 订单商品再次购买标识 0否 1是
- */
- private String buyAgainFlag;
- /**
- * 订单商品供应商确认标志 0否 1是
- */
- private String confirmProductFlag;
- /**
- * 支付状态 0 未进账 1 待财务审核 2 已进账(适用协销的单笔线下进账和自助订单线下或异常进账)
- */
- private String payStatus;
- /**
- * 供应商名称
- */
- private String shopName;
- /**
- * 商品名称
- */
- private String name;
- /**
- * 商品单位
- */
- private String productUnit;
- private String productImage;
- /**
- * 活动类型 1000 热卖 1001 团购 1003 满减 1004满赠 1005 买赠
- */
- private String actType;
- /**
- * 活动优惠 类似满减优惠金额
- */
- private BigDecimal actPreferential;
- /**
- * 商品类型(0正常商品,1协商赠品,2促销赠品)
- */
- private String productType;
- /**
- * 订单促销id
- */
- private Integer orderPromotionsId;
- /**
- * 优惠 (price - discountPrice) * num
- */
- private BigDecimal preferential;
- /**
- * 协销订单:经理折扣(平摊到每个商品上, 按照每种商品的总价占订单总价的比例来均分);普通订单 无
- */
- private BigDecimal discountFee;
- private Integer cancelNum;
- /**
- * 分销者id(呵呵商城订单使用)
- */
- private Integer heUserId;
- /**
- * 分账号
- */
- private String splitCode;
- private static final long serialVersionUID = 1L;
- }
|