Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-standard-interfaces-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 385293c1
authored
May 15, 2022
by
向延琳
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
时间类型增加注解
1 parent
81b29d27
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
src/main/java/cn/com/glsx/stdinterface/dto/AlarmSecondDataDTO.java
src/main/java/cn/com/glsx/stdinterface/dto/AlarmSecondNearRelDTO.java
src/main/java/cn/com/glsx/stdinterface/dto/AlarmSecondDataDTO.java
View file @
385293c
package
cn
.
com
.
glsx
.
stdinterface
.
dto
;
package
cn
.
com
.
glsx
.
stdinterface
.
dto
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.Data
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.io.Serializable
;
...
@@ -42,6 +43,7 @@ public class AlarmSecondDataDTO implements Serializable {
...
@@ -42,6 +43,7 @@ public class AlarmSecondDataDTO implements Serializable {
/**
/**
* 二押区域报警时间
* 二押区域报警时间
*/
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
Date
alarmTime
;
private
Date
alarmTime
;
/**
/**
...
@@ -52,6 +54,7 @@ public class AlarmSecondDataDTO implements Serializable {
...
@@ -52,6 +54,7 @@ public class AlarmSecondDataDTO implements Serializable {
/**
/**
* 离开二押区域时间(当前还未动身的数据不记录到数据库)
* 离开二押区域时间(当前还未动身的数据不记录到数据库)
*/
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
Date
leaveTime
;
private
Date
leaveTime
;
/**
/**
...
@@ -72,6 +75,7 @@ public class AlarmSecondDataDTO implements Serializable {
...
@@ -72,6 +75,7 @@ public class AlarmSecondDataDTO implements Serializable {
/**
/**
* 事件时间,写入事件
* 事件时间,写入事件
*/
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
Date
eventTime
;
private
Date
eventTime
;
/**
/**
...
@@ -87,6 +91,7 @@ public class AlarmSecondDataDTO implements Serializable {
...
@@ -87,6 +91,7 @@ public class AlarmSecondDataDTO implements Serializable {
/**
/**
* 创建时间|入库时间
* 创建时间|入库时间
*/
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
Date
createdDate
;
private
Date
createdDate
;
/**
/**
...
@@ -97,6 +102,7 @@ public class AlarmSecondDataDTO implements Serializable {
...
@@ -97,6 +102,7 @@ public class AlarmSecondDataDTO implements Serializable {
/**
/**
* 更新时间
* 更新时间
*/
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
Date
updatedDate
;
private
Date
updatedDate
;
/**
/**
...
...
src/main/java/cn/com/glsx/stdinterface/dto/AlarmSecondNearRelDTO.java
View file @
385293c
package
cn
.
com
.
glsx
.
stdinterface
.
dto
;
package
cn
.
com
.
glsx
.
stdinterface
.
dto
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.Data
;
import
lombok.Data
;
import
javax.persistence.Column
;
import
javax.persistence.Column
;
...
@@ -39,6 +40,7 @@ public class AlarmSecondNearRelDTO implements Serializable {
...
@@ -39,6 +40,7 @@ public class AlarmSecondNearRelDTO implements Serializable {
/**
/**
* 创建时间|入库时间
* 创建时间|入库时间
*/
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
Date
createdDate
;
private
Date
createdDate
;
/**
/**
...
@@ -49,6 +51,7 @@ public class AlarmSecondNearRelDTO implements Serializable {
...
@@ -49,6 +51,7 @@ public class AlarmSecondNearRelDTO implements Serializable {
/**
/**
* 更新时间
* 更新时间
*/
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
Date
updatedDate
;
private
Date
updatedDate
;
/**
/**
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment