package org.springblade.modules.netty.business.entity;
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 对接设备信息记录表 实体类
|
*
|
* @author zhongrj
|
* @since 2023-02-23
|
*/
|
@Data
|
@TableName("sys_police_car_equipment_record")
|
public class PoliceCarEquipmentRecord implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键id
|
*/
|
private Long id;
|
|
/**
|
* 设备id
|
*/
|
private Long policeCarEquipmentId;
|
|
/**
|
* 设备状态 0:离线 1:在线
|
*/
|
private Integer status;
|
|
/**
|
* 终端编号
|
*/
|
private String terminalNumber;
|
|
/**
|
* 经度
|
*/
|
private String longitude;
|
|
/**
|
* 纬度
|
*/
|
private String latitude;
|
|
/**
|
* 速度,单位 米/秒
|
*/
|
private String speed;
|
|
/**
|
* 方向,以正北方向为 0 角度,顺时针方向偏转
|
*/
|
private String direction;
|
|
/**
|
* 高程,单位:米
|
*/
|
private String elevation;
|
|
/**
|
* 精度
|
*/
|
private String precisions;
|
|
/**
|
* 日期
|
*/
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date receiveTime;
|
|
/**
|
* 创建时间
|
*/
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date createTime;
|
}
|