package com.dk.mdm.model.report.sale;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.dk.mdm.model.report.Util;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/* 活动效果上部 */
@Data
@Accessors(chain = true)
public class ActivityEffect1 {
    @Excel(name="序号",width = 10)
    private Integer  kpiIndex;

    @Excel(name="促销套餐(Top5)",width = 35,orderNum = "1")
    private String kpiName;

    @Excel(name="成交金额(万)",width = 15,orderNum = "2")
    private BigDecimal sumAmount;

    @Excel(name="成交数量",width = 15,orderNum = "3")
    private Integer sumQty;

    @Excel(name="成交户数",width = 10,orderNum = "4")
    private Integer csmCount;

    public void setSumAmount(BigDecimal sumAmount) {
        this.sumAmount = Util.calc10000(sumAmount);
    }
}
