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

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

import java.util.List;

/**
 * @author fancl
 * @desc:
 * @date 2023/3/10
 */
@Data
public class PointDeviceResp {

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

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

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

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

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

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

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

    @ApiModelProperty(value = "子集合")
    List<PointDeviceResp> childrenList;

}
