diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-02-25 17:55:09 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-25 17:55:09 +1300 |
commit | e4aa15f0eb0646d6158fd8386f8f9c5477db6bfe (patch) | |
tree | 05c597d59b9dde5199721e0076a372cfbceab419 /src/org/traccar/model | |
parent | 981ab9d051d0b84cdc256fa48883f2c214e8bc3c (diff) | |
parent | e8500e8f6c440277d60e0418ab6a82f4bf80b887 (diff) | |
download | traccar-server-e4aa15f0eb0646d6158fd8386f8f9c5477db6bfe.tar.gz traccar-server-e4aa15f0eb0646d6158fd8386f8f9c5477db6bfe.tar.bz2 traccar-server-e4aa15f0eb0646d6158fd8386f8f9c5477db6bfe.zip |
Merge pull request #2942 from Abyss777/smpp
Implement SMS notifications with help of 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() { |