package com.njcn.user.pojo.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * pqs
 *
 * @author cdf
 * @date 2022/7/11
 */
@Data
public class PvTerminalTreeVO {

    @ApiModelProperty(name = "id",value = "id")
    private String id;

    @ApiModelProperty(name = "pid",value = "父级id")
    private String pid;

    @ApiModelProperty(name = "pids",value = "父级ids")
    private String pids;

    @ApiModelProperty(name = "name",value = "名称")
    private String name;

    @ApiModelProperty(name = "code",value = "单位编号")
    private String code;

    @ApiModelProperty(name = "level",value = "层级 1.全国 2.省级 3.市级 4.县级")
    private Integer level;



    @ApiModelProperty(name = "children",value = "子级")
    private List<PvTerminalTreeVO> children = new ArrayList<>();
}
