aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model/DriverPermission.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/model/DriverPermission.java')
-rw-r--r--src/org/traccar/model/DriverPermission.java17
1 files changed, 6 insertions, 11 deletions
diff --git a/src/org/traccar/model/DriverPermission.java b/src/org/traccar/model/DriverPermission.java
index cdbcc4a50..44f34c8e6 100644
--- a/src/org/traccar/model/DriverPermission.java
+++ b/src/org/traccar/model/DriverPermission.java
@@ -16,17 +16,7 @@
*/
package org.traccar.model;
-public class DriverPermission {
-
- private long userId;
-
- public long getUserId() {
- return userId;
- }
-
- public void setUserId(long userId) {
- this.userId = userId;
- }
+public class DriverPermission extends BaseUserPermission {
private long driverId;
@@ -37,4 +27,9 @@ public class DriverPermission {
public void setDriverId(long driverId) {
this.driverId = driverId;
}
+
+ @Override
+ public long getSlaveId() {
+ return driverId;
+ }
}