aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-10-20 15:32:56 +0500
committerAbyss777 <abyss@fox5.ru>2016-10-20 15:32:56 +0500
commitf7a00616b14821203f89e63d9c887b3e98b9826e (patch)
tree574078027988b1c6225b64e3ac8c6816ddef2016 /src
parentdd6170837ebcda6303410f741b14e162e2ff2a29 (diff)
downloadtrackermap-server-f7a00616b14821203f89e63d9c887b3e98b9826e.tar.gz
trackermap-server-f7a00616b14821203f89e63d9c887b3e98b9826e.tar.bz2
trackermap-server-f7a00616b14821203f89e63d9c887b3e98b9826e.zip
Extend device model with management info
Diffstat (limited to 'src')
-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..47b8fb2a6 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 type;
+
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
}