package com.hzs.common.domain.system.config;

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;

/**
 * <p>
 * 直推奖励配置
 * </p>
 *
 * @author zhangjing
 * @since 2022-11-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("BD_BONUS_DIRECT")
@KeySequence("BD_BONUS_DIRECT_SEQ")
public class BdBonusDirect extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

    /**
     * 极差类型 推荐类型
     */
    @TableField("RANGE_TYPE")
    private Integer rangeType;

    /**
     * 级别或奖衔
     */
    @TableField("PK_LEVEL")
    private Integer pkLevel;

    /**
     * 奖励值
     */
    @TableField("BONUS_VALUE")
    private BigDecimal bonusValue;
    /**
     * 计算类型 源计算类型枚举
     */
    @TableField("CAL_TYPE")
    private Integer calType;




}
