diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2022-01-31 22:57:36 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2022-01-31 22:57:36 -0800 |
commit | 9acf9c7f7a4c3d8279b0afb9683098984a1b4518 (patch) | |
tree | 06a8d24128882b6dc294f8cd2dbeeaa30fa13531 /src/main/java/org/traccar/model | |
parent | 2dd9cf55d1503aa4a35fd0b57126435e4036a9ff (diff) | |
download | trackermap-server-9acf9c7f7a4c3d8279b0afb9683098984a1b4518.tar.gz trackermap-server-9acf9c7f7a4c3d8279b0afb9683098984a1b4518.tar.bz2 trackermap-server-9acf9c7f7a4c3d8279b0afb9683098984a1b4518.zip |
Add option to disable reports
Diffstat (limited to 'src/main/java/org/traccar/model')
-rw-r--r-- | src/main/java/org/traccar/model/Server.java | 12 | ||||
-rw-r--r-- | src/main/java/org/traccar/model/User.java | 10 |
2 files changed, 21 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/model/Server.java b/src/main/java/org/traccar/model/Server.java index 7bdb53b22..03d087cac 100644 --- a/src/main/java/org/traccar/model/Server.java +++ b/src/main/java/org/traccar/model/Server.java @@ -1,5 +1,5 @@ /* - * Copyright 2015 - 2021 Anton Tananaev (anton@traccar.org) + * Copyright 2015 - 2022 Anton Tananaev (anton@traccar.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -152,6 +152,16 @@ public class Server extends ExtendedModel { this.limitCommands = limitCommands; } + private boolean disableReports; + + public boolean getDisableReports() { + return disableReports; + } + + public void setDisableReports(boolean disableReports) { + this.disableReports = disableReports; + } + private String poiLayer; public String getPoiLayer() { diff --git a/src/main/java/org/traccar/model/User.java b/src/main/java/org/traccar/model/User.java index 976b6aac0..359bdc2c2 100644 --- a/src/main/java/org/traccar/model/User.java +++ b/src/main/java/org/traccar/model/User.java @@ -224,6 +224,16 @@ public class User extends ExtendedModel { private String poiLayer; + private boolean disableReports; + + public boolean getDisableReports() { + return disableReports; + } + + public void setDisableReports(boolean disableReports) { + this.disableReports = disableReports; + } + public String getPoiLayer() { return poiLayer; } |