Actividad 6.3 Aplicar patrón DAO - Cine

This commit is contained in:
gonzalo.diaz18
2026-10-08 10:47:05 +02:00
commit 78252f7052
19 changed files with 403 additions and 0 deletions
+47
View File
@@ -0,0 +1,47 @@
package org.palomafp.aadd.gdo.model;
public class Pais {
private int identificador;
private String nombre;
private String capital;
public Pais() {
}
public Pais(int identificador, String nombre, String capital) {
this.identificador = identificador;
this.nombre = nombre;
this.capital = capital;
}
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;
}
@Override
public String toString() {
return "Pais [identificador=" + identificador + ", nombre=" + nombre + ", capital=" + capital + "]";
}
}