-
-
Save parzibyte/3baa81c29f126ecd37e4604d660347df to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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