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

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

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

/**
 * <p>
 * 会员奖金-K值风控设置
 * </p>
 *
 * @author zhangjing
 * @since 2024-04-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@KeySequence("CU_MEMBER_RISK_CONTROL_SEQ")
@TableName("CU_MEMBER_RISK_CONTROL")
public class CuMemberRiskControl extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("PK_ID")
    private Long pkId;

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

    /**
     * 生效开始时间
     */
    @TableField("START_DATE")
    private Date startDate;

    /**
     * 生效结束时间
     */
    @TableField("END_DATE")
    private Date endDate;

    /**
     * 拓展K值比例(培育k值比例)
     */
    @TableField("EXPAND_RATIO")
    private BigDecimal expandRatio;

    /**
     * 直推K值比例
     */
    @TableField("DIRECT_PUSH_RATIO")
    private BigDecimal directPushRatio;

    /**
     * 管理K值比例
     */
    @TableField("MANAGER_RATIO")
    private BigDecimal managerRatio;

    /**
     * 领导K值比例
     */
    @TableField("LEADER_RATIO")
    private BigDecimal leaderRatio;


    /**
     * 复消同级收益
     */
    @TableField("REPURCHASE_INCOME")
    private BigDecimal repurchaseIncome;

    /**
     * 加权积分收益
     */
    @TableField("WEIGHTING_INCOME")
    private BigDecimal weightingIncome;

    /**
     * 见点奖
     */
    @TableField("SEE_POINT_AWARD")
    private BigDecimal seePointAward;

    /**
     * 复购极差收益
     */
    @TableField("RANGE_INCOME")
    private BigDecimal rangeIncome;


    /**
     * 店铺收益
     */
    @TableField("STORE_REVENUE")
    private BigDecimal storeRevenue;
    /**
     * 辅导奖代数
     */
    @TableField("COACH_GENERATION")
    private Integer coachGeneration;


    /**
     * 业绩比例
     */
    @TableField("ACHIEVE_RATIO")
    private BigDecimal achieveRatio;

}
