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

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
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;

/**
 * 极差奖衔配置表
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("BD_RANGE_AWARDS")
public class BdRangeAwards extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

    /**
     * 奖衔等级
     */
    @TableField("AWARDS_NAME")
    private String awardsName;

    /**
     * 奖衔值
     */
    @TableField("AWARDS_VALUE")
    private Integer awardsValue;

    /**
     * 团队业绩
     */
    @TableField("TEAM_CONSUME_CHECK")
    private BigDecimal teamConsumeCheck;

    /**
     * 小区考核
     */
    @TableField("COMMUNITY_CHECK")
    private BigDecimal communityCheck;

    /**
     * 消费业绩
     */
    @TableField("CONSUME_PV")
    private BigDecimal consumePv;

    /**
     * 月考核pv
     */
    @TableField("PURCHASE_CHECK")
    private BigDecimal purchaseCheck;

    /**
     * 推荐数量
     */
    @TableField("RECOMMEND_NUM")
    private Integer recommendNum;

    /**
     * 部门数量
     */
    @TableField("PLACE_NUM")
    private Integer placeNum;

    /**
     * 考核奖衔
     */
    @TableField("CHECK_AWARDS")
    private Integer checkAwards;

    /**
     * 极差比例
     */
    @TableField("RANGE_RATIO")
    private BigDecimal rangeRatio;

    /**
     * 平级比例
     */
    @TableField("ORDINARY_RATIO")
    private BigDecimal ordinaryRatio;

    /**
     * 映射奖衔
     */
    @TableField("PK_AWARDS")
    private Integer pkAwards;
}
