package com.zksy.base.domain.vo;

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

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@ApiModel("异常设备VO")
public class AbnormalDeviceVO {

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

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

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

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

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

    @ApiModelProperty("经度")
    private BigDecimal longitude;

    @ApiModelProperty("纬度")
    private BigDecimal latitude;

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

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

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

    @ApiModelProperty("当前状态 1-在用 2-闲置 3-维修 4-报废 5-待入库")
    private Integer currentStatus;

    @ApiModelProperty("报警状态 0-正常 1-报警")
    private Integer alarmStatus;

    @ApiModelProperty("在线状态 0-离线 1-在线")
    private Integer onlineStatus;

    @ApiModelProperty("告警等级 1-4，1级最高")
    private Integer alertLevel;

    @ApiModelProperty("最新工单号")
    private String latestMaintainId;

    @ApiModelProperty("最新工单状态")
    private String latestMaintainStatus;

    @ApiModelProperty("最新工单维修人")
    private String latestMaintainPerson;

    @ApiModelProperty("状态更新时间")
    private LocalDateTime statusUpdateTime;
}
