package com.usky.ems.service.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 网关-通道-设备树节点（基础建模中间面板）
 * type: "gateway" / "channel" / "device"
 * id:   gateway/device 为 String，channel 为 Long
 */
@Data
public class EmsGatewayDeviceTreeNode {

    private Object id;
    private String name;
    private String type;
    
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private List<EmsGatewayDeviceTreeNode> children;
}
