diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-12-05 23:33:18 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-05 23:33:18 +1300 |
commit | 40607036c5aa6385a7ae3f3a283bf107238a5944 (patch) | |
tree | 72ff1743d96f79e4a9d85b0d48715e5f9aa67cf9 /src/org/traccar/model/Notification.java | |
parent | a9260f9e470add52f1fe3df35ea93e0d547c3fe7 (diff) | |
parent | effcde41e6f77df3829a9809f48fcc3aed9caade (diff) | |
download | trackermap-server-40607036c5aa6385a7ae3f3a283bf107238a5944.tar.gz trackermap-server-40607036c5aa6385a7ae3f3a283bf107238a5944.tar.bz2 trackermap-server-40607036c5aa6385a7ae3f3a283bf107238a5944.zip |
Merge pull request #2638 from Abyss777/improve_notifications
Use model instead of attributes to store Notification options
Diffstat (limited to 'src/org/traccar/model/Notification.java')
-rw-r--r-- | src/org/traccar/model/Notification.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/org/traccar/model/Notification.java b/src/org/traccar/model/Notification.java index 64e1ac60c..dd5f66f15 100644 --- a/src/org/traccar/model/Notification.java +++ b/src/org/traccar/model/Notification.java @@ -37,4 +37,23 @@ public class Notification extends Extensible { this.type = type; } + private boolean web; + + public boolean getWeb() { + return web; + } + + public void setWeb(boolean web) { + this.web = web; + } + + private boolean mail; + + public boolean getMail() { + return mail; + } + + public void setMail(boolean mail) { + this.mail = mail; + } } |