
package com.tmerclub.cloud.supplier.model;

import com.tmerclub.cloud.common.model.BaseModel;

import java.io.Serial;
import java.io.Serializable;


/**
 * 银行卡信息
 *
 * @author lhd
 * @date 2022-03-14 17:04:32
 */
public class SupplierBankCard extends BaseModel implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    /**
     * 银行卡自增id
     */
    private Long supplierBankCardId;

    /**
     * 供应商ID
     */
    private Long supplierId;

    /**
     * 银行名称
     */
    private String bankName;

    /**
     * 银行开户行
     */
    private String openingBank;

    /**
     * 收款方户名
     */
    private String recipientName;

    /**
     * 收款方账户
     */
    private String cardNo;

    /**
     * 是否默认 1:默认 0:非默认
     */
    private Integer isDefault;

    /**
     * 支行名称
     */
    private String branchName;

    /**
     * 银行卡号
     */
    private String bankCardNo;

    /**
     * 银行卡/账户属性 0个人银行卡 1企业对公账户
     */
    private Integer bankCardPro;

    /**
     * 支付行号
     */
    private String unionBank;

    /**
     * 1.正常，-1.已删除
     */
    private Integer status;

    public Long getSupplierBankCardId() {
        return supplierBankCardId;
    }

    public void setSupplierBankCardId(Long supplierBankCardId) {
        this.supplierBankCardId = supplierBankCardId;
    }

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getOpeningBank() {
        return openingBank;
    }

    public void setOpeningBank(String openingBank) {
        this.openingBank = openingBank;
    }

    public String getRecipientName() {
        return recipientName;
    }

    public void setRecipientName(String recipientName) {
        this.recipientName = recipientName;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public Integer getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(Integer isDefault) {
        this.isDefault = isDefault;
    }

    public String getBranchName() {
        return branchName;
    }

    public void setBranchName(String branchName) {
        this.branchName = branchName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getBankCardNo() {
        return bankCardNo;
    }

    public void setBankCardNo(String bankCardNo) {
        this.bankCardNo = bankCardNo;
    }

    public Integer getBankCardPro() {
        return bankCardPro;
    }

    public void setBankCardPro(Integer bankCardPro) {
        this.bankCardPro = bankCardPro;
    }

    public String getUnionBank() {
        return unionBank;
    }

    public void setUnionBank(String unionBank) {
        this.unionBank = unionBank;
    }

    @Override
    public String toString() {
        return "SupplierBankCard{" +
                "supplierBankCardId=" + supplierBankCardId +
                ", supplierId=" + supplierId +
                ", bankName='" + bankName + '\'' +
                ", openingBank='" + openingBank + '\'' +
                ", recipientName='" + recipientName + '\'' +
                ", cardNo='" + cardNo + '\'' +
                ", isDefault=" + isDefault +
                ", branchName='" + branchName + '\'' +
                ", bankCardNo='" + bankCardNo + '\'' +
                ", bankCardPro=" + bankCardPro +
                ", unionBank='" + unionBank + '\'' +
                ", status=" + status +
                '}';
    }
}
