package com.yuchen.saas.park.api.response;

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

import java.util.List;

/**
 * @ClassName DeviceTreeResponse
 * @Description 设备树
 * @Author 肖祥
 * @Date 2022/10/5 14:50
 * @Version 1.0。0
 **/
@Data
public class DeviceTreeResponse {
    @ApiModelProperty(value = "名字")
    private String name;
    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "父级id")
    private Long parentId;
    @ApiModelProperty(value = "层级")
    private Integer level;
    @ApiModelProperty(value = "园区id")
    private Long parkId;
    @ApiModelProperty(value = "是否节点")
    private Boolean hasNode = true;
    @ApiModelProperty(value = "分类子级结构")
    private List<Object> childrenVoList;
}
