package com.bailuntec.domain.pojo;

import com.bailuntec.domain.entity.DcBaseOmsSku;
import com.bailuntec.domain.entity.DcBaseWarehouse;
import lombok.Data;

import java.math.BigDecimal;

/*
 * SKU 费用占总费用的比例
 */
@Data
public class BailunSkuStructure {
    private String bailunSku;
    private BigDecimal bailunSkuWeight;
    private BigDecimal bailunSkuUnitPrice;
    private BigDecimal skuCostRatio;//这是根据采购价摊分比例
    private BigDecimal skuWeightRatio;//这是根据重量摊分比例
    private Integer skuQuantityOrderd;
    private DcBaseOmsSku dcBaseOmsSku;
    private DcBaseWarehouse dcBaseWarehouse;
    private Boolean generalCargo;//为true是普货, false是自产美容类

    public BailunSkuStructure() {
    }

    public BailunSkuStructure(String bailunSku, BigDecimal bailunSkuWeight, BigDecimal bailunSkuUnitPrice, BigDecimal skuCostRatio, BigDecimal skuWeightRatio) {
        this.bailunSku = bailunSku;
        this.bailunSkuWeight = bailunSkuWeight;
        this.bailunSkuUnitPrice = bailunSkuUnitPrice;
        this.skuCostRatio = skuCostRatio;
        this.skuWeightRatio = skuWeightRatio;
    }
}
