This commit is contained in:
luis.garcia104
2026-10-30 16:41:14 +01:00
commit f40b66553c
38 changed files with 621 additions and 0 deletions
@@ -0,0 +1,48 @@
package org.palomafp.aadd.lmga.model;
public class Pais {
private int identificador;
private String nombre;
private String capital;
private Continente continente;
public int getIdentificador() {
return identificador;
}
public void setIdentificador(int identificador) {
this.identificador = identificador;
}
public String getNombre() {
return nombre;
}
public void setNombre(String nombre) {
this.nombre = nombre;
}
public String getCapital() {
return capital;
}
public void setCapital(String capital) {
this.capital = capital;
}
public Continente getContinente() {
return continente;
}
public void setContinente(Continente continente) {
this.continente = continente;
}
@Override
public String toString() {
return "Pais [identificador=" + identificador + ", nombre=" + nombre + ", capital=" + capital + ", continente="
+ continente + "]";
}
}