package com.hzs.sale.order.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hzs.common.core.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class SingleItemStatDTO implements Serializable {

    /**
     * 统计日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期",dateFormat = "yyyy-MM-dd")
    private Date payTime;

    /**
     * 类型
     */
    private Integer type;
    /**
     * 商品数量
     */
    @Excel(name = "商品数量")
    private Integer waresQuantity;

    /**
     * 产品数量
     */
    @Excel(name = "产品数量")
    private Integer productQuantity;


    /**
     * 赠品数量
     */
    @Excel(name = "赠品数量")
    private Integer giftQuantity;

    /**
     * 合计
     */
    @Excel(name = "合计")
    private Integer total;
}
