diff options
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() { |