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 lombok.Data; import lombok.EqualsAndHashCode; import java.util.Date; @Data @TableName("ter_device_info") @EqualsAndHashCode(callSuper = true) @ApiModel(value = "设备信息", description = "设备信息") public class SnDeviceInfo 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; /** * 扩展配置(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; // DB Property /** * 上传地址 */ @TableField(exist = false) @ApiModelProperty(value = "上传地址") private String uploadApi; /** * 项目名称 */ @TableField(exist = false) @ApiModelProperty(value = "项目名称") private String projectName; @ApiModelProperty(value = "是否在线") private String isOnline; @ApiModelProperty(value = "有无白蚁") private String yesnoant; @ApiModelProperty(value = "告警时间") private String snDate; }