aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model/User.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-05-06 22:23:26 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-05-06 22:23:26 +1200
commit80e166430b79df771abc73e55892dc9f5fd0b2f1 (patch)
tree72c8849812ec43bd97f6f8bf65d6e700d5bdf7df /src/org/traccar/model/User.java
parentb9d6befdbcc1a56c87d14066d67da574762d81bc (diff)
downloadtrackermap-server-80e166430b79df771abc73e55892dc9f5fd0b2f1.tar.gz
trackermap-server-80e166430b79df771abc73e55892dc9f5fd0b2f1.tar.bz2
trackermap-server-80e166430b79df771abc73e55892dc9f5fd0b2f1.zip
Add new user registration
Diffstat (limited to 'src/org/traccar/model/User.java')
-rw-r--r--src/org/traccar/model/User.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/org/traccar/model/User.java b/src/org/traccar/model/User.java
index fb060d1d6..2df5f276d 100644
--- a/src/org/traccar/model/User.java
+++ b/src/org/traccar/model/User.java
@@ -26,6 +26,10 @@ public class User implements Factory {
public long getId() { return id; }
public void setId(long id) { this.id = id; }
+ private String name;
+ public String getName() { return name; }
+ public void setName(String name) { this.name = name; }
+
private String email;
public String getEmail() { return email; }
public void setEmail(String email) { this.email = email; }
@@ -37,6 +41,8 @@ public class User implements Factory {
private boolean readonly;
private boolean admin;
+ public boolean getAdmin() { return admin; }
+ public void setAdmin(boolean admin) { this.admin = admin; }
private String map;