package com.muchinfo.mtp3pojos.entity;

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;

/**
 * <p>
 * 托管银行签约银行表
 * </p>
 *
 * @author XKF
 * @since 2025-05-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("BANK_CUSBANKSIGNBANK")
@ApiModel(value="BankCusbanksignbank对象", description="托管银行签约银行表")
public class BankCusbanksignbank extends Model<BankCusbanksignbank> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "托管银行ID")
    @TableId(value = "CUSBANKID")
    private String cusbankid;

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

    @TableField(select = false)
    private String bankname;

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

}
