package com.yeejoin.amos.boot.module.statistics.api.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiParam;
import lombok.Data;

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

/**
 * @author Administrator
 * 树节点
 */
@Data
@ApiModel(value = "树节点")
public class TreeNodeVo {

    @ApiParam(value = "节点唯一标识")
    private String id;

    @ApiParam(value = "节点名称")
    private String name;

    @ApiParam(value = "节点类型")
    private String nodeType;

    @ApiParam(value = "父id")
    private String parentId;

    @ApiParam(value = "节点code")
    private String code;

    @ApiParam(value = "字节点")
    private List<TreeNodeVo> children = new ArrayList<>();

}
