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.annotation.Excel;
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 hzs
 * @since 2022-11-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("BD_WITHDRAWAL_TAX_DETAILS")
@KeySequence("BD_WITHDRAWAL_TAX_DETAILS_SEQ")
public class BdWithdrawalTaxDetails extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

    /**
     * 提现个税设置主表主键
     */
    @TableField("PK_WITHDRAWAL_TAX")
    private Integer pkWithdrawalTax;

    /**
     * 个税下界
     */
    @Excel(name = "个税下界(￥)",sort = 5)
    @TableField("LOWER_BOUND")
    private BigDecimal lowerBound;

    /**
     * 个税上界
     */
    @Excel(name = "个税上界(￥)",sort = 6)
    @TableField("UPPER_BOUND")
    private BigDecimal upperBound;

    /**
     * 个税扣除
     */
    @Excel(name = "个税扣除(%)",sort = 7)
    @TableField("RATIO")
    private BigDecimal ratio;


}
