package vip.xiaonuo.biz.modular.consumptionrecord.param;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.alibaba.excel.enums.poi.FillPatternTypeEnum;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class ConsumptionRecordExportResult {
    /** 门店名称 */
    @HeadStyle(fillPatternType = FillPatternTypeEnum.SOLID_FOREGROUND, fillForegroundColor = 120)
    @ExcelProperty({"汇总统计", "门店名称"})
    private String name;

    /** 门店电话*/
    @HeadStyle(fillPatternType = FillPatternTypeEnum.SOLID_FOREGROUND, fillForegroundColor = 120)
    @ExcelProperty({"汇总统计", "门店编码"})
    private String code;

    /**订单数*/
    @HeadStyle(fillPatternType = FillPatternTypeEnum.SOLID_FOREGROUND, fillForegroundColor = 120)
    @ExcelProperty({"汇总统计", "消费","订单数"})
    private Integer orderCount;

    /**金额*/
    @HeadStyle(fillPatternType = FillPatternTypeEnum.SOLID_FOREGROUND, fillForegroundColor = 120)
    @ExcelProperty({"汇总统计", "消费","账户消费金额"})
    private BigDecimal accountMoney;

    /**金额*/
    @HeadStyle(fillPatternType = FillPatternTypeEnum.SOLID_FOREGROUND, fillForegroundColor = 120)
    @ExcelProperty({"汇总统计", "消费","代金券消费金额"})
    private BigDecimal voucherMoney;

    /**注册会员数*/
    @HeadStyle(fillPatternType = FillPatternTypeEnum.SOLID_FOREGROUND, fillForegroundColor = 120)
    @ExcelProperty({"汇总统计", "注册会员数"})
    private Integer userCount;
}
