Centro con Proyectos

This commit is contained in:
Isidoro Nevares Martín 2026-04-27 21:19:47 +02:00
parent 1af2eac1d9
commit 9cfb1a471c
2 changed files with 16 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<classpath> <classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk-25"> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk-25.0.1-oracle-x64">
<attributes> <attributes>
<attribute name="module" value="true"/> <attribute name="module" value="true"/>
</attributes> </attributes>

View File

@ -1,5 +1,7 @@
package org.lapaloma.gecovip.inm.vo; package org.lapaloma.gecovip.inm.vo;
import java.util.List;
public class Centro { public class Centro {
private int identificador; private int identificador;
private String nombre; private String nombre;
@ -11,10 +13,23 @@ public class Centro {
private String telefono; private String telefono;
private String fax; private String fax;
private String correoElectronico; private String correoElectronico;
private List<Proyecto> proyectos;
/**
* @return the proyectos
*/
public List<Proyecto> getProyectos() {
return proyectos;
}
/**
* @param proyectos the proyectos to set
*/
public void setProyectos(List<Proyecto> proyectos) {
this.proyectos = proyectos;
}
public int getIdentificador() { public int getIdentificador() {
return identificador; return identificador;
} }