package com.sz.admin.monitor.pojo.vo.tree;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * ClassName: NvrNodeDTO
 * Package: com.sz.admin.monitor.pojo.dto.tree
 * Description:
 */
@Data

public class NvrNodeVO extends TreeNodeVO {

    @Schema(description = "IP地址")
    private String ip;

    @Schema(description = "端口号")
    private Integer port;


    @Schema(description = "厂商")
    private String manufacturer;

    @Schema(description = "nvr的类型，1-大华, 0-海康威视")
    private Integer driver;

    @Schema(description = "在线状态：1-在线, 0-离线")
    private Integer status;


    public NvrNodeVO(Long id, String name, String ip, Integer port, Integer driver, Integer status) {
        super(id, name, 2);
        this.ip = ip;
        this.port = port;
        this.driver = driver;
        this.status = status;
    }
}
