package com.hzs.bonus.bonus.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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

/**
 * @Description: 用于查询会员奖金
 * @Author: sui q
 * @Time: 2023/1/13 10:38
 * @Classname: MemberBonusVO
 * @PackageName: com.hzs.member.bonus.vo
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class MemberBonusVO implements Serializable {

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

    /**
     * 会员编号
     */
    private String memberCode;

    /**
     * 会员名称
     */
    private String memberName;

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

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

    /**
     * 体系名称
     */
    private String vertexName;

    /**
     * 团队名称
     */
    private String teamName;

    /**
     * 期间
     */
    private Integer period;

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

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

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

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

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

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

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

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

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

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

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

    /**
     * 复购推荐收益
     */
    private BigDecimal repurPushIncome;
    /**
     * 复购级差收益
     */
    private BigDecimal repurRangeIncome;

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

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

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

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

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

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

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

    /**
     * 复购卷均分  每月推荐满足3.6w直推，业绩的1%放入复购券
     */
    private BigDecimal repurCouponShare;

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


    private BigDecimal couponServiceSpend;


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

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

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

    /**
     * 嗨粉小计
     */
    private BigDecimal hiFunRealSubtotal;

    /**
     * 创客空间直推收益
     */
    private BigDecimal makerDirectIncome;

    /**
     * 创客共享收益
     */
    private BigDecimal makerShareIncome;

    /**
     * 创客空间收益小计
     */
    private BigDecimal makerRealSubtotal;

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

    /**
     * 海粉收益小计
     */
    private BigDecimal haiFunRealSubtotal;


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

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

    /**
     * 实发收益总计
     */
    private BigDecimal realIncomeTotal;

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

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

    /**
     * 结算日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date settleDate;
}
