Skip to content

Instantly share code, notes, and snippets.

@johannfjs
Last active August 29, 2015 14:10
Show Gist options
  • Save johannfjs/8bcb304060fc8da60fd9 to your computer and use it in GitHub Desktop.
Save johannfjs/8bcb304060fc8da60fd9 to your computer and use it in GitHub Desktop.
Persona
public class Persona {
private int idpersona;
private String nombre;
private String apellidos;
private String fechanacimiento;
private String sexo;
private String estado;
public Persona() {
super();
}
public Persona(int idpersona, String nombre, String apellidos,
String fechanacimiento, String sexo, String estado) {
super();
this.idpersona = idpersona;
this.nombre = nombre;
this.apellidos = apellidos;
this.fechanacimiento = fechanacimiento;
this.sexo = sexo;
this.estado = estado;
}
public int getIdpersona() {
return idpersona;
}
public void setIdpersona(int idpersona) {
this.idpersona = idpersona;
}
public String getNombre() {
return nombre;
}
public void setNombre(String nombre) {
this.nombre = nombre;
}
public String getApellidos() {
return apellidos;
}
public void setApellidos(String apellidos) {
this.apellidos = apellidos;
}
public String getFechanacimiento() {
return fechanacimiento;
}
public void setFechanacimiento(String fechanacimiento) {
this.fechanacimiento = fechanacimiento;
}
public String getSexo() {
return sexo;
}
public void setSexo(String sexo) {
this.sexo = sexo;
}
public String getEstado() {
return estado;
}
public void setEstado(String estado) {
this.estado = estado;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment