Actvidad 2.3

This commit is contained in:
juanperoh11-lgtm.
2026-10-30 17:18:50 +01:00
commit e52fa81784
19 changed files with 622 additions and 0 deletions
+56
View File
@@ -0,0 +1,56 @@
package org.palomafp.aadd.aez.model;
public class Pais {
private int identificador;
private String nombre;
private String capital;
private String codContinente;
public Pais() {
}
public Pais(int identificador, String nombre, String capital, String codContinente) {
this.identificador = identificador;
this.nombre = nombre;
this.capital = capital;
this.codContinente = codContinente;
}
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 String getCodContinente() {
return codContinente;
}
public void setCodContinente(String codContinente) {
this.codContinente = codContinente;
}
@Override
public String toString() {
return "Pais [identificador=" + identificador + ", nombre=" + nombre + ", capital=" + capital
+ ", codContinente=" + codContinente + "]";
}
}