package com.tmerclub.cloud.supplier.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

/**
 * 企业会员绑定对公户
 * @author LGH
 */
@Data
public class AllinpaySupplierBankCardDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    @Schema(description = "企业对公账户 AES加密", requiredMode = Schema.RequiredMode.REQUIRED)
    private String accountNo;

    @Schema(description = "开户银行名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String parentBankName;

    @Schema(description = "开户行地区代码 非必填")
    private String bankCityNo;

    @Schema(description = "开户支行名称 \t如：“中国工商银行股份有限公司北京樱桃园支行”", requiredMode = Schema.RequiredMode.REQUIRED)
    private String bankName;

    @Schema(description = "支付行号 12位数字", requiredMode = Schema.RequiredMode.REQUIRED)
    private String unionBank;

    @Schema(description = "开户行所在省 开户行所在市必须同时上送 非必填")
    private String province;

    @Schema(description = "开户行所在市 开户行所在省必须同时上送 非必填")
    private String city;

    @Schema(description = "银行卡属性 0法人 1企业对公")
    private Integer bankCardPro;

    @Schema(description = "供应商id")
    private Long supplierId;

}
