Skip to content
Snippets Groups Projects
Commit 9d7f733b authored by Lucas Podesta Ceschi's avatar Lucas Podesta Ceschi
Browse files

Usuario get/setters

parent 68b07cec
No related branches found
No related tags found
No related merge requests found
/logica/
/Manejadores/
File added
File added
File added
File added
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
......@@ -9,12 +9,14 @@ public class Usuario {
private String nombre;
private String apellido;
private String cedulaIdentidad;
private String nickname;
private String correo;
public Usuario(String n, String ap, String ci) {
public Usuario(String n, String ap, String ci, String c) {
this.nombre = n;
this.apellido = ap;
this.cedulaIdentidad = ci;
this.nickname = ci;
this.correo = c;
}
public String getNombre() {
......@@ -25,8 +27,12 @@ public class Usuario {
return apellido;
}
public String getCedulaIdentidad() {
return cedulaIdentidad;
public String getNickname() {
return nickname;
}
public String getCorreo() {
return correo;
}
public void setNombre(String n) {
......@@ -37,8 +43,12 @@ public class Usuario {
apellido = ap;
}
public void setCedulaIdentidad(String ci) {
cedulaIdentidad = ci;
public void setNickname(String nick) {
nickname = nick;
}
public void setCorreo(String c) {
nickname = c;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment