package com.zksy.base.domain.vo;

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

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

@Data
@ApiModel("设备详情VO（GIS一张图用）")
public class DeviceDetailVO {

    @ApiModelProperty("设备ID")
    private String equipmentId;

    @ApiModelProperty("设备编码")
    private String equipmentCode;

    @ApiModelProperty("设备名称")
    private String equipmentName;

    @ApiModelProperty("设备型号")
    private String equipmentModel;

    @ApiModelProperty("设备类型ID")
    private String equipmentTypeId;

    @ApiModelProperty("设备类型名称")
    private String equipmentTypeName;

    @ApiModelProperty("设备经度")
    private java.math.BigDecimal longitude;

    @ApiModelProperty("设备纬度")
    private java.math.BigDecimal latitude;

    @ApiModelProperty("百度经度")
    private java.math.BigDecimal bdLon;

    @ApiModelProperty("百度纬度")
    private java.math.BigDecimal bdLat;

    @ApiModelProperty("设备位置")
    private String equipmentLocation;

    @ApiModelProperty("制造商")
    private String manufacturer;

    @ApiModelProperty("安装时间")
    private LocalDateTime installTime;

    @ApiModelProperty("设备负责人")
    private String maintainer;

    @ApiModelProperty("维护人员电话")
    private String maintainerPhone;

    @ApiModelProperty("权属单位")
    private String ownershipUnit;

    @ApiModelProperty("在线状态")
    private Integer onlineStatus;

    @ApiModelProperty("报警状态")
    private Integer alarmStatus;

    @ApiModelProperty("当前状态")
    private Integer currentStatus;

    @ApiModelProperty("最新监测数据（动态字段）")
    private Map<String, Object> latestData;

    @ApiModelProperty("最新数据时间")
    private LocalDateTime lastDataTime;

    @ApiModelProperty("最近维修记录")
    private Map<String, Object> latestMaintain;
}
