aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/model
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-02-20 14:33:36 -0800
committerAnton Tananaev <anton@traccar.org>2023-02-20 14:33:36 -0800
commitcd1d80896b16c84ae0a8a4631a9dba6955e9e344 (patch)
tree8efd18ee259e2b614c9e4450cf9982d6754cdaa6 /src/main/java/org/traccar/model
parent1439422c6f4ce947f6719743b37fa49f251fc97f (diff)
downloadtrackermap-server-cd1d80896b16c84ae0a8a4631a9dba6955e9e344.tar.gz
trackermap-server-cd1d80896b16c84ae0a8a4631a9dba6955e9e344.tar.bz2
trackermap-server-cd1d80896b16c84ae0a8a4631a9dba6955e9e344.zip
Implement command notificator
Diffstat (limited to 'src/main/java/org/traccar/model')
-rw-r--r--src/main/java/org/traccar/model/Notification.java12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/model/Notification.java b/src/main/java/org/traccar/model/Notification.java
index 95e446132..b6a6e4cf5 100644
--- a/src/main/java/org/traccar/model/Notification.java
+++ b/src/main/java/org/traccar/model/Notification.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016 - 2018 Anton Tananaev (anton@traccar.org)
+ * Copyright 2016 - 2023 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.
@@ -46,6 +46,16 @@ public class Notification extends ScheduledModel {
this.type = type;
}
+ private long commandId;
+
+ public long getCommandId() {
+ return commandId;
+ }
+
+ public void setCommandId(long commandId) {
+ this.commandId = commandId;
+ }
+
private String notificators;
public String getNotificators() {