package com.sunwin.robot2ips.beans.dto;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 巡检数据
 * Created by shiwn on 2021/6/3 15:25
 */
@Data
@Accessors(chain = true)
@TableName("check_data")
public class CheckDataDTO {
    private Long id;
    private Integer robotId;
    private Integer taskId;
    private Long pointId;
    private String pointName;
    private Integer runTimes;

    private String image;
    private String infrared;
    /**
     * 视频
     */
    private String video;
    /**
     * 音频
     */
    private String audio;
    /**
     * 音频/局放图谱
     */
    private String spectrum;

    private Date time;
    private String result;
    /**
     * 异常标识，0-正常，1-异常
     */
    private Integer flag;
    /**
     * 告警等级，正常0、预警1、一般2、严重3、危急4
     */
    private Integer alarmLevel;
    /**
     * 识别状态，0-识别正确，1-识别错误
     */
    private Integer validityStatus;
    private Integer identifyType;
    private String auditResult;
    private Date auditTime;
    private Integer auditUserId;

    /***
     * 巡检点参照值,非表字段
     */
    @TableField(exist = false)
    private String parameter;
    /***
     * 巡检点上级设备id,非表字段
     */
    @TableField(exist = false)
    private Integer deviceId;

    @TableField(exist = false)
    private String taskName;
}
