diff options
author | Abyss777 <abyss@fox5.ru> | 2017-07-13 10:05:57 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-07-13 10:05:57 +0500 |
commit | e776aa3351535f78c60ab9502dd1154e2b973227 (patch) | |
tree | b19a69b83975aceca5ffa854da5181e62221fc0e /src/org/traccar/reports/model | |
parent | 74471c1fbbb7e8a09a6958fa88930a2905b4a3eb (diff) | |
download | traccar-server-e776aa3351535f78c60ab9502dd1154e2b973227.tar.gz traccar-server-e776aa3351535f78c60ab9502dd1154e2b973227.tar.bz2 traccar-server-e776aa3351535f78c60ab9502dd1154e2b973227.zip |
- Save both driver name and driver unique id in trip report
- Map user and driver objects to notification templates
- Add driverUnauthorized templates
Diffstat (limited to 'src/org/traccar/reports/model')
-rw-r--r-- | src/org/traccar/reports/model/TripReport.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/org/traccar/reports/model/TripReport.java b/src/org/traccar/reports/model/TripReport.java index 0f23581b2..42a4240b7 100644 --- a/src/org/traccar/reports/model/TripReport.java +++ b/src/org/traccar/reports/model/TripReport.java @@ -146,6 +146,16 @@ public class TripReport extends BaseReport { this.duration = duration; } + private String driverUniqueId; + + public String getDriverUniqueId() { + return driverUniqueId; + } + + public void setDriverUniqueId(String driverUniqueId) { + this.driverUniqueId = driverUniqueId; + } + private String driverName; public String getDriverName() { |