diff options
Diffstat (limited to 'src/org/traccar/model')
-rw-r--r-- | src/org/traccar/model/Device.java | 32 | ||||
-rw-r--r-- | src/org/traccar/model/User.java | 8 |
2 files changed, 40 insertions, 0 deletions
diff --git a/src/org/traccar/model/Device.java b/src/org/traccar/model/Device.java index 09d9ce0ab..7622f78cd 100644 --- a/src/org/traccar/model/Device.java +++ b/src/org/traccar/model/Device.java @@ -56,10 +56,42 @@ public class Device implements Factory { private String status; + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + private Date lastUpdate; + public Date getLastUpdate() { + return lastUpdate; + } + + public void setLastUpdate(Date lastUpdate) { + this.lastUpdate = lastUpdate; + } + private long positionId; + public long getPositionId() { + return positionId; + } + + public void setPositionId(long positionId) { + this.positionId = positionId; + } + private long dataId; + public long getDataId() { + return dataId; + } + + public void setDataId(long dataId) { + this.dataId = dataId; + } + } diff --git a/src/org/traccar/model/User.java b/src/org/traccar/model/User.java index 05437dd97..f9534b87d 100644 --- a/src/org/traccar/model/User.java +++ b/src/org/traccar/model/User.java @@ -57,6 +57,14 @@ public class User implements Factory { private boolean readonly; + public boolean getReadonly() { + return readonly; + } + + public void setReadonly(boolean readonly) { + this.readonly = readonly; + } + private boolean admin; public boolean getAdmin() { |