package com.bcxin.api.interfaces.commons.responses;

import lombok.Data;

import java.io.Serializable;
import java.util.List;


/**
 * description: 监管机构表
 * author: linchunpeng
 * date:  2023-05-09 18:02
 */
@Data
public class SuperviseDepartmentResponse implements Serializable {


    /**
     * id
     */
    private String id;

    /**
     * 名称
     */
    private String name;

    /**
     * 上级编码
     */
    private String superior;

    /**
     * 层级
     */
    private String indexCode;

    /**
     * 子节点
     */
    private List<SuperviseDepartmentResponse> children;

    public SuperviseDepartmentResponse() {
    }

    public SuperviseDepartmentResponse(String id, String name, String superior, String indexCode,  List<SuperviseDepartmentResponse> children) {
        this.id = id;
        this.name = name;
        this.superior = superior;
        this.indexCode = indexCode;
        this.children = children;
    }
}
