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;

/**
 * <p>
 * 混合支付银行信息表
 * </p>
 *
 * @author XKF
 * @since 2025-06-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("HYBRID_BANKINFO")
@ApiModel(value="HybridBankinfo对象", description="混合支付银行信息表")
public class HybridBankinfo extends Model<HybridBankinfo> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "银行代码")
    private String bankCode;

    @ApiModelProperty(value = "银行名称")
    @TableField("BANK_NAME")
    private String bankName;

    @ApiModelProperty(value = "渠道代码")
    @TableField("CHANNEL_CODE")
    private String channelCode;

    @ApiModelProperty(value = "出入金标志 0-出金 1-入金")
    @TableField("OUT_IN_FLAG")
    private Integer outInFlag;

    @ApiModelProperty(value = "方式类型")
    @TableField("METHOD_TYPE")
    private String methodType;

    @ApiModelProperty(value = "是否可用 0-未可用 1-可用")
    @TableField("IS_ENABLED")
    private Integer isEnabled;

    @ApiModelProperty(value = "备注")
    @TableField("REMARK")
    private String remark;


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

}
