123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- package com.tofly.es;
- import com.baomidou.mybatisplus.annotation.FieldFill;
- import com.baomidou.mybatisplus.annotation.IdType;
- import com.baomidou.mybatisplus.annotation.TableField;
- import com.baomidou.mybatisplus.annotation.TableId;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import io.swagger.annotations.ApiModelProperty;
- import lombok.Data;
- import org.springframework.data.elasticsearch.annotations.Document;
- import org.springframework.format.annotation.DateTimeFormat;
- import java.io.Serializable;
- import java.util.Date;
- @Data
- @Document(indexName = "hnlspda_" + "#{T(com.tofly.common.core.util.Date8Util).getYearMonth()}", type = "pdadevice")
- public class PdaDeviceUpload implements Serializable {
- private static final long serialVersionUID = 1L;
-
- @TableId(value = "ID", type = IdType.INPUT)
- @ApiModelProperty(value = "数据唯一标识")
- private Long id;
- @ApiModelProperty(value = "上报用户ID")
- private Long userId;
- @ApiModelProperty(value = "上报用户名称")
- private String userName;
-
- @ApiModelProperty(value = "用户唯一标识")
- @TableField(value = "CREATE_USER", fill = FieldFill.INSERT)
- private Long createUser;
- @ApiModelProperty(hidden = true)
- private String createUserName;
-
- @ApiModelProperty(value = "gps状态 0:关闭 1:打开")
- private String gpsState;
-
- @ApiModelProperty(value = "定位网络(1 卫星定位,2 前次定位,4 缓存定位,5 Wifi定位,6 基站定位,8 离线定位,9 最后位置缓存)")
- private String network;
-
- @ApiModelProperty(value = "网络状态 0:关闭 1:打开")
- private String networkState;
-
- @ApiModelProperty(value = "设备检测时间")
- private Date checkTime;
-
- @ApiModelProperty(value = "上传时间")
- private Date uploadTime;
-
- @ApiModelProperty(value = "设备电量")
- private String electricity;
-
- @ApiModelProperty(value = "工作状态 1:上班 2:工作中 3:下班 4:异常")
- private String workState;
-
- @ApiModelProperty(value = "定位精度")
- private String gpsPrecision;
-
- @ApiModelProperty(value = "卫星个数")
- private Integer gpsStar;
-
- @ApiModelProperty(value = "剩余空间")
- private String residualSpace;
-
- @ApiModelProperty(value = "车载设备唯一标识,关联表TF_YWPN_GPSDEVICE_W关键值")
- private Long gpsDeviceid;
-
- @ApiModelProperty(value = "0:人巡 1:车巡")
- private String gpsType;
-
- @ApiModelProperty(value = "手机设备唯一标识")
- private String pdaid;
-
- @ApiModelProperty(value = "监控日期 yyyy/mm/dd")
- private Date monitorDate;
- }
|