package com.hzs.bonus.bonus.vo;

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

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

/**
 * 返回到后台奖金汇总vo
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BonusTotalVO implements Serializable {

    /**
     * 期间
     */
    @Excel(name = "结算期数")
    private Integer period;

    /**
     * 国家
     */
    private Integer pkCountry;

    /**
     * 直推级差收益
     */
    @Excel(name = "直推级差收益", scale = 2)
    private BigDecimal retailRangeIncome;

    /**
     * 复购级差收益
     */
    @Excel(name = "复购级差收益", scale = 2)
    private BigDecimal repurRangeIncome;

    /**
     * 复购配送收益
     */
    @Excel(name = "复购配送收益", scale = 2)
    private BigDecimal retailAreaIncome;

    /**
     * 实发收益总计
     */
    @Excel(name = "实发收益总计", scale = 2)
    private BigDecimal realIncomeTotal;

    /**
     * 直推收益
     */
    private BigDecimal directIncome;

    /**
     * 拓展收益
     */
    private BigDecimal expandIncome;

    /**
     * 拓展无封 (拓展收益按等级正常比例结算，并 拓展收益按等级正常比例结算 无封顶)
     */
    private BigDecimal expandNoCapping;

    /**
     * 拓展封顶 (拓展收益按等级正常比例结算，不按4-N结算，根据配置的封顶值限制最大收益)
     */
    private BigDecimal expandCapping;

    /**
     * 辅导收益
     */
    private BigDecimal coachIncome;

    /**
     * 分红收益
     */
    private BigDecimal shareIncome;

    /**
     * 报单收益
     */
    private BigDecimal serviceIncome;

    /**
     * 云代直推收益
     */
    private BigDecimal cloudDirectIncome;

    /**
     * 云代首购收益
     */
    private BigDecimal cloudPurIncome;

    /**
     * 云代复购收益
     */
    private BigDecimal cloudRepurIncome;

    private BigDecimal repurPushIncome;


    /**
     * 复购拓展收益
     */
    private BigDecimal repurExpandIncome;

    /**
     * 复购券
     */
    private BigDecimal repurCoupon;

    /**
     * 复购券均分收益
     */
    private BigDecimal repurCouponShare;

    /**
     * 商城重消
     */
    private BigDecimal backPoints;

    /**
     * 平台服务费
     */
    private BigDecimal serviceSpend;

    /**
     * 环球积分
     */
    private BigDecimal globalPoints;

    /**
     * 车奖积分
     */
    private BigDecimal carAwardPoints;

    /**
     * 店铺收益
     */
    private BigDecimal storeIncome;

    /**
     * 嗨粉推荐收益
     */
    private BigDecimal hiFunIncome;

    /**
     * 首购实发小计
     */
    private BigDecimal purRealSubtotal;

    /**
     * 云代实发小计
     */
    private BigDecimal cloudRealSubtotal;

    /**
     * 复购实发小计
     */
    private BigDecimal repurRealSubtotal;

    /**
     * 复购券小计
     */
    private BigDecimal repurCouponSubtotal;


    /**
     * 结算日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结算时间", dateFormat = "yyyy-MM-dd")
    private Date settleDate;
}
