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
Sep 16, 2019
by
luozhenzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
追加设备信息的接受时间
parent
6ce15b88
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;
import
org.springframework.data.mongodb.core.mapping.Document
;
import
java.util.Date
;
@Document
(
collection
=
"DeviceInfo"
)
public
class
DeviceInfo
{
private
String
os
;
private
String
info
;
private
String
reyunId
;
private
Long
timestamps
;
public
DeviceInfo
()
{
}
...
...
@@ -16,6 +19,7 @@ public class DeviceInfo {
this
.
os
=
os
;
this
.
info
=
info
;
this
.
reyunId
=
reyunId
;
timestamps
=
new
Date
().
getTime
();
}
public
String
getOs
()
{
...
...
@@ -41,4 +45,12 @@ public class DeviceInfo {
public
void
setReyunId
(
String
reyunId
)
{
this
.
reyunId
=
reyunId
;
}
public
Long
getTimestamps
()
{
return
timestamps
;
}
public
void
setTimestamps
(
Long
timestamps
)
{
this
.
timestamps
=
timestamps
;
}
}
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