Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
deviceCheat
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
luozhenzhen
deviceCheat
Commits
367c0cae
Commit
367c0cae
authored
5 years ago
by
luozhenzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
追加设备信息的接受时间
parent
6ce15b88
master
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
DeviceInfo.java
src/main/java/com/demo/entity/po/DeviceInfo.java
+12
-0
No files found.
src/main/java/com/demo/entity/po/DeviceInfo.java
View file @
367c0cae
...
@@ -2,12 +2,15 @@ package com.demo.entity.po;
...
@@ -2,12 +2,15 @@ package com.demo.entity.po;
import
org.springframework.data.mongodb.core.mapping.Document
;
import
org.springframework.data.mongodb.core.mapping.Document
;
import
java.util.Date
;
@Document
(
collection
=
"DeviceInfo"
)
@Document
(
collection
=
"DeviceInfo"
)
public
class
DeviceInfo
{
public
class
DeviceInfo
{
private
String
os
;
private
String
os
;
private
String
info
;
private
String
info
;
private
String
reyunId
;
private
String
reyunId
;
private
Long
timestamps
;
public
DeviceInfo
()
{
public
DeviceInfo
()
{
}
}
...
@@ -16,6 +19,7 @@ public class DeviceInfo {
...
@@ -16,6 +19,7 @@ public class DeviceInfo {
this
.
os
=
os
;
this
.
os
=
os
;
this
.
info
=
info
;
this
.
info
=
info
;
this
.
reyunId
=
reyunId
;
this
.
reyunId
=
reyunId
;
timestamps
=
new
Date
().
getTime
();
}
}
public
String
getOs
()
{
public
String
getOs
()
{
...
@@ -41,4 +45,12 @@ public class DeviceInfo {
...
@@ -41,4 +45,12 @@ public class DeviceInfo {
public
void
setReyunId
(
String
reyunId
)
{
public
void
setReyunId
(
String
reyunId
)
{
this
.
reyunId
=
reyunId
;
this
.
reyunId
=
reyunId
;
}
}
public
Long
getTimestamps
()
{
return
timestamps
;
}
public
void
setTimestamps
(
Long
timestamps
)
{
this
.
timestamps
=
timestamps
;
}
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment