package com.njcn.csdevice.pojo.vo;

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

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 类的介绍：
 *
 * @author xuyang
 * @version 1.0.0
 * @createTime 2023/5/29 19:47
 */
@Data
public class CsLedgerVO implements Serializable {

    @ApiModelProperty(name = "id",value = "id")
    private String id;

    @ApiModelProperty(name = "pid",value = "父id")
    private String pid;

    @ApiModelProperty(name = "pids",value = "父id集合")
    private String pids;

    @ApiModelProperty(name = "name",value = "名称")
    private String name;

    @ApiModelProperty(name = "path",value = "拓扑图路径")
    private String path;

    @ApiModelProperty(name = "provinceId",value = "省Id")
    private String provinceId;


    @ApiModelProperty(name = "cityId",value = "市Id")
    private String cityId;

    @ApiModelProperty(name = "area",value = "区域")
    private String area;

    @ApiModelProperty(name = "remark",value = "备注")
    private String remark;

    @ApiModelProperty(name = "sort",value = "排序")
    private Integer sort;

    @ApiModelProperty(name = "level",value = "等级")
    private Integer level;

    @ApiModelProperty(name = "comFlag",value = "设备状态")
    private Integer comFlag;

    @ApiModelProperty(name = "nDid",value = "nDid")
    private String nDId;

    @ApiModelProperty(name = "type",value = "类型 项目 工程 装置 监测点")
    private String type;

    @ApiModelProperty(name = "lineType",value = "监测点类型 0:治理监测点 1:电能质量监测点")
    private Integer lineType;

    @ApiModelProperty(name = "conType",value = "接线方式 0-星型 1-角型 2-V型")
    private Integer conType;

    @ApiModelProperty(name = "process",value = "流程状态")
    private Integer process;

    @ApiModelProperty(name = "isTop",value = "是否置顶,默认不置顶")
    private Integer isTop = 0;

    @ApiModelProperty(name = "devConType",value = "设备连接方式 MQTT || CLD")
    private String devConType;

    @ApiModelProperty(name = "监测点关联用户id")
    private String sensitiveUserId;

    @ApiModelProperty(name = "监测点关联用户名称")
    private String sensitiveUserName;

    @ApiModelProperty(name = "治理方案名称")
    private String governPlanName;

    @ApiModelProperty(name = "监测点线路号")
    private Integer lineNo;

    @ApiModelProperty(name = "children",value = "子节点")
    private List<CsLedgerVO> children = new ArrayList<>();


}
