package com.inspect.metadata.eqpbook.domain.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

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

@Setter
@Getter
public class BasedataAreaEquTreeVo implements Serializable {
    private static final long serialVersionUID = 1L;
    private String id;
    private String label;
    private String parentId;
    private Long areaId;
    private String areaName;
    private String areaFlag;
    private String areaType;
    @JsonProperty("eqpbookId")
    private Long eqpBookId;
    @JsonProperty("patroldeviceFlag")
    private String patrolDeviceFlag;
    @JsonProperty("patroldeviceCode")
    private String patrolDeviceCode;
    @JsonProperty("patroldeviceName")
    private String patrolDeviceName;
    @JsonProperty("patroldeviceType")
    private String patrolDeviceType;
    @JsonProperty("patroldeviceOnlineStatus")
    private String patrolDeviceOnlineStatus;
    private Long channelId;
    private String channelCode;
    private String channelName;
    private String channelFlag;
    private String address;
    private String type;
    private String host;
    private String port;
    private String channelType;
    @JsonInclude(Include.NON_EMPTY)
    private List<BasedataAreaEquTreeVo> children;

}
