package com.njcn.event.pojo.vo;

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

import java.util.List;

/**
 * @Description: 通用树
 * @Author: wr
 * @Date: 2023/8/30 9:41
 */
@Data
public class NodeVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("父级id")
    private String pid;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("次数")
    private Integer data = 0;

    @ApiModelProperty("子级")
    private List<NodeVO> children;

}
