package com.njcn.device.pojo.vo;

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

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

/**
 * pqs
 * 终端树实体
 * @author cdf
 * @date 2021/7/19
 */
@ApiModel
@Data
public class TerminalTree {
    private String id;
    @ApiModelProperty(name = "parentId",value = "父id")
    private String pid;
    @ApiModelProperty(name = "level",value = "等级")
    private Integer level;
    @ApiModelProperty(name = "name",value = "名称")
    private String name;
    @ApiModelProperty(name = "sort",value = "排序")
    private Integer sort;
    @ApiModelProperty(name = "comFlag",value = "设备状态")
    private Integer comFlag;
    @ApiModelProperty(name = "children",value = "子节点")
    private List<TerminalTree> children = new ArrayList<>();

    private String pids;

    /**
     * 终端厂家
     */
    private String manufacturer;

    /**
     * 电压等级Id，字典表
     */
    private String scale;

    /**
     * 干扰源类型,字典表
     */
    private String loadType;

    /**
     * 接线方式
     */
    private Integer ptType;
}
