package com.zhgd.xmgl.modules.basicdata.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: AI预警记录
 * @author： pengj
 * @date： 2023-03-04
 * @version： V1.0
 */
@Data
@TableName("ai_monitor_alarm")
@ApiModel(value = "AiMonitorAlarm实体类", description = "AiMonitorAlarm")
public class AiMonitorAlarm implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * AI预警ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "AI预警ID")
    private Long id;
    /**
     * 设备CODE
     */
    @Excel(name = "设备CODE", width = 15)
    @ApiModelProperty(value = "设备CODE")
    private String deviceCode;
    /**
     * AI盒子编码
     */
    @Excel(name = "AI盒子编码", width = 15)
    @ApiModelProperty(value = "AI盒子编码")
    private String hardwareId;
    /**
     * 隐患类型
     */
    @Excel(name = "隐患类型", width = 15)
    @ApiModelProperty(value = "隐患类型")
    private Integer type;
    /**
     * 下达时间
     */
    @ApiModelProperty(value = "下达时间")
    private Date createTime;
    /**
     * 图片显示
     */
    @Excel(name = "图片显示", width = 15)
    @ApiModelProperty(value = "图片显示")
    private String image;
    /**
     * 项目唯一标识
     */
    @Excel(name = "项目唯一标识", width = 15)
    @ApiModelProperty(value = "项目唯一标识")
    private String projectSn;
    /**
     * 工程sn
     */
    @Excel(name = "工程sn", width = 15)
    @ApiModelProperty(value = "工程sn")
    private String engineeringSn;

    /**
     * 设备名称
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    /**
     * 报警类型名称
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "报警类型名称")
    private String typeName;
}
