package com.zhongshu.card.client.model.dahua;

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

import java.util.ArrayList;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BranchBankListResponseModel extends BaseResponseModel {

    @Schema(description = "支行列表")
    private ArrayList<Bank> branchBankList;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    class Bank {

        /**
         * 开户行行号
         */
        @Schema(description = "开户行行号")
        private String code;

        /**
         * 所属支行名称
         */
        @Schema(description = "所属支行名称")
        private String bankBranchName;

    }
}
