From 68f30fa24f53c8967760a701eafade30e84b9592 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 5 Sep 2020 09:32:34 -0700 Subject: Add announcement server field --- schema/changelog-4.11.xml | 17 +++++++++++++++++ schema/changelog-master.xml | 1 + src/main/java/org/traccar/model/Server.java | 10 ++++++++++ 3 files changed, 28 insertions(+) create mode 100644 schema/changelog-4.11.xml diff --git a/schema/changelog-4.11.xml b/schema/changelog-4.11.xml new file mode 100644 index 000000000..a4ae00a2d --- /dev/null +++ b/schema/changelog-4.11.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + diff --git a/schema/changelog-master.xml b/schema/changelog-master.xml index 5e89e746b..7d4475df7 100644 --- a/schema/changelog-master.xml +++ b/schema/changelog-master.xml @@ -26,5 +26,6 @@ + diff --git a/src/main/java/org/traccar/model/Server.java b/src/main/java/org/traccar/model/Server.java index ad37e7078..112bfab26 100644 --- a/src/main/java/org/traccar/model/Server.java +++ b/src/main/java/org/traccar/model/Server.java @@ -166,4 +166,14 @@ public class Server extends ExtendedModel { public void setPoiLayer(String poiLayer) { this.poiLayer = poiLayer; } + + private String announcement; + + public String getAnnouncement() { + return announcement; + } + + public void setAnnouncement(String announcement) { + this.announcement = announcement; + } } -- cgit v1.2.3