diff options
author | Abyss777 <abyss@fox5.ru> | 2016-12-04 17:33:17 +0700 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-12-04 17:33:17 +0700 |
commit | 6bfda86daaef7ce7b591f2fe1b33ab3b1d5ca2cd (patch) | |
tree | 1c11f3a9233a2a35ef921f6ab408984202da74b9 /src/org/traccar/model | |
parent | c9232000e595b0addd4bf7bbaf7a90e088c94624 (diff) | |
download | trackermap-server-6bfda86daaef7ce7b591f2fe1b33ab3b1d5ca2cd.tar.gz trackermap-server-6bfda86daaef7ce7b591f2fe1b33ab3b1d5ca2cd.tar.bz2 trackermap-server-6bfda86daaef7ce7b591f2fe1b33ab3b1d5ca2cd.zip |
Use model instead of attributes to store Notification options
Diffstat (limited to 'src/org/traccar/model')
-rw-r--r-- | src/org/traccar/model/Notification.java | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/org/traccar/model/Notification.java b/src/org/traccar/model/Notification.java index 64e1ac60c..3f08c0a39 100644 --- a/src/org/traccar/model/Notification.java +++ b/src/org/traccar/model/Notification.java @@ -37,4 +37,25 @@ 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; + } + + } |