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

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

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

/**
 * 会员奖金-K值风控设置
 */
@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值比例
     */
    @TableField("EXPAND_RATIO")
    private BigDecimal expandRatio;

    /**
     * 辅导奖代数
     */
    @TableField("COACH_GENERATION")
    private Integer coachGeneration;

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