aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model/Device.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2012-06-12 11:17:02 +0400
committerAnton Tananaev <anton.tananaev@gmail.com>2012-06-12 11:17:02 +0400
commit6532c4c2e6d0d5a00c6e80c90c171448970e78fa (patch)
tree205a016812fd4a665f4ae7f2b98a63e504b0a790 /src/org/traccar/model/Device.java
parent3687acb3a93b3f8332de5a9fa7d99be4a665bbdd (diff)
downloadtrackermap-server-6532c4c2e6d0d5a00c6e80c90c171448970e78fa.tar.gz
trackermap-server-6532c4c2e6d0d5a00c6e80c90c171448970e78fa.tar.bz2
trackermap-server-6532c4c2e6d0d5a00c6e80c90c171448970e78fa.zip
Add phone number and unique id to Device
Diffstat (limited to 'src/org/traccar/model/Device.java')
-rw-r--r--src/org/traccar/model/Device.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/org/traccar/model/Device.java b/src/org/traccar/model/Device.java
index 4b911d805..1276216fc 100644
--- a/src/org/traccar/model/Device.java
+++ b/src/org/traccar/model/Device.java
@@ -46,4 +46,30 @@ public class Device {
this.imei = imei;
}
+ /**
+ * Phone number
+ */
+ private String phoneNumber;
+
+ public String getPhoneNumber() {
+ return phoneNumber;
+ }
+
+ public void setPhoneNumber(String phoneNumber) {
+ this.phoneNumber = phoneNumber;
+ }
+
+ /**
+ * Unique id (for some trackers)
+ */
+ private String uniqueId;
+
+ public String getUniqueId() {
+ return uniqueId;
+ }
+
+ public void setUniqueId(String uniqueId) {
+ this.uniqueId = uniqueId;
+ }
+
}