
package com.yami.shop.bean.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SkuStatisticsVo {

    @ExcelProperty("商品ID")
    @ApiModelProperty("skuId")
    private Long skuId;

    @ApiModelProperty("skuName")
    @ExcelProperty("商品名称")
    private String skuName;

    @ApiModelProperty("规格")
    @ExcelProperty("规格")
    private String spec;

    @ApiModelProperty("单价")
    @ExcelProperty("单价（元）")
    private Double price;

    @ApiModelProperty("商品总数量")
    @ExcelProperty("商品总数量")
    private Integer prodCount;

    @ApiModelProperty("小计")
    @ExcelProperty("小计（元）")
    private Double total;

    @ApiModelProperty(value = "商品总额",hidden = true)
    @ExcelProperty("商品总额（元）")
    private Double goodsTotalPrice;

    @ApiModelProperty(value = "积分抵扣",hidden = true)
    @ExcelProperty("总积分抵扣（元）")
    private Double totalPoints;

    @ApiModelProperty(value = "现金抵扣",hidden = true)
    @ExcelProperty("总现金抵扣（元）")
    private Double totalCash;

    @ApiModelProperty(value = "运费",hidden = true)
    @ExcelProperty("总运费（元）")
    private Double totalFreight;

}
