package com.hzs.common.domain.bonus;

import java.math.BigDecimal;

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

/**
 * <p>
 * 奖金扣项配置
 * </p>
 *
 * @author hzs
 * @since 2022-11-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("BD_BONUS_DEDUCT")
@KeySequence("BD_BONUS_DEDUCT_SEQ")
public class BdBonusDeduct extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

    /**
     * 奖金名称
     */
    @TableField("PK_BONUS_ITEMS")
    private Integer pkBonusItems;

    /**
     * 重消消费 %
     */
    @TableField("BACK_RATIO")
    private BigDecimal backRatio;

    /**
     * 平台消费 %
     */
    @TableField("PLATFORM_RATIO")
    private BigDecimal platformRatio;

}
