package cn.ysk.cashier.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;


@Data
public class TbOrderSalesCountByDayV2Vo {
    private String name;
    private Integer productId;
    private String cateName;
    private String typeEnum;

    private BigDecimal salesNum;
    private BigDecimal refNum;
    private BigDecimal salesAmount;
    private BigDecimal refAmount;

    List<TbOrderSalesCountByDayV2Vo> skus = new ArrayList<>();

    public TbOrderSalesCountByDayV2Vo(String name, Integer productId, String cateName,String typeEnum, BigDecimal salesNum, BigDecimal refNum, BigDecimal salesAmount, BigDecimal refAmount) {
        this.name = name;
        this.productId = productId;
        this.typeEnum = typeEnum;
        this.cateName = cateName;
        this.salesNum = salesNum;
        this.refNum = refNum;
        this.salesAmount = salesAmount;
        this.refAmount = refAmount;
    }
}
