package com.muchinfo.mtp3pojos.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 银行信息表（清算中心Bank表)
 * </p>
 *
 * @author XKF
 * @since 2024-05-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("BANK_BANKINFO")
@ApiModel(value="BankBankinfo对象", description="银行信息表（清算中心Bank表)")
public class BankBankinfo extends Model<BankBankinfo> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "银行ID")
    @TableId(value = "BANKID")
    private String bankid;

    @ApiModelProperty(value = "银行名称")
    @TableField("BANKNAME")
    private String bankname;

    @ApiModelProperty(value = "清算系统银行编号")
    @TableField("CLEARBANKNO")
    private String clearbankno;

    @ApiModelProperty(value = "状态 - 0:正常 1:注销")
    @TableField("STATUS")
    private Integer status;

    @ApiModelProperty(value = "排序顺序")
    @TableField("ORDERINDEX")
    private BigDecimal orderindex;


    @Override
    public Serializable pkVal() {
        return this.bankid;
    }

}
