Cambios para adecuarse al resto del codigo. Más adelante sne completara.

master
Araozu 2018-06-14 21:23:17 -05:00
parent e2b04eca86
commit 3f81169fc9
1 changed files with 14 additions and 7 deletions

View File

@ -20,7 +20,7 @@ public class User {
//Dirección de la imagen de perfil del Usuario //Dirección de la imagen de perfil del Usuario
@Persistent @Persistent
private String userImgUrl; private String imgUrl;
//Email del usuario //Email del usuario
@Persistent @Persistent
@ -31,10 +31,10 @@ public class User {
private Role role; private Role role;
//Constructor //Constructor
public User(String id, String name, String userImgUrl, String email ,Role role){ public User(String id, String name, String imgUrl, String email ,Role role){
this.id = id; this.id = id;
this.name = name; this.name = name;
this.userImgUrl = userImgUrl; this.imgUrl = imgUrl;
this.email = email; this.email = email;
this.role = role; this.role = role;
} }
@ -52,11 +52,18 @@ public class User {
this.name = name; this.name = name;
} }
public String getUserImgUrl() { public String getImgUrl() {
return userImgUrl; return imgUrl;
} }
public void setUserImgUrl(String userImgUrl) { public void setImgUrl(String imgUrl) {
this.userImgUrl = userImgUrl; this.imgUrl = imgUrl;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
} }
public Role getRole() { public Role getRole() {