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