profile page

This commit is contained in:
Athou
2013-04-13 12:19:59 +02:00
parent b3465f33c1
commit 6739166b04
8 changed files with 136 additions and 2 deletions

View File

@@ -0,0 +1,24 @@
package com.commafeed.frontend.model;
public class ProfileModificationRequest {
private String email;
private String password;
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
}

View File

@@ -7,6 +7,7 @@ public class UserModel implements Serializable {
private Long id;
private String name;
private String email;
private String password;
private boolean enabled;
private boolean admin;
@@ -51,4 +52,12 @@ public class UserModel implements Serializable {
this.password = password;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
}