package com.hzs.report.member.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hzs.common.core.annotation.BigDecimalFormat;
import com.hzs.common.core.annotation.Excel;
import com.hzs.common.core.annotation.Transaction;
import com.hzs.common.core.constant.EnumsPrefixConstants;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Set;

/**
 * <p>
 * 会员信息-伞下血缘去重VO
 * </p>
 *
 * @author hzs
 * @since 2022-08-31
 */
@Data
public class AchieveSummaryVO {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long pkId;

    /**
     * 国家id list
     */
    Set<Integer> countryIdList;

    /**
     * 国家
     */
    @Excel(name = "国家")
    private String shortName;
    /**
     * 首购新增金额
     */
    @BigDecimalFormat
    @Excel(name = "首购新增金额(￥)",scale = 2)
    private BigDecimal orderAmount=BigDecimal.ZERO;
    /**
     * 首购新增业绩
     */
    @BigDecimalFormat
    @Excel(name = "首购新增业绩(PV)",scale = 2)
    private BigDecimal orderAchieve=BigDecimal.ZERO;

    /**
     * 首购累计金额
     */
    @BigDecimalFormat
    @Excel(name = "首购累计金额(￥)",scale = 2)
    private BigDecimal orderAmountSum=BigDecimal.ZERO;
    /**
     * 首购累计业绩
     */
    @BigDecimalFormat
    @Excel(name = "首购累计业绩(PV)",scale = 2)
    private BigDecimal orderAchieveSum=BigDecimal.ZERO;

    /**
     * 首购相关奖金拨比（%）=首购总奖金（推荐奖净值+拓展奖净值+领导奖净值）/首购总金额
     */
    @Excel(name = "首购拨出比例(%)",scale = 2)
    @BigDecimalFormat
    private BigDecimal mainBonusRate=BigDecimal.ZERO;

    /**
     * 奖金扣项配置参数
     */
    private BigDecimal backRatio;

    /**
     * 订单日期
     */
    @Excel(name = "订单日期",dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String orderDate;

    private String startDate;
    private String endDate;


    /**
     * 业绩表
     */
    private String settleTableName;

    /**
     * 国家
     */
    private Integer pkSettleCountry;

    /**
     * 开始期数
     */
    private Integer periodSta;
    /**
     * 汇率 *100
     */
    private BigDecimal perCent;






}
