package com.hzs.common.domain.member.bonus;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.hzs.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 会员奖金-4-n碰次重算奖金表
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("CU_MEMBER_REPEAT_BONUS")
public class CuMemberRepeatBonus extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 会员主键
     */
    @TableField("PK_MEMBER")
    private Long pkMember;

    /**
     * 期间
     */
    @TableField("PERIOD")
    private Integer period;

    /**
     * 汇率
     */
    @TableField("PK_RATE")
    private Integer pkRate;

    /**
     * 直推收益
     */
    @TableField("DIRECT_INCOME")
    private BigDecimal directIncome;

    /**
     * 拓展收益
     */
    @TableField("EXPAND_INCOME")
    private BigDecimal expandIncome;

    /**
     * 辅导收益
     */
    @TableField("COACH_INCOME")
    private BigDecimal coachIncome;

    /**
     * 分红收益
     */
    @TableField("SHARE_INCOME")
    private BigDecimal shareIncome;

    /**
     * 报单收益
     */
    @TableField("SERVICE_INCOME")
    private BigDecimal serviceIncome;

    /**
     * 商城重消
     */
    @TableField("BACK_POINTS")
    private BigDecimal backPoints;

    /**
     * 平台服务费
     */
    @TableField("SERVICE_SPEND")
    private BigDecimal serviceSpend;

    /**
     * 首购实发小计
     */
    @TableField("PUR_REAL_SUBTOTAL")
    private BigDecimal purRealSubtotal;

    /**
     * 创客空间直推收益
     */
    @TableField("MAKER_DIRECT_INCOME")
    private BigDecimal makerDirectIncome;

    /**
     * 创客空间共享收益
     */
    @TableField("MAKER_SHARE_INCOME")
    private BigDecimal makerShareIncome;

    /**
     * 创客空间收益小计
     */
    @TableField("MAKER_REAL_SUBTOTAL")
    private BigDecimal makerRealSubtotal;

    /**
     * 实发收益总计
     */
    @TableField("REAL_INCOME_TOTAL")
    private BigDecimal realIncomeTotal;


}
