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

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.sz.admin.monitor.pojo.dto.camera.CameraDTO;
import com.sz.admin.monitor.pojo.po.Nvr;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

/**
 * ClassName: NvrVO
 * Package: com.sz.admin.monitor.pojo.vo
 * Description:
 */
@Data
@Schema(description = "Nvr返回vo")
public class NvrVO {

    @Schema(description = "主键ID")
    private Long id;

    @Schema(description = "NVR设备名称")
    private String name;

    @Schema(description = "所属变电站Id")
    private Long stationId;

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

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

    @Schema(description = "登录用户名")
    private String account;

    @Schema(description = "密码")
    private String password;


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

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

    // 用于表格按钮刷新加载
    private Boolean isLoading=false;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;
}
