package com.bailuntec.domain.pojo;

import com.bailuntec.domain.entity.DcBaseOmsSku;
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 DcBaseOmsSku dcBaseOmsSku;
    private Integer skuQuantityOrderd;

    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;
    }
}
