From 565f6bece54b6fd33df71ae96c89cbeb62a3b2f2 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 18 Sep 2024 14:30:16 -0700 Subject: [PATCH] Add notification description (fix #5411) --- schema/changelog-6.6.xml | 17 +++++++++++++++++ schema/changelog-master.xml | 1 + .../java/org/traccar/model/Notification.java | 10 ++++++++++ 3 files changed, 28 insertions(+) create mode 100644 schema/changelog-6.6.xml diff --git a/schema/changelog-6.6.xml b/schema/changelog-6.6.xml new file mode 100644 index 000000000..864194160 --- /dev/null +++ b/schema/changelog-6.6.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + diff --git a/schema/changelog-master.xml b/schema/changelog-master.xml index 3ce4b43e6..02efdde30 100644 --- a/schema/changelog-master.xml +++ b/schema/changelog-master.xml @@ -45,5 +45,6 @@ + diff --git a/src/main/java/org/traccar/model/Notification.java b/src/main/java/org/traccar/model/Notification.java index 6dcd9c9de..465553054 100644 --- a/src/main/java/org/traccar/model/Notification.java +++ b/src/main/java/org/traccar/model/Notification.java @@ -26,6 +26,16 @@ import org.traccar.storage.StorageName; @StorageName("tc_notifications") public class Notification extends ExtendedModel implements Schedulable { + private String description; + + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + private long calendarId; @Override