mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
partial user administration
This commit is contained in:
@@ -5,10 +5,20 @@ import java.io.Serializable;
|
||||
@SuppressWarnings("serial")
|
||||
public class UserModel implements Serializable {
|
||||
|
||||
private Long id;
|
||||
private String name;
|
||||
private String password;
|
||||
private boolean enabled;
|
||||
private boolean admin;
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
@@ -33,4 +43,12 @@ public class UserModel implements Serializable {
|
||||
this.enabled = enabled;
|
||||
}
|
||||
|
||||
public String getPassword() {
|
||||
return password;
|
||||
}
|
||||
|
||||
public void setPassword(String password) {
|
||||
this.password = password;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user