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-03
 * @version： V1.0
 */
@Data
@TableName("ai_monitor_dev")
@ApiModel(value = "AiMonitorDev实体类", description = "AiMonitorDev")
public class AiMonitorDev implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * AI监控ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "AI监控ID")
    private Long aiMonitorId;
    /**
     * 项目sn
     */
    @Excel(name = "项目sn", width = 15)
    @ApiModelProperty(value = "项目sn")
    private String projectSn;
    /**
     * 工程sn
     */
    @Excel(name = "工程sn", width = 15)
    @ApiModelProperty(value = "工程sn")
    private String engineeringSn;
    /**
     * 监控名称
     */
    @Excel(name = "监控名称", width = 15)
    @ApiModelProperty(value = "监控名称")
    private String name;
    /**
     * 设备编码
     */
    @Excel(name = "设备编码", width = 15)
    @ApiModelProperty(value = "设备编码")
    private String code;
    /**
     * 设备状态(0:离线;1:在线;)
     */
    @Excel(name = "设备状态(0:离线;1:在线;)", width = 15)
    @ApiModelProperty(value = "设备状态(0:离线;1:在线;)")
    private Integer state;
    /**
     * 绑定时间
     */
    @Excel(name = "绑定时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "绑定时间")
    private Date createTime;
    /**
     * 显示排序 越小越靠前(排序字段)
     */
    @Excel(name = "显示排序 越小越靠前(排序字段)", width = 15)
    @ApiModelProperty(value = "显示排序 越小越靠前(排序字段)")
    private String priority;
    /**
     * 经度
     */
    @Excel(name = "经度", width = 15)
    @ApiModelProperty(value = "经度")
    private String lng;
    /**
     * 纬度
     */
    @Excel(name = "纬度", width = 15)
    @ApiModelProperty(value = "纬度")
    private String lat;
    /**
     * AI盒子编码
     */
    @Excel(name = "AI盒子编码", width = 15)
    @ApiModelProperty(value = "AI盒子编码")
    private String hardwareId;

    /**
     * 项目名称
     */
    @TableField(exist = false)
    @Excel(name = "项目名称", width = 15)
    @ApiModelProperty(value = "项目名称")
    private String projectName;

    /**
     * 工程名称
     */
    @TableField(exist = false)
    @Excel(name = "工程名称", width = 15)
    @ApiModelProperty(value = "工程名称")
    private String engineeringName;
}
