package xiaoqu.home.open.controller.output;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import xiaoqu.home.open.controller.output.grid.GridTreeOutput;

import java.util.List;
import java.util.Map;

@ApiModel(value = "树节点输出",description = "单一结构")
@Data
public class TreeNodeEntity {

    @ApiModelProperty(value = "当前数据唯一id")
    private Long id;

    @ApiModelProperty(value = "名称")
    private String name;
    @ApiModelProperty(value = "子ids")
    private String childrenIds;

    @ApiModelProperty(value = "级别")
    private Integer level;

    @ApiModelProperty(value = "下级详情")
    List<TreeNodeEntity> childrenNode;
}
