diff options
author | Anton Tananaev <anton@traccar.org> | 2022-06-22 07:22:14 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-06-22 07:22:14 -0700 |
commit | cc9eca495f93b8ffaee0fe5b10b62f1f3dfbf945 (patch) | |
tree | 397de1f1bb572138cf6f60f2c618c6a71e71c95d /src/main/java/org/traccar/model | |
parent | f5a9207393463879cfe85e94259ee70d6d5b9980 (diff) | |
download | trackermap-server-cc9eca495f93b8ffaee0fe5b10b62f1f3dfbf945.tar.gz trackermap-server-cc9eca495f93b8ffaee0fe5b10b62f1f3dfbf945.tar.bz2 trackermap-server-cc9eca495f93b8ffaee0fe5b10b62f1f3dfbf945.zip |
Return storage info
Diffstat (limited to 'src/main/java/org/traccar/model')
-rw-r--r-- | src/main/java/org/traccar/model/Server.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/model/Server.java b/src/main/java/org/traccar/model/Server.java index ee7f7069a..648be2991 100644 --- a/src/main/java/org/traccar/model/Server.java +++ b/src/main/java/org/traccar/model/Server.java @@ -214,4 +214,16 @@ public class Server extends ExtendedModel implements UserRestrictions { return emailEnabled; } + private long[] storageSpace; + + @QueryIgnore + public long[] getStorageSpace() { + return storageSpace; + } + + @QueryIgnore + public void setStorageSpace(long[] storageSpace) { + this.storageSpace = storageSpace; + } + } |