diff options
author | Abyss777 <abyss@fox5.ru> | 2017-02-21 15:20:25 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-02-21 15:20:25 +0500 |
commit | bd2a8efaddacbd8d8386ae38f000b633845639ab (patch) | |
tree | 80d4454311d9656fe79850ebcdb4131e3cc32634 /src/org/traccar/model | |
parent | b6af1e997c125336e2ce9f5056d9502743f22034 (diff) | |
download | trackermap-server-bd2a8efaddacbd8d8386ae38f000b633845639ab.tar.gz trackermap-server-bd2a8efaddacbd8d8386ae38f000b633845639ab.tar.bz2 trackermap-server-bd2a8efaddacbd8d8386ae38f000b633845639ab.zip |
Implement SMS notifications with help smpp protocol
Diffstat (limited to 'src/org/traccar/model')
-rw-r--r-- | src/org/traccar/model/Notification.java | 10 | ||||
-rw-r--r-- | src/org/traccar/model/User.java | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/src/org/traccar/model/Notification.java b/src/org/traccar/model/Notification.java index dd5f66f15..6c61cafaf 100644 --- a/src/org/traccar/model/Notification.java +++ b/src/org/traccar/model/Notification.java @@ -56,4 +56,14 @@ public class Notification extends Extensible { public void setMail(boolean mail) { this.mail = mail; } + + private boolean sms; + + public boolean getSms() { + return sms; + } + + public void setSms(boolean sms) { + this.sms = sms; + } } diff --git a/src/org/traccar/model/User.java b/src/org/traccar/model/User.java index a89a75dd8..274f2b2a2 100644 --- a/src/org/traccar/model/User.java +++ b/src/org/traccar/model/User.java @@ -42,6 +42,16 @@ public class User extends Extensible { this.email = email; } + private String phone; + + public String getPhone() { + return phone; + } + + public void setPhone(String phone) { + this.phone = phone; + } + private boolean readonly; public boolean getReadonly() { |