Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-standard-interfaces
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f02bc384
authored
Dec 30, 2021
by
levphon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
设备位置点数据落库单元测试
1 parent
e75be99b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
src/main/java/cn/com/glsx/stdinterface/modules/model/DeviceLocation.java
src/main/java/cn/com/glsx/stdinterface/modules/model/DeviceLocation.java
View file @
f02bc38
...
@@ -20,7 +20,7 @@ public class DeviceLocation {
...
@@ -20,7 +20,7 @@ public class DeviceLocation {
@Id
@Id
@Column
(
name
=
"id"
,
unique
=
true
,
nullable
=
false
)
@Column
(
name
=
"id"
,
unique
=
true
,
nullable
=
false
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
,
generator
=
"SELECT LAST_INSERT_ID()"
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
,
generator
=
"SELECT LAST_INSERT_ID()"
)
private
Integer
id
;
private
Long
id
;
/**
/**
* 设备号
* 设备号
...
@@ -30,11 +30,13 @@ public class DeviceLocation {
...
@@ -30,11 +30,13 @@ public class DeviceLocation {
/**
/**
* 最后gps时间
* 最后gps时间
*/
*/
@Column
(
name
=
"last_gps_time"
)
private
Date
lastGpsTime
;
private
Date
lastGpsTime
;
/**
/**
* 最后基站时间
* 最后基站时间
*/
*/
@Column
(
name
=
"last_bs_time"
)
private
Date
lastBsTime
;
private
Date
lastBsTime
;
/**
/**
...
@@ -45,20 +47,25 @@ public class DeviceLocation {
...
@@ -45,20 +47,25 @@ public class DeviceLocation {
/**
/**
* 对应大数据侧状态 1、静止 3、行驶
* 对应大数据侧状态 1、静止 3、行驶
*/
*/
@Column
(
name
=
"stay_status"
)
private
Integer
stayStatus
;
private
Integer
stayStatus
;
/**
/**
* 设备状态最新更新时间
* 设备状态最新更新时间
*/
*/
@Column
(
name
=
"stay_status_updatetime"
)
private
Date
stayStatusUpdatetime
;
private
Date
stayStatusUpdatetime
;
/**
/**
* 创建时间
* 创建时间
*/
*/
@Column
(
name
=
"created_time"
)
private
Date
createdTime
;
private
Date
createdTime
;
/**
/**
* 更新时间
* 更新时间
*/
*/
@Column
(
name
=
"updated_time"
)
private
Date
updatedTime
;
private
Date
updatedTime
;
}
}
\ No newline at end of file
\ No newline at end of file
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