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

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-09-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("BD_SHARE_DETAIL")
public class BdShareDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId("PK_ID")
    private Integer pkId;

    /**
     * 分红配置主表主键
     */
    @TableField("PK_SHARE")
    private Integer pkShare;

    /**
     * 奖衔(来源于参照：奖衔配置)
     */
    @TableField("PK_AWARDS")
    private Integer pkAwards;

    /**
     * 晋升人数
     */
    @TableField("TOTAL_NUMBER")
    private Long totalNumber;

    /**
     * 达标人数
     */
    @TableField("REACH_NUMBER")
    private Long reachNumber;

    /**
     * 预发金额
     */
    @TableField("ADVANCE_MONEY")
    private BigDecimal advanceMoney;

    /**
     * 比率
     */
    @TableField("RATIO")
    private BigDecimal ratio;

    /**
     * 实发金额
     */
    @TableField("PAY_MONEY")
    private BigDecimal payMoney;


}
