aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model/GroupDriver.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/model/GroupDriver.java')
-rw-r--r--src/org/traccar/model/GroupDriver.java17
1 files changed, 6 insertions, 11 deletions
diff --git a/src/org/traccar/model/GroupDriver.java b/src/org/traccar/model/GroupDriver.java
index 91b205923..9bf74c214 100644
--- a/src/org/traccar/model/GroupDriver.java
+++ b/src/org/traccar/model/GroupDriver.java
@@ -16,17 +16,7 @@
*/
package org.traccar.model;
-public class GroupDriver {
-
- private long groupId;
-
- public long getGroupId() {
- return groupId;
- }
-
- public void setGroupId(long groupId) {
- this.groupId = groupId;
- }
+public class GroupDriver extends BaseGroupPermission {
private long driverId;
@@ -38,4 +28,9 @@ public class GroupDriver {
this.driverId = driverId;
}
+ @Override
+ public long getSlaveId() {
+ return driverId;
+ }
+
}