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

import java.math.BigDecimal;

/**
 * <p>
 * 转账特殊设置表
 * </p>
 *
 * @author zhangjing
 * @since 2022-09-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("BD_TRANSFER_SPECIAL")
@KeySequence("BD_TRANSFER_SPECIAL_SEQ")
public class BdTransferSpecial extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

    /**
     * 转账表主键
     */
    @TableField("PK_TRANSFER")
    private Integer pkTransfer;

    /**
     * 转账特殊设置 来源枚举 ETransferSpecial
     */
    @TableField("SPECIAL_CONFIG")
    private Integer specialConfig;

    /**
     * 会员主键
     */
    @TableField("PK_MEMBER")
    private Long pkMember;

    /**
     * 最低转账金额
     */
    @TableField("MIN_AMOUNT_MONEY")
    private BigDecimal minAmountMoney;


}
