aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/reports/model
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-03-02 21:31:37 -0800
committerAnton Tananaev <anton@traccar.org>2024-03-02 21:31:37 -0800
commitf1680218e85ff3310eb5898d8ec28feaac5797c6 (patch)
tree7e950235bf9de910bd3a2b6839ec749960535d85 /src/main/java/org/traccar/reports/model
parentcf85d6ab0b31b7b51a8f55554592c6524ceb3474 (diff)
downloadtrackermap-server-f1680218e85ff3310eb5898d8ec28feaac5797c6.tar.gz
trackermap-server-f1680218e85ff3310eb5898d8ec28feaac5797c6.tar.bz2
trackermap-server-f1680218e85ff3310eb5898d8ec28feaac5797c6.zip
Add device export report
Diffstat (limited to 'src/main/java/org/traccar/reports/model')
-rw-r--r--src/main/java/org/traccar/reports/model/DeviceReportItem.java48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/reports/model/DeviceReportItem.java b/src/main/java/org/traccar/reports/model/DeviceReportItem.java
new file mode 100644
index 000000000..74cd5f32c
--- /dev/null
+++ b/src/main/java/org/traccar/reports/model/DeviceReportItem.java
@@ -0,0 +1,48 @@
+/*
+ * Copyright 2024 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.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.traccar.reports.model;
+
+import org.traccar.model.Device;
+import org.traccar.model.Position;
+
+public class DeviceReportItem {
+
+ public DeviceReportItem(Device device, Position position) {
+ this.device = device;
+ this.position = position;
+ }
+
+ private Device device;
+
+ public Device getDevice() {
+ return device;
+ }
+
+ public void setDevice(Device device) {
+ this.device = device;
+ }
+
+ private Position position;
+
+ public Position getPosition() {
+ return position;
+ }
+
+ public void setPosition(Position position) {
+ this.position = position;
+ }
+
+}