package com.ho.business.vo.resp.configure;

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

import java.util.List;

@Data
public class TreeNodeResp {

    @ApiModelProperty(value = "电站id")
    Integer stationId;

    @ApiModelProperty(value = "设备id")
    Integer id;

    @ApiModelProperty(value = "设备名称")
    String label;

    @ApiModelProperty(value = "设备类型")
    String deviceType;

    @ApiModelProperty(value = "pid",hidden = true)
    Integer pid;

    @ApiModelProperty(value = "类别")
    Integer category;

    @ApiModelProperty(value = "1:虚拟设备, 0:真实设备, 默认0")
    private Integer virtual;

    @ApiModelProperty(value = "真实设备的src_id")
    private Integer fromId;

    @ApiModelProperty(value = "子集合")
    List<TreeNodeResp> children;
}
