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

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.hzs.common.core.annotation.Transaction;
import com.hzs.common.core.constant.EnumsPrefixConstants;
import com.hzs.common.core.web.domain.BaseEntity;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 会员奖金-分红奖金配置明细
 * </p>
 *
 * @author hzs
 * @since 2023-07-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@KeySequence("CU_MEMBER_SHARE_DETAIL_SEQ")
@TableName("CU_MEMBER_SHARE_DETAIL")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CuMemberShareDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

    /**
     * 主表主键
     */
    @TableField("PK_SHARE_BONUS")
    private Integer pkShareBonus;

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

    /**
     * 晋升人数
     */
    @TableField("PROMOTE_TOTAL")
    private Integer promoteTotal;

    /**
     * 达标人数
     */
    @TableField("REACH_TOTAL")
    private Integer reachTotal;

    /**
     * 预发金额
     */
    @TableField("EXPECT_SHARE_INCOME")
    private BigDecimal expectShareIncome;

    /**
     * 预防金额小计
     */
    @TableField("EXPECT_SHARE_SUBTOTAL")
    private BigDecimal expectShareSubtotal;

    /**
     * 实发金额
     */
    @TableField("REAL_SHARE_INCOME")
    private BigDecimal realShareIncome;

    /**
     * 实发金额小计
     */
    @TableField("REAL_SHARE_SUBTOTAL")
    private BigDecimal realShareSubtotal;


}
