Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created April 17, 2019 05:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/3baa81c29f126ecd37e4604d660347df to your computer and use it in GitHub Desktop.
Save parzibyte/3baa81c29f126ecd37e4604d660347df to your computer and use it in GitHub Desktop.
package me.parzibyte.agenda.modelos;
public class Persona {
private String nombre, telefono;
private int id;
public Persona(String nombre, String telefono, int id) {
this.nombre = nombre;
this.telefono = telefono;
this.id = id;
}
public Persona(String nombre, String telefono) {
this.nombre = nombre;
this.telefono = telefono;
}
public Persona() {
}
public String getNombre() {
return nombre;
}
public void setNombre(String nombre) {
this.nombre = nombre;
}
public String getTelefono() {
return telefono;
}
public void setTelefono(String telefono) {
this.telefono = telefono;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment