|
@@ -4,8 +4,10 @@ import com.baomidou.mybatisplus.annotation.TableName;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
import java.time.LocalDate;
|
|
import java.time.LocalDate;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
-import java.time.LocalDateTime;
|
|
|
|
import java.io.Serializable;
|
|
import java.io.Serializable;
|
|
|
|
+import java.util.Date;
|
|
|
|
+
|
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import lombok.Data;
|
|
import lombok.Data;
|
|
import lombok.EqualsAndHashCode;
|
|
import lombok.EqualsAndHashCode;
|
|
import lombok.experimental.Accessors;
|
|
import lombok.experimental.Accessors;
|
|
@@ -31,9 +33,11 @@ public class EartagEartagRegister2 implements Serializable {
|
|
|
|
|
|
private String earmark;
|
|
private String earmark;
|
|
|
|
|
|
- private LocalDateTime firstTime;
|
|
|
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
|
|
|
+ private Date firstTime;
|
|
|
|
|
|
- private LocalDateTime lastTime;
|
|
|
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
|
|
|
+ private Date lastTime;
|
|
|
|
|
|
private String firstDevice;
|
|
private String firstDevice;
|
|
|
|
|
|
@@ -41,7 +45,8 @@ public class EartagEartagRegister2 implements Serializable {
|
|
|
|
|
|
private String lastDevice;
|
|
private String lastDevice;
|
|
|
|
|
|
- private LocalDateTime registerTime;
|
|
|
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
|
|
|
+ private Date registerTime;
|
|
|
|
|
|
private Integer registerType;
|
|
private Integer registerType;
|
|
|
|
|
|
@@ -51,11 +56,13 @@ public class EartagEartagRegister2 implements Serializable {
|
|
|
|
|
|
private Integer activeStatus;
|
|
private Integer activeStatus;
|
|
|
|
|
|
- private LocalDateTime activeTime;
|
|
|
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
|
|
|
+ private Date activeTime;
|
|
|
|
|
|
private Integer liveStatus;
|
|
private Integer liveStatus;
|
|
|
|
|
|
- private LocalDate createDate;
|
|
|
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
|
|
|
+ private Date createDate;
|
|
|
|
|
|
private Integer bat;
|
|
private Integer bat;
|
|
|
|
|