package com.hzs.bonus.bonus.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hzs.common.core.annotation.Excel;
import lombok.Data;

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

/**
 * 奖金明细表
 */
@Data
public class CuMemberBonusVO implements Serializable {

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

    /**
     * 会员主键
     */
    private Long pkMember;

    /**
     * 会员编号
     */
    @Excel(name = "会员编号")
    private String memberCode;

    /**
     * 会员名称
     */
    @Excel(name = "会员姓名")
    private String memberName;

    /**
     * 体系名称
     */
    @Excel(name = "隶属体系")
    private String vertexName;

    /**
     * 团队名称
     */
    @Excel(name = "隶属团队")
    private String teamName;

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

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

    /**
     * 结算等级
     */
    private Integer pkSettleGrade;

    /**
     * 真实奖衔
     */
    private Integer pkAwards;

    /**
     * 汇率
     */
    private Integer pkRate;

    /**
     * 收益状态 (0=正常，1=停止收益)
     */
    private Integer incomeStatus;

    /**
     * 发放状态 (1=已结算 2=已公布 3=已发放 4=可提现)
     */
    private Integer grantStatus;

//    /**
//     * 注册直推收益-众康
//     */
//    @Excel(name = "直推收益", scale = 2)
//    private BigDecimal directIncome;

    /**
     * 阶段收益-众康
     */
    @Excel(name = "阶段收益", scale = 2)
    private BigDecimal storeIncome;

    /**
     * 复购见点收益-众康
     */
    @Excel(name = "见点收益", scale = 2)
    private BigDecimal globalPoints;

    /**
     * 领导奖级差收益-众康
     */
    @Excel(name = "领导奖", scale = 2)
    private BigDecimal retailRangeIncome;

    /**
     * 领导奖平级收益-众康
     */
    @Excel(name = "平级奖", scale = 2)
    private BigDecimal retailSameLevelIncome;

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

    /**
     * 赠品积分-众康
     */
    @Excel(name = "赠品积分", scale = 2)
    private BigDecimal backPoints;

}
