aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-10-21 14:17:09 +1300
committerGitHub <noreply@github.com>2016-10-21 14:17:09 +1300
commiteb15c16571c0070ae60f39dce6ae974128ff1be1 (patch)
tree8195f8ab0e05ff23153782dec1444f8fda790264 /src/org/traccar
parentdd6170837ebcda6303410f741b14e162e2ff2a29 (diff)
parent1756637b8727f592712950e12a99521e5f5c636e (diff)
downloadtrackermap-server-eb15c16571c0070ae60f39dce6ae974128ff1be1.tar.gz
trackermap-server-eb15c16571c0070ae60f39dce6ae974128ff1be1.tar.bz2
trackermap-server-eb15c16571c0070ae60f39dce6ae974128ff1be1.zip
Merge pull request #2466 from Abyss777/device_management_info
Extend device model with management info
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/model/Device.java40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/org/traccar/model/Device.java b/src/org/traccar/model/Device.java
index e90742836..821984c47 100644
--- a/src/org/traccar/model/Device.java
+++ b/src/org/traccar/model/Device.java
@@ -101,4 +101,44 @@ public class Device extends Extensible {
public void setGeofenceIds(List<Long> geofenceIds) {
this.geofenceIds = geofenceIds;
}
+
+ private String phone;
+
+ public String getPhone() {
+ return phone;
+ }
+
+ public void setPhone(String phone) {
+ this.phone = phone;
+ }
+
+ private String model;
+
+ public String getModel() {
+ return model;
+ }
+
+ public void setModel(String model) {
+ this.model = model;
+ }
+
+ private String contact;
+
+ public String getContact() {
+ return contact;
+ }
+
+ public void setContact(String contact) {
+ this.contact = contact;
+ }
+
+ private String category;
+
+ public String getCategory() {
+ return category;
+ }
+
+ public void setCategory(String category) {
+ this.category = category;
+ }
}