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

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.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 特殊消费配置详情表
 * </p>
 *
 * @author hzs
 * @since 2023-07-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@KeySequence("BD_SPECIAL_CURRENCY_DETAIL_SEQ")
@TableName("BD_SPECIAL_CURRENCY_DETAIL")
public class BdSpecialCurrencyDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

    /**
     * 特殊消费配置主键
     */
    @TableField("PK_SPECIAL_CURRENCY")
    private Integer pkSpecialCurrency;

    /**
     * 账户类型
     */
    @TableField("PK_ACCOUNT")
    private Integer pkAccount;

    /**
     * 扣除顺序
     */
    @TableField("DEDUCT_SORT")
    private Integer deductSort;

    /**
     * 扣除比例
     */
    @TableField("DEDUCT_RATIO")
    private BigDecimal deductRatio;


}
