Newer
Older
newfiber-termite / newfiber-termites / newfiber-termites-dataup / src / main / java / com / newfiber / termite / domain / DeviceInfo.java
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;

    /**
     *  设备类型(4G/WiFi)
     */
    @ApiModelProperty(value = "设备类型(4G/WiFi)")
    private String deviceType;

    /**
     *  位置类型(内圈 inner | 外圈 outer)
     */
    @ApiModelProperty(value = "位置类型(内圈 inner | 外圈 outer)")
    private String locationType;

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

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

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

    /**
     *  图形编号
     */
    @ApiModelProperty(value = "图形编号")
    private String geometryNumber;

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

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

    /**
     * 上次加热时间
     */
    @ApiModelProperty(value = "上次加热时间")
    private Date lastHeatTime;

    /**
     * 上次投药时间
     */
    @ApiModelProperty(value = "上次投药时间")
    private Date lastMedicateTime;

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

    /**
     * 是否投过药(1是 | 2 否)
     */
    @ApiModelProperty(value = "是否投过药(1是 | 2 否)")
    private String druging;

    /**
     *同步状态(成功 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;

    /**
     *
     */
    @ApiModelProperty(value = "模块厂商")
    private String lteManufactor;

    /**
     *
     */
    @ApiModelProperty(value = "模块型号")
    private String lteModel;

    /**
     *
     */
    @ApiModelProperty(value = "固件版本")
    private String lteFirmware;

    /**
     *
     */
    @ApiModelProperty(value = "IMEI")
    private String lteImei;

    /**
     *
     */
    @ApiModelProperty(value = "ICCID")
    private String lteIccid;

    /**
     *
     */
    @ApiModelProperty(value = "服务商")
    private String lteCpos;

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

    @ApiModelProperty(value = "防治图片上传周期(小时)")
    private String uploadCycleHour;

    @ApiModelProperty(value = "防治图片最后上传同步时间")
    private Date lastSyncTime;

    @ApiModelProperty(value = "自动加热 默认enable 加热-enable | 不加热-disabled")
    private String autoHeat;

    @TableField(exist = false)
    @ApiModelProperty(value = "OEM厂商的配置读取接口地址")
    private String oemConfigApi;
    // DB Property

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

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

}