Newer
Older
newfiber-termite / newfiber-termites / newfiber-termites-dataup / src / main / java / com / newfiber / termite / domain / DeviceInfo.java
@xiongkai xiongkai on 9 Jul 2 KB 图片添加水印
package com.newfiber.termite.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.newfiber.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 设备信息对象 ter_device_info
 * 
 * @author X.K
 * @date 2024-05-27
 */
@Data
@TableName("ter_device_info")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "设备信息", description = "设备信息")
public class DeviceInfo extends BaseEntity{

    private static final long serialVersionUID = 1L;

    /**
     *  分类(生产 production | 项目 project)
     */
    @ApiModelProperty(value = "分类(生产 production | 项目 project)")
    private String category;

    /**
     *  项目编号
     */
    @ApiModelProperty(value = "项目编号")
    private String projectCode;

    /**
     *  设备编号
     */
    @ApiModelProperty(value = "设备编号")
    private String sn;

    /**
     *  设备地址
     */
    @ApiModelProperty(value = "设备地址")
    private String location;

    /**
     *  初始照片
     */
    @ApiModelProperty(value = "初始照片")
    private String initialpictu;

    /**
     *  经纬度
     */
    @ApiModelProperty(value = "经纬度")
    private String lonandlat;

    /**
     *  扩展配置(JSON)
     */
    @ApiModelProperty(value = "扩展配置(JSON)")
    private String extendConfig;

    /**
     *  
     */
    @ApiModelProperty(value = "")
    private Date lastPicTime;

    /**
     *  首次报警时间(连续3次手动确认则报警)
     */
    @ApiModelProperty(value = "首次报警时间(连续3次手动确认则报警)")
    private Date firstWarnDatetime;

    /**
     *同步状态(成功 success | 失败 fail)
     */
    @ApiModelProperty(value = "同步状态(成功 success | 失败 fail)")
    private String syncState;

    /**
     *
     */
    @ApiModelProperty(value = "软件版本")
    private String software;

    /**
     *
     */
    @ApiModelProperty(value = "硬件版本")
    private String hardware;

    /**
     *
     */
    @ApiModelProperty(value = "电压")
    private String voltage;

    /**
     *
     */
    @ApiModelProperty(value = "温度")
    private String temperature;

    /**
     *
     */
    @ApiModelProperty(value = "信号质量")
    private String rssi;

    /**
     *
     */
    @ApiModelProperty(value = "中继名称")
    private String ap;

    /**
     *
     */
    @ApiModelProperty(value = "摄像头")
    private String camera;

    // DB Property

    /**
     *  上传地址
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "上传地址")
    private String uploadApi;

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

}