package org.springblade.modules.animalheat.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 com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* @title 体温数据表
|
* @author arsn
|
* @time 2021-2-25
|
*/
|
@Data
|
@TableName("blade_animal_heat")
|
public class BladeAnimalHeat implements Serializable {
|
|
private static final long serialVersionUID = 4356978043337357357L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;// bigint(20) NOT NULL COMMENT '主键',
|
|
private Integer method;// int(1) NOT NULL COMMENT '方法名: 0 表示 infrared_aiom_picture 图片数据, 1 表示 engine_echo 心跳包 ',
|
|
private String serialno;//varchar(20) 序列号
|
|
private String ip;// varchar(63) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '设备IP地址',
|
|
private String picture;// varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '图片url路径',
|
|
@TableField("picture_red")
|
private String pictureRed;// varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '红外图片url路径',
|
|
@TableField("temp_red")
|
private Float tempRed;// float(4,2) DEFAULT NULL COMMENT '当前人员的温度',
|
|
@TableField(value = "person_rect")
|
private String personRect;// varchar(63) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '人脸位置二位数组,[left,top,right,bottom]',
|
|
@TableField("person_rect_red")
|
private String personRectRed;// varchar(63) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '红外人脸位置二位数组,[left,top,right,bottom]',
|
|
@TableField("create_time")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
private Date createTime;// datetime DEFAULT NULL COMMENT '创建时间',
|
|
private Integer status;//状态 1为高温 0为正常 ,以37度为标准,大于37度为高温
|
|
}
|