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

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

import java.util.List;

/**
 * @Description TODO
 * Author yule
 * Date 2023/5/8 17:04
 */
@Data
public class DevicePointResp {

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

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

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

    @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 = "是否包含测点,1:包含测点,0:不包含测点")
    private Integer isContainCol;

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