Commit b44ae606 by willgonzz

Creacion de modelos y repositorios de Cuidad y departamento

parent 7b2e1fe1
...@@ -6,9 +6,13 @@ import java.util.List; ...@@ -6,9 +6,13 @@ import java.util.List;
import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.ObjectMapper;
import com.roshka.modelo.Ciudad;
import com.roshka.modelo.Departamento;
import com.roshka.modelo.Postulante; import com.roshka.modelo.Postulante;
import com.roshka.modelo.PostulanteTecnologia; import com.roshka.modelo.PostulanteTecnologia;
import com.roshka.modelo.Tecnologia; import com.roshka.modelo.Tecnologia;
import com.roshka.repositorio.CiudadRepository;
import com.roshka.repositorio.DepartamentoRepository;
import com.roshka.repositorio.PostulanteRepository; import com.roshka.repositorio.PostulanteRepository;
import com.roshka.repositorio.TecnologiaRepository; import com.roshka.repositorio.TecnologiaRepository;
...@@ -29,16 +33,27 @@ public class CurriculumsearchApplication { ...@@ -29,16 +33,27 @@ public class CurriculumsearchApplication {
} }
@Bean @Bean
CommandLineRunner runner(PostulanteRepository postRepo,TecnologiaRepository tecRepo) { CommandLineRunner runner(PostulanteRepository postRepo,TecnologiaRepository tecRepo,DepartamentoRepository depR, CiudadRepository ciudR) {
return args -> { return args -> {
try {
// read json and write to db // read json and write to db
ObjectMapper mapper = new ObjectMapper(); ObjectMapper mapper = new ObjectMapper();
TypeReference<List<Departamento>> typeReference1 = new TypeReference<List<Departamento>>(){};
InputStream inputStream = TypeReference.class.getResourceAsStream("/json/Departamento.json");
List<Departamento> departamento= mapper.readValue(inputStream,typeReference1);
depR.saveAll(departamento);
System.out.println("Departamentos Saved!");
TypeReference<List<Ciudad>> typeReference2 = new TypeReference<List<Ciudad>>(){};
inputStream = TypeReference.class.getResourceAsStream("/json/Ciudad.json");
List<Ciudad> ciudades= mapper.readValue(inputStream,typeReference2);
ciudR.saveAll(ciudades);
System.out.println("Cuidad Saved!");
TypeReference<List<Postulante>> typeReference = new TypeReference<List<Postulante>>(){}; TypeReference<List<Postulante>> typeReference = new TypeReference<List<Postulante>>(){};
InputStream inputStream = TypeReference.class.getResourceAsStream("/json/postulante.json"); inputStream = TypeReference.class.getResourceAsStream("/json/postulante.json");
try {
List<Postulante> postulantes = mapper.readValue(inputStream,typeReference); List<Postulante> postulantes = mapper.readValue(inputStream,typeReference);
postRepo.saveAll(postulantes); postRepo.saveAll(postulantes);
System.out.println("postulantes Saved!"); System.out.println("postulantes Saved!");
} catch (IOException e){ } catch (IOException e){
System.out.println("Unable to save tecnologias: " + e.getMessage()); System.out.println("Unable to save tecnologias: " + e.getMessage());
} }
......
package com.roshka.modelo;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
@Entity
@Table(name="ciudad")
public class Ciudad{
@Id
@GeneratedValue(strategy=GenerationType.IDENTITY)
public Long id;
@Column(name="nombre")
public String nombre;
@Column(name="departamento_id")
private Long departamentoId;
public Long getDepartamentoId() {
return this.departamentoId;
}
public void setDepartamentoId(Long departamentoId) {
this.departamentoId = departamentoId;
}
@ManyToOne(targetEntity = Departamento.class,fetch = FetchType.EAGER)
@JoinColumn(name="departamento_id",insertable = false, updatable = false)
private Departamento departamento;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getNombre() {
return this.nombre;
}
public void setNombre(String nombre) {
this.nombre = nombre;
}
public Departamento getDepartamento() {
return this.departamento;
}
public void setDepartamento(Departamento departamento) {
this.departamento = departamento;
}
}
package com.roshka.modelo;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.Table;
@Entity
@Table(name="departamento")
public class Departamento {
@Id
private Long id;
@Column(name="nombre")
private String nombre;
@OneToMany(mappedBy = "departamento",cascade = CascadeType.ALL)
private List<Ciudad> ciudad;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getNombre() {
return this.nombre;
}
public void setNombre(String nombre) {
this.nombre = nombre;
}
public List<Ciudad> getCiudad() {
return this.ciudad;
}
public void setCiudad(List<Ciudad> ciudad) {
this.ciudad = ciudad;
}
}
\ No newline at end of file
...@@ -39,10 +39,28 @@ public class Postulante { ...@@ -39,10 +39,28 @@ public class Postulante {
@Email(message = "Formato incorrecto de correo") @Email(message = "Formato incorrecto de correo")
private String correo; private String correo;
@Column(name = "ciudad") @ManyToOne(targetEntity = Ciudad.class,fetch = FetchType.EAGER)
@NotBlank(message = "Este campo no puede estar vacio") @JoinColumn(name="ciudad_id",insertable = false, updatable = false)
@Size(max = 120) private Ciudad ciudad;
private String ciudad; @Column(name="ciudad_id")
private Long ciudadId;
public Ciudad getCiudad() {
return this.ciudad;
}
public void setCiudad(Ciudad ciudad) {
this.ciudad = ciudad;
}
public Long getCiudadId() {
return this.ciudadId;
}
public void setCiudadId(Long ciudadId) {
this.ciudadId = ciudadId;
}
@Column(name = "telefono") @Column(name = "telefono")
@NotBlank(message = "Este campo no puede estar vacio") @NotBlank(message = "Este campo no puede estar vacio")
...@@ -124,14 +142,6 @@ public class Postulante { ...@@ -124,14 +142,6 @@ public class Postulante {
this.correo = correo; this.correo = correo;
} }
public String getCiudad() {
return ciudad;
}
public void setCiudad(String ciudad) {
this.ciudad = ciudad;
}
public String getTelefono() { public String getTelefono() {
return telefono; return telefono;
} }
......
...@@ -12,7 +12,7 @@ import javax.persistence.Table; ...@@ -12,7 +12,7 @@ import javax.persistence.Table;
import javax.persistence.UniqueConstraint; import javax.persistence.UniqueConstraint;
import javax.validation.constraints.Max; import javax.validation.constraints.Max;
import javax.validation.constraints.Min; import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import com.fasterxml.jackson.annotation.JsonBackReference; import com.fasterxml.jackson.annotation.JsonBackReference;
@Entity @Entity
...@@ -37,6 +37,7 @@ public class PostulanteTecnologia { ...@@ -37,6 +37,7 @@ public class PostulanteTecnologia {
@JoinColumn @JoinColumn
@JsonBackReference @JsonBackReference
private Postulante postulante; private Postulante postulante;
public long getId() { public long getId() {
return id; return id;
} }
......
...@@ -7,7 +7,7 @@ import javax.persistence.GenerationType; ...@@ -7,7 +7,7 @@ import javax.persistence.GenerationType;
import javax.persistence.Id; import javax.persistence.Id;
import javax.persistence.Table; import javax.persistence.Table;
import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotBlank;
import java.util.Locale;
@Entity @Entity
@Table(name="tecnologia") @Table(name="tecnologia")
......
package com.roshka.repositorio;
import com.roshka.modelo.Ciudad;
import org.springframework.data.jpa.repository.JpaRepository;
public interface CiudadRepository extends JpaRepository<Ciudad,Long> {
}
package com.roshka.repositorio;
import com.roshka.modelo.Departamento;
import org.springframework.data.jpa.repository.JpaRepository;
public interface DepartamentoRepository extends JpaRepository<Departamento,Long> {
}
...@@ -6,7 +6,7 @@ import org.springframework.data.jpa.repository.JpaRepository; ...@@ -6,7 +6,7 @@ import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query; import org.springframework.data.jpa.repository.Query;
import com.roshka.modelo.Postulante; import com.roshka.modelo.Postulante;
import com.roshka.modelo.PostulanteTecnologia;
public interface PostulanteRepository extends JpaRepository<Postulante,Long> { public interface PostulanteRepository extends JpaRepository<Postulante,Long> {
......
package com.roshka.repositorio; package com.roshka.repositorio;
import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import com.roshka.modelo.PostulanteTecnologia; import com.roshka.modelo.PostulanteTecnologia;
......
[
{
"departamentoId": 0,
"nombre": "ASUNCION"
},
{
"departamentoId": 1,
"nombre": "CONCEPCION"
},
{
"departamentoId": 1,
"nombre": "BELEN"
},
{
"departamentoId": 1,
"nombre": "HORQUETA"
},
{
"departamentoId": 1,
"nombre": "LORETO"
},
{
"departamentoId": 1,
"nombre": "SAN CARLOS DEL APA"
},
{
"departamentoId": 1,
"nombre": "SAN LAZARO"
},
{
"departamentoId": 1,
"nombre": "YBY YAU"
},
{
"departamentoId": 1,
"nombre": "AZOTE'Y"
},
{
"departamentoId": 1,
"nombre": "SARGENTO JOSE FELIX LOPEZ"
},
{
"departamentoId": 1,
"nombre": "SAN ALFREDO"
},
{
"departamentoId": 1,
"nombre": "PASO BARRETO"
},
{
"departamentoId": 2,
"nombre": "SAN PEDRO DEL YCUAMANDYYU"
},
{
"departamentoId": 2,
"nombre": "ANTEQUERA"
},
{
"departamentoId": 2,
"nombre": "CHORE"
},
{
"departamentoId": 2,
"nombre": "GENERAL ELIZARDO AQUINO"
},
{
"departamentoId": 2,
"nombre": "ITACURUBI DEL ROSARIO"
},
{
"departamentoId": 2,
"nombre": "LIMA"
},
{
"departamentoId": 2,
"nombre": "NUEVA GERMANIA"
},
{
"departamentoId": 2,
"nombre": "SAN ESTANISLAO"
},
{
"departamentoId": 2,
"nombre": "SAN PABLO"
},
{
"departamentoId": 2,
"nombre": "TACUATI"
},
{
"departamentoId": 2,
"nombre": "UNION"
},
{
"departamentoId": 2,
"nombre": "25 DE DICIEMBRE"
},
{
"departamentoId": 2,
"nombre": "VILLA DEL ROSARIO"
},
{
"departamentoId": 2,
"nombre": "GENERAL FRANCISCO ISIDORO RESQUIN"
},
{
"departamentoId": 2,
"nombre": "YATAITY DEL NORTE"
},
{
"departamentoId": 2,
"nombre": "GUAJAYVI"
},
{
"departamentoId": 2,
"nombre": "CAPIIBARY"
},
{
"departamentoId": 2,
"nombre": "SANTA ROSA DEL AGUARAY"
},
{
"departamentoId": 2,
"nombre": "YRYBUCUA"
},
{
"departamentoId": 2,
"nombre": "LIBERACION"
},
{
"departamentoId": 3,
"nombre": "CAACUPE"
},
{
"departamentoId": 3,
"nombre": "ALTOS"
},
{
"departamentoId": 3,
"nombre": "ARROYOS Y ESTEROS"
},
{
"departamentoId": 3,
"nombre": "ATYRA"
},
{
"departamentoId": 3,
"nombre": "CARAGUATAY"
},
{
"departamentoId": 3,
"nombre": "EMBOSCADA"
},
{
"departamentoId": 3,
"nombre": "EUSEBIO AYALA"
},
{
"departamentoId": 3,
"nombre": "ISLA PUCU"
},
{
"departamentoId": 3,
"nombre": "ITACURUBI DE LA CORDILLERA"
},
{
"departamentoId": 3,
"nombre": "JUAN DE MENA"
},
{
"departamentoId": 3,
"nombre": "LOMA GRANDE"
},
{
"departamentoId": 3,
"nombre": "MBOCAYATY DEL YHAGUY"
},
{
"departamentoId": 3,
"nombre": "NUEVA COLOMBIA"
},
{
"departamentoId": 3,
"nombre": "PIRIBEBUY"
},
{
"departamentoId": 3,
"nombre": "PRIMERO DE MARZO"
},
{
"departamentoId": 3,
"nombre": "SAN BERNARDINO"
},
{
"departamentoId": 3,
"nombre": "SANTA ELENA"
},
{
"departamentoId": 3,
"nombre": "TOBATI"
},
{
"departamentoId": 3,
"nombre": "VALENZUELA"
},
{
"departamentoId": 3,
"nombre": "SAN JOSE OBRERO"
},
{
"departamentoId": 4,
"nombre": "VILLARRICA"
},
{
"departamentoId": 4,
"nombre": "BORJA"
},
{
"departamentoId": 4,
"nombre": "CAPITAN MAURICIO JOSE TROCHE"
},
{
"departamentoId": 4,
"nombre": "CORONEL MARTINEZ"
},
{
"departamentoId": 4,
"nombre": "FELIX PEREZ CARDOZO"
},
{
"departamentoId": 4,
"nombre": "GRAL. EUGENIO A. GARAY"
},
{
"departamentoId": 4,
"nombre": "INDEPENDENCIA"
},
{
"departamentoId": 4,
"nombre": "ITAPE"
},
{
"departamentoId": 4,
"nombre": "ITURBE"
},
{
"departamentoId": 4,
"nombre": "JOSE FASSARDI"
},
{
"departamentoId": 4,
"nombre": "MBOCAYATY"
},
{
"departamentoId": 4,
"nombre": "NATALICIO TALAVERA"
},
{
"departamentoId": 4,
"nombre": "NUMI"
},
{
"departamentoId": 4,
"nombre": "SAN SALVADOR"
},
{
"departamentoId": 4,
"nombre": "YATAITY"
},
{
"departamentoId": 4,
"nombre": "DOCTOR BOTTRELL"
},
{
"departamentoId": 4,
"nombre": "PASO YOBAI"
},
{
"departamentoId": 4,
"nombre": "TEBICUARY"
},
{
"departamentoId": 5,
"nombre": "CORONEL OVIEDO"
},
{
"departamentoId": 5,
"nombre": "CAAGUAZU"
},
{
"departamentoId": 5,
"nombre": "CARAYAO"
},
{
"departamentoId": 5,
"nombre": "DR. CECILIO BAEZ"
},
{
"departamentoId": 5,
"nombre": "SANTA ROSA DEL MBUTUY"
},
{
"departamentoId": 5,
"nombre": "DR. JUAN MANUEL FRUTOS"
},
{
"departamentoId": 5,
"nombre": "REPATRIACION"
},
{
"departamentoId": 5,
"nombre": "NUEVA LONDRES"
},
{
"departamentoId": 5,
"nombre": "SAN JOAQUIN"
},
{
"departamentoId": 5,
"nombre": "SAN JOSE DE LOS ARROYOS"
},
{
"departamentoId": 5,
"nombre": "YHU"
},
{
"departamentoId": 5,
"nombre": "DR. J. EULOGIO ESTIGARRIBIA"
},
{
"departamentoId": 5,
"nombre": "R.I. 3 CORRALES"
},
{
"departamentoId": 5,
"nombre": "RAUL ARSENIO OVIEDO"
},
{
"departamentoId": 5,
"nombre": "JOSE DOMINGO OCAMPOS"
},
{
"departamentoId": 5,
"nombre": "MARISCAL FRANCISCO SOLANO LOPEZ"
},
{
"departamentoId": 5,
"nombre": "LA PASTORA"
},
{
"departamentoId": 5,
"nombre": "3 DE FEBRERO"
},
{
"departamentoId": 5,
"nombre": "SIMON BOLIVAR"
},
{
"departamentoId": 5,
"nombre": "VAQUERIA"
},
{
"departamentoId": 5,
"nombre": "TEMBIAPORA"
},
{
"departamentoId": 5,
"nombre": "NUEVA TOLEDO"
},
{
"departamentoId": 6,
"nombre": "CAAZAPA"
},
{
"departamentoId": 6,
"nombre": "ABAI"
},
{
"departamentoId": 6,
"nombre": "BUENA VISTA"
},
{
"departamentoId": 6,
"nombre": "DR. MOISES S. BERTONI"
},
{
"departamentoId": 6,
"nombre": "GRAL. HIGINIO MORINIGO"
},
{
"departamentoId": 6,
"nombre": "MACIEL"
},
{
"departamentoId": 6,
"nombre": "SAN JUAN NEPOMUCENO"
},
{
"departamentoId": 6,
"nombre": "TAVAI"
},
{
"departamentoId": 6,
"nombre": "YEGROS"
},
{
"departamentoId": 6,
"nombre": "YUTY"
},
{
"departamentoId": 6,
"nombre": "3 DE MAYO"
},
{
"departamentoId": 7,
"nombre": "ENCARNACION"
},
{
"departamentoId": 7,
"nombre": "BELLA VISTA"
},
{
"departamentoId": 7,
"nombre": "CAMBYRETA"
},
{
"departamentoId": 7,
"nombre": "CAPITAN MEZA"
},
{
"departamentoId": 7,
"nombre": "CAPITAN MIRANDA"
},
{
"departamentoId": 7,
"nombre": "NUEVA ALBORADA"
},
{
"departamentoId": 7,
"nombre": "CARMEN DEL PARANA"
},
{
"departamentoId": 7,
"nombre": "CORONEL BOGADO"
},
{
"departamentoId": 7,
"nombre": "CARLOS ANTONIO LOPEZ"
},
{
"departamentoId": 7,
"nombre": "NATALIO"
},
{
"departamentoId": 7,
"nombre": "FRAM"
},
{
"departamentoId": 7,
"nombre": "GENERAL ARTIGAS"
},
{
"departamentoId": 7,
"nombre": "GENERAL DELGADO"
},
{
"departamentoId": 7,
"nombre": "HOHENAU"
},
{
"departamentoId": 7,
"nombre": "JESUS"
},
{
"departamentoId": 7,
"nombre": "JOSE LEANDRO OVIEDO"
},
{
"departamentoId": 7,
"nombre": "OBLIGADO"
},
{
"departamentoId": 7,
"nombre": "MAYOR JULIO DIONISIO OTANO"
},
{
"departamentoId": 7,
"nombre": "SAN COSME Y DAMIAN"
},
{
"departamentoId": 7,
"nombre": "SAN PEDRO DEL PARANA"
},
{
"departamentoId": 7,
"nombre": "SAN RAFAEL DEL PARANA"
},
{
"departamentoId": 7,
"nombre": "TRINIDAD"
},
{
"departamentoId": 7,
"nombre": "EDELIRA"
},
{
"departamentoId": 7,
"nombre": "TOMAS ROMERO PEREIRA"
},
{
"departamentoId": 7,
"nombre": "ALTO VERA"
},
{
"departamentoId": 7,
"nombre": "LA PAZ"
},
{
"departamentoId": 7,
"nombre": "YATYTAY"
},
{
"departamentoId": 7,
"nombre": "SAN JUAN DEL PARANA"
},
{
"departamentoId": 7,
"nombre": "PIRAPO"
},
{
"departamentoId": 7,
"nombre": "ITAPUA POTY"
},
{
"departamentoId": 8,
"nombre": "SAN JUAN BAUTISTA DE LAS MISIONES"
},
{
"departamentoId": 8,
"nombre": "AYOLAS"
},
{
"departamentoId": 8,
"nombre": "SAN IGNACIO"
},
{
"departamentoId": 8,
"nombre": "SAN MIGUEL"
},
{
"departamentoId": 8,
"nombre": "SAN PATRICIO"
},
{
"departamentoId": 8,
"nombre": "SANTA MARIA"
},
{
"departamentoId": 8,
"nombre": "SANTA ROSA"
},
{
"departamentoId": 8,
"nombre": "SANTIAGO"
},
{
"departamentoId": 8,
"nombre": "VILLA FLORIDA"
},
{
"departamentoId": 8,
"nombre": "YABEBYRY"
},
{
"departamentoId": 9,
"nombre": "PARAGUARI"
},
{
"departamentoId": 9,
"nombre": "ACAHAY"
},
{
"departamentoId": 9,
"nombre": "CAAPUCU"
},
{
"departamentoId": 9,
"nombre": "CABALLERO"
},
{
"departamentoId": 9,
"nombre": "CARAPEGUA"
},
{
"departamentoId": 9,
"nombre": "ESCOBAR"
},
{
"departamentoId": 9,
"nombre": "LA COLMENA"
},
{
"departamentoId": 9,
"nombre": "MBUYAPEY"
},
{
"departamentoId": 9,
"nombre": "PIRAYU"
},
{
"departamentoId": 9,
"nombre": "QUIINDY"
},
{
"departamentoId": 9,
"nombre": "QUYQUYHO"
},
{
"departamentoId": 9,
"nombre": "ROQUE GONZALEZ DE SANTACRUZ"
},
{
"departamentoId": 9,
"nombre": "SAPUCAI"
},
{
"departamentoId": 9,
"nombre": "TEBICUARY-MI"
},
{
"departamentoId": 9,
"nombre": "YAGUARON"
},
{
"departamentoId": 9,
"nombre": "YBYCUI"
},
{
"departamentoId": 9,
"nombre": "YBYTYMI"
},
{
"departamentoId": 10,
"nombre": "CIUDAD DEL ESTE"
},
{
"departamentoId": 10,
"nombre": "PRESIDENTE FRANCO"
},
{
"departamentoId": 10,
"nombre": "DOMINGO MARTINEZ DE IRALA"
},
{
"departamentoId": 10,
"nombre": "DR. JUAN LEON MALLORQUIN"
},
{
"departamentoId": 10,
"nombre": "HERNANDARIAS"
},
{
"departamentoId": 10,
"nombre": "ITAKYRY"
},
{
"departamentoId": 10,
"nombre": "JUAN E. O'LEARY"
},
{
"departamentoId": 10,
"nombre": "NACUNDAY"
},
{
"departamentoId": 10,
"nombre": "YGUAZU"
},
{
"departamentoId": 10,
"nombre": "LOS CEDRALES"
},
{
"departamentoId": 10,
"nombre": "MINGA GUAZU"
},
{
"departamentoId": 10,
"nombre": "SAN CRISTOBAL"
},
{
"departamentoId": 10,
"nombre": "SANTA RITA"
},
{
"departamentoId": 10,
"nombre": "NARANJAL"
},
{
"departamentoId": 10,
"nombre": "SANTA ROSA DEL MONDAY"
},
{
"departamentoId": 10,
"nombre": "MINGA PORA"
},
{
"departamentoId": 10,
"nombre": "MBARACAYU"
},
{
"departamentoId": 10,
"nombre": "SAN ALBERTO"
},
{
"departamentoId": 10,
"nombre": "IRUNA"
},
{
"departamentoId": 10,
"nombre": "SANTA FE DEL PARANA"
},
{
"departamentoId": 10,
"nombre": "TAVAPY"
},
{
"departamentoId": 10,
"nombre": "DR. RAUL PENA"
},
{
"departamentoId": 11,
"nombre": "AREGUA"
},
{
"departamentoId": 11,
"nombre": "CAPIATA"
},
{
"departamentoId": 11,
"nombre": "FERNANDO DE LA MORA"
},
{
"departamentoId": 11,
"nombre": "GUARAMBARE"
},
{
"departamentoId": 11,
"nombre": "ITA"
},
{
"departamentoId": 11,
"nombre": "ITAUGUA"
},
{
"departamentoId": 11,
"nombre": "LAMBARE"
},
{
"departamentoId": 11,
"nombre": "LIMPIO"
},
{
"departamentoId": 11,
"nombre": "LUQUE"
},
{
"departamentoId": 11,
"nombre": "MARIANO ROQUE ALONSO"
},
{
"departamentoId": 11,
"nombre": "NUEVA ITALIA"
},
{
"departamentoId": 11,
"nombre": "NEMBY"
},
{
"departamentoId": 11,
"nombre": "SAN ANTONIO"
},
{
"departamentoId": 11,
"nombre": "SAN LORENZO"
},
{
"departamentoId": 11,
"nombre": "VILLA ELISA"
},
{
"departamentoId": 11,
"nombre": "VILLETA"
},
{
"departamentoId": 11,
"nombre": "YPACARAI"
},
{
"departamentoId": 11,
"nombre": "YPANE"
},
{
"departamentoId": 11,
"nombre": "J. AUGUSTO SALDIVAR"
},
{
"departamentoId": 12,
"nombre": "PILAR"
},
{
"departamentoId": 12,
"nombre": "ALBERDI"
},
{
"departamentoId": 12,
"nombre": "CERRITO"
},
{
"departamentoId": 12,
"nombre": "DESMOCHADOS"
},
{
"departamentoId": 12,
"nombre": "GRAL. JOSE EDUVIGIS DIAZ"
},
{
"departamentoId": 12,
"nombre": "GUAZU-CUA"
},
{
"departamentoId": 12,
"nombre": "HUMAITA"
},
{
"departamentoId": 12,
"nombre": "ISLA UMBU"
},
{
"departamentoId": 12,
"nombre": "LAURELES"
},
{
"departamentoId": 12,
"nombre": "MAYOR JOSE DEJESUS MARTINEZ"
},
{
"departamentoId": 12,
"nombre": "PASO DE PATRIA"
},
{
"departamentoId": 12,
"nombre": "SAN JUAN BAUTISTA DE NEEMBUCU"
},
{
"departamentoId": 12,
"nombre": "TACUARAS"
},
{
"departamentoId": 12,
"nombre": "VILLA FRANCA"
},
{
"departamentoId": 12,
"nombre": "VILLA OLIVA"
},
{
"departamentoId": 12,
"nombre": "VILLALBIN"
},
{
"departamentoId": 13,
"nombre": "PEDRO JUAN CABALLERO"
},
{
"departamentoId": 13,
"nombre": "BELLA VISTA"
},
{
"departamentoId": 13,
"nombre": "CAPITAN BADO"
},
{
"departamentoId": 13,
"nombre": "ZANJA PYTA"
},
{
"departamentoId": 13,
"nombre": "KARAPAI"
},
{
"departamentoId": 14,
"nombre": "SALTO DEL GUAIRA"
},
{
"departamentoId": 14,
"nombre": "CORPUS CHRISTI"
},
{
"departamentoId": 14,
"nombre": "VILLA CURUGUATY"
},
{
"departamentoId": 14,
"nombre": "VILLA YGATIMI"
},
{
"departamentoId": 14,
"nombre": "ITANARA"
},
{
"departamentoId": 14,
"nombre": "YPEJHU"
},
{
"departamentoId": 14,
"nombre": "FRANCISCO CABALLERO ALVAREZ"
},
{
"departamentoId": 14,
"nombre": "KATUETE"
},
{
"departamentoId": 14,
"nombre": "LA PALOMA DEL ESPIRITU SANTO"
},
{
"departamentoId": 14,
"nombre": "NUEVA ESPERANZA"
},
{
"departamentoId": 14,
"nombre": "YASY CANY"
},
{
"departamentoId": 14,
"nombre": "YBYRAROBANA"
},
{
"departamentoId": 14,
"nombre": "YBY PYTA"
},
{
"departamentoId": 15,
"nombre": "BENJAMIN ACEVAL"
},
{
"departamentoId": 15,
"nombre": "PUERTO PINASCO"
},
{
"departamentoId": 15,
"nombre": "VILLA HAYES"
},
{
"departamentoId": 15,
"nombre": "NANAWA"
},
{
"departamentoId": 15,
"nombre": "JOSE FALCON"
},
{
"departamentoId": 15,
"nombre": "TTE. 1ER MANUEL IRALA FERNANDEZ"
},
{
"departamentoId": 15,
"nombre": "TENIENTE ESTEBAN MARTINEZ"
},
{
"departamentoId": 15,
"nombre": "GENERAL JOSE MARIA BRUGUEZ"
},
{
"departamentoId": 16,
"nombre": "MARISCAL JOSE FELIX ESTIGARRIBIA"
},
{
"departamentoId": 16,
"nombre": "FILADELFIA"
},
{
"departamentoId": 16,
"nombre": "LOMA PLATA"
},
{
"departamentoId": 17,
"nombre": "FUERTE OLIMPO"
},
{
"departamentoId": 17,
"nombre": "PUERTO CASADO"
},
{
"departamentoId": 17,
"nombre": "BAHIA NEGRA"
},
{
"departamentoId": 17,
"nombre": "CARMELO PERALTA"
}
]
\ No newline at end of file
[
{
"id": 0,
"nombre": "ASUNCION"
},
{
"id": 1,
"nombre": "CONCEPCION"
},
{
"id": 2,
"nombre": "SAN PEDRO"
},
{
"id": 3,
"nombre": "CORDILLERA"
},
{
"id": 4,
"nombre": "GUAIRA"
},
{
"id": 5,
"nombre": "CAAGUAZU"
},
{
"id": 6,
"nombre": "CAAZAPA"
},
{
"id": 7,
"nombre": "ITAPUA"
},
{
"id": 8,
"nombre": "MISIONES"
},
{
"id": 9,
"nombre": "PARAGUARI"
},
{
"id": 10,
"nombre": "ALTO PARANA"
},
{
"id": 11,
"nombre": "CENTRAL"
},
{
"id": 12,
"nombre": "NEEMBUCU"
},
{
"id": 13,
"nombre": "AMAMBAY"
},
{
"id": 14,
"nombre": "CANINDEYU"
},
{
"id": 15,
"nombre": "PRESIDENTE HAYES"
},
{
"id": 16,
"nombre": "BOQUERON"
},
{
"id": 17,
"nombre": "ALTO PARAGUAY"
}
]
\ No newline at end of file
[ [
{ {
"resumen": "Esse elit mollit minim pariatur ea dolor nulla aute ullamco duis reprehenderit cillum.", "resumen": "In irure aliquip qui cillum veniam sint amet amet sint ex proident anim mollit.",
"nombre": "Lorraine", "nombre": "Taylor",
"apellido": "Hensley", "apellido": "Obrien",
"correo": "mercadospears@translink.com", "correo": "gladysalexander@dadabase.com",
"ci": 3679238, "ci": 5821432,
"ciudad": "Clarence", "ciudadId": 238,
"telefono": "(851) 511-3993", "telefono": "(950) 417-3681",
"fechaNacimiento": "2021-08-13", "fechaNacimiento": "2021-08-16",
"nivelIngles": 2, "nivelIngles": 1,
"disponibilidad": "C", "disponibilidad": "C",
"modalidad": "P", "modalidad": "S",
"experiencias": [ "experiencias": [
{ {
"institucion": "Housedown", "institucion": "Fanfare",
"fechaDesde": "2014-01-29", "fechaDesde": "2014-09-10",
"fechaHasta": "2016-01-01", "fechaHasta": "2016-01-01",
"cargo": "developer frontend", "cargo": "dba",
"descripcion": "Lorem proident ullamco consectetur magna officia reprehenderit culpa consectetur cupidatat aute commodo et voluptate incididunt.", "descripcion": "Enim qui Lorem ut magna.",
"nombreReferencia": "Clayton", "nombreReferencia": "Marissa",
"telefonoReferencia": "(924) 476-3465", "telefonoReferencia": "(804) 471-2089",
"reconocimientos": [ "reconocimientos": [
{ {
"nombre": "mejor alumno", "nombre": "ganador de x",
"certificado": "cert" "certificado": "cert"
} }
] ]
...@@ -32,9 +32,9 @@ ...@@ -32,9 +32,9 @@
{ {
"tipoDeEstudio": "universitario", "tipoDeEstudio": "universitario",
"institucion": "ua", "institucion": "ua",
"fechaDesde": "2014-06-15", "fechaDesde": "2014-08-28",
"fechaHasta": "2016-01-01", "fechaHasta": "2016-01-01",
"titulo": "lic inf", "titulo": "analista",
"estudioReconocimiento": [ "estudioReconocimiento": [
{ {
"nombre": "titest", "nombre": "titest",
...@@ -46,39 +46,45 @@ ...@@ -46,39 +46,45 @@
"tecnologias": [ "tecnologias": [
{ {
"tecnologia": { "tecnologia": {
"nombre": "c#" "nombre": "JAVA"
}, },
"nivel": 3 "nivel": 5
}, },
{ {
"tecnologia": { "tecnologia": {
"nombre": "JAVA" "nombre": "Python"
},
"nivel": 4
},
{
"tecnologia": {
"nombre": "C"
}, },
"nivel": 1 "nivel": 5
} }
] ]
}, },
{ {
"resumen": "Aute est duis qui incididunt nulla minim officia officia non nulla consectetur adipisicing occaecat.", "resumen": "Do nostrud aliqua adipisicing in sunt aute id do elit ut dolor ad aliquip.",
"nombre": "Stanton", "nombre": "Hopkins",
"apellido": "Adams", "apellido": "Parks",
"correo": "leonvazquez@syntac.com", "correo": "grahamgriffith@zilidium.com",
"ci": 4577602, "ci": 4213361,
"ciudad": "Tuskahoma", "ciudadId": 96,
"telefono": "(955) 586-3144", "telefono": "(866) 560-2541",
"fechaNacimiento": "2021-04-11", "fechaNacimiento": "2021-09-04",
"nivelIngles": 1, "nivelIngles": 5,
"disponibilidad": "P", "disponibilidad": "C",
"modalidad": "P", "modalidad": "P",
"experiencias": [ "experiencias": [
{ {
"institucion": "Centuria", "institucion": "Pyramia",
"fechaDesde": "2014-08-21", "fechaDesde": "2014-07-15",
"fechaHasta": "2016-01-01", "fechaHasta": "2016-01-01",
"cargo": "developer frontend", "cargo": "developer frontend",
"descripcion": "Dolor sit aliqua consequat in ullamco in ea.", "descripcion": "Consequat fugiat qui sint deserunt ullamco.",
"nombreReferencia": "Sharlene", "nombreReferencia": "Iva",
"telefonoReferencia": "(849) 570-2353", "telefonoReferencia": "(947) 580-2363",
"reconocimientos": [ "reconocimientos": [
{ {
"nombre": "ganador de x", "nombre": "ganador de x",
...@@ -90,10 +96,10 @@ ...@@ -90,10 +96,10 @@
"estudios": [ "estudios": [
{ {
"tipoDeEstudio": "universitario", "tipoDeEstudio": "universitario",
"institucion": "ua", "institucion": "una",
"fechaDesde": "2014-01-07", "fechaDesde": "2014-07-08",
"fechaHasta": "2016-01-01", "fechaHasta": "2016-01-01",
"titulo": "ing inf", "titulo": "lic inf",
"estudioReconocimiento": [ "estudioReconocimiento": [
{ {
"nombre": "titest", "nombre": "titest",
...@@ -105,39 +111,86 @@ ...@@ -105,39 +111,86 @@
"tecnologias": [ "tecnologias": [
{ {
"tecnologia": { "tecnologia": {
"nombre": "python" "nombre": "Spring"
}, },
"nivel": 4 "nivel": 2
}
]
}, },
{ {
"resumen": "Occaecat non cupidatat amet reprehenderit consectetur ullamco et.",
"nombre": "Alejandra",
"apellido": "Riggs",
"correo": "ruthrobertson@homelux.com",
"ci": 4605787,
"ciudadId": 30,
"telefono": "(876) 580-2411",
"fechaNacimiento": "2021-01-28",
"nivelIngles": 3,
"disponibilidad": "P",
"modalidad": "P",
"experiencias": [
{
"institucion": "Geeky",
"fechaDesde": "2014-08-26",
"fechaHasta": "2016-01-01",
"cargo": "dba",
"descripcion": "Aute culpa ea mollit adipisicing dolore dolore amet adipisicing occaecat commodo enim cillum.",
"nombreReferencia": "Rose",
"telefonoReferencia": "(853) 471-2006",
"reconocimientos": [
{
"nombre": "mejor alumno",
"certificado": "cert"
}
]
}
],
"estudios": [
{
"tipoDeEstudio": "universitario",
"institucion": "ua",
"fechaDesde": "2014-02-13",
"fechaHasta": "2016-01-01",
"titulo": "lic inf",
"estudioReconocimiento": [
{
"nombre": "titest",
"certificado": "titest"
}
]
}
],
"tecnologias": [
{
"tecnologia": { "tecnologia": {
"nombre": "c" "nombre": "Django"
}, },
"nivel": 4 "nivel": 3
} }
] ]
}, },
{ {
"resumen": "Aute consequat occaecat ipsum dolore ad enim ut.", "resumen": "Qui ullamco excepteur velit ad ullamco id id nisi irure dolore cupidatat mollit ullamco veniam.",
"nombre": "Grace", "nombre": "Angelina",
"apellido": "Joyner", "apellido": "Wallace",
"correo": "miriamlevy@quizka.com", "correo": "christiwalls@capscreen.com",
"ci": 5206543, "ci": 4591352,
"ciudad": "Wikieup", "ciudadId": 65,
"telefono": "(941) 577-2187", "telefono": "(931) 499-3122",
"fechaNacimiento": "2021-03-05", "fechaNacimiento": "2021-06-05",
"nivelIngles": 3, "nivelIngles": 4,
"disponibilidad": "C", "disponibilidad": "C",
"modalidad": "S", "modalidad": "S",
"experiencias": [ "experiencias": [
{ {
"institucion": "Aquamate", "institucion": "Orbiflex",
"fechaDesde": "2014-10-20", "fechaDesde": "2014-08-19",
"fechaHasta": "2016-01-01", "fechaHasta": "2016-01-01",
"cargo": "developer frontend", "cargo": "developer backend",
"descripcion": "In pariatur sint minim commodo enim labore esse tempor fugiat veniam.", "descripcion": "Aliquip occaecat minim dolor enim commodo.",
"nombreReferencia": "Sonya", "nombreReferencia": "Elba",
"telefonoReferencia": "(816) 540-2926", "telefonoReferencia": "(881) 568-2597",
"reconocimientos": [ "reconocimientos": [
{ {
"nombre": "ganador de x", "nombre": "ganador de x",
...@@ -150,9 +203,9 @@ ...@@ -150,9 +203,9 @@
{ {
"tipoDeEstudio": "universitario", "tipoDeEstudio": "universitario",
"institucion": "una", "institucion": "una",
"fechaDesde": "2014-11-05", "fechaDesde": "2014-12-22",
"fechaHasta": "2016-01-01", "fechaHasta": "2016-01-01",
"titulo": "lic inf", "titulo": "ing inf",
"estudioReconocimiento": [ "estudioReconocimiento": [
{ {
"nombre": "titest", "nombre": "titest",
...@@ -164,39 +217,33 @@ ...@@ -164,39 +217,33 @@
"tecnologias": [ "tecnologias": [
{ {
"tecnologia": { "tecnologia": {
"nombre": "laravel" "nombre": "Flutter"
},
"nivel": 4
},
{
"tecnologia": {
"nombre": "dot net"
}, },
"nivel": 1 "nivel": 2
} }
] ]
}, },
{ {
"resumen": "Ex est enim pariatur ut proident do ullamco sit nulla aute irure ullamco.", "resumen": "Deserunt tempor ut et eiusmod et labore Lorem.",
"nombre": "Pat", "nombre": "Rivas",
"apellido": "Kim", "apellido": "Owens",
"correo": "cheribenton@interodeo.com", "correo": "shirleyguzman@equitox.com",
"ci": 2095699, "ci": 3969318,
"ciudad": "Ferney", "ciudadId": 143,
"telefono": "(802) 538-3821", "telefono": "(972) 524-2610",
"fechaNacimiento": "2021-07-23", "fechaNacimiento": "2021-09-09",
"nivelIngles": 2, "nivelIngles": 5,
"disponibilidad": "P", "disponibilidad": "P",
"modalidad": "R", "modalidad": "S",
"experiencias": [ "experiencias": [
{ {
"institucion": "Shopabout", "institucion": "Uncorp",
"fechaDesde": "2014-11-09", "fechaDesde": "2014-02-01",
"fechaHasta": "2016-01-01", "fechaHasta": "2016-01-01",
"cargo": "developer frontend", "cargo": "developer backend",
"descripcion": "Reprehenderit deserunt ea laboris occaecat pariatur veniam officia irure quis occaecat elit laboris eiusmod officia.", "descripcion": "Dolore nulla deserunt fugiat est reprehenderit tempor qui excepteur.",
"nombreReferencia": "Bray", "nombreReferencia": "Crawford",
"telefonoReferencia": "(824) 544-3117", "telefonoReferencia": "(903) 568-2045",
"reconocimientos": [ "reconocimientos": [
{ {
"nombre": "ganador de x", "nombre": "ganador de x",
...@@ -209,9 +256,9 @@ ...@@ -209,9 +256,9 @@
{ {
"tipoDeEstudio": "universitario", "tipoDeEstudio": "universitario",
"institucion": "uca", "institucion": "uca",
"fechaDesde": "2014-07-08", "fechaDesde": "2014-08-03",
"fechaHasta": "2016-01-01", "fechaHasta": "2016-01-01",
"titulo": "ing inf", "titulo": "lic inf",
"estudioReconocimiento": [ "estudioReconocimiento": [
{ {
"nombre": "titest", "nombre": "titest",
...@@ -223,36 +270,36 @@ ...@@ -223,36 +270,36 @@
"tecnologias": [ "tecnologias": [
{ {
"tecnologia": { "tecnologia": {
"nombre": "spring" "nombre": "Switf"
}, },
"nivel": 1 "nivel": 5
} }
] ]
}, },
{ {
"resumen": "Commodo sunt officia aliquip sunt incididunt sit nostrud laboris adipisicing enim velit occaecat cupidatat.", "resumen": "Aliqua est adipisicing do exercitation sit laborum aliquip aliqua adipisicing enim aute.",
"nombre": "Shelia", "nombre": "Estelle",
"apellido": "Moore", "apellido": "Gamble",
"correo": "auroraweaver@extragene.com", "correo": "mclaughlinpate@enomen.com",
"ci": 3943771, "ci": 2329745,
"ciudad": "Bourg", "ciudadId": 248,
"telefono": "(929) 413-3014", "telefono": "(933) 501-3525",
"fechaNacimiento": "2021-04-03", "fechaNacimiento": "2021-03-24",
"nivelIngles": 1, "nivelIngles": 1,
"disponibilidad": "C", "disponibilidad": "P",
"modalidad": "S", "modalidad": "R",
"experiencias": [ "experiencias": [
{ {
"institucion": "Rugstars", "institucion": "Extrawear",
"fechaDesde": "2014-02-06", "fechaDesde": "2014-11-10",
"fechaHasta": "2016-01-01", "fechaHasta": "2016-01-01",
"cargo": "developer frontend", "cargo": "developer frontend",
"descripcion": "Lorem ipsum adipisicing et minim nulla anim nulla est qui labore laborum dolore.", "descripcion": "Do do est ad ea pariatur aliquip sit ipsum in duis laborum velit magna.",
"nombreReferencia": "Jeannine", "nombreReferencia": "Schultz",
"telefonoReferencia": "(851) 533-2842", "telefonoReferencia": "(903) 420-3902",
"reconocimientos": [ "reconocimientos": [
{ {
"nombre": "ganador de x", "nombre": "mejor alumno",
"certificado": "cert" "certificado": "cert"
} }
] ]
...@@ -261,8 +308,8 @@ ...@@ -261,8 +308,8 @@
"estudios": [ "estudios": [
{ {
"tipoDeEstudio": "universitario", "tipoDeEstudio": "universitario",
"institucion": "uca", "institucion": "ua",
"fechaDesde": "2014-09-16", "fechaDesde": "2014-07-13",
"fechaHasta": "2016-01-01", "fechaHasta": "2016-01-01",
"titulo": "ing inf", "titulo": "ing inf",
"estudioReconocimiento": [ "estudioReconocimiento": [
...@@ -276,33 +323,33 @@ ...@@ -276,33 +323,33 @@
"tecnologias": [ "tecnologias": [
{ {
"tecnologia": { "tecnologia": {
"nombre": "postgres" "nombre": "SL"
}, },
"nivel": 2 "nivel": 4
} }
] ]
}, },
{ {
"resumen": "Tempor sunt non officia reprehenderit consequat est deserunt nisi ut tempor quis eu.", "resumen": "Officia eiusmod ut reprehenderit tempor consequat elit amet ex voluptate aute anim do.",
"nombre": "Clarissa", "nombre": "Mariana",
"apellido": "Moses", "apellido": "Ratliff",
"correo": "clarkshepherd@imant.com", "correo": "loramiddleton@musanpoly.com",
"ci": 1710741, "ci": 4519594,
"ciudad": "Rivers", "ciudadId": 104,
"telefono": "(871) 416-2866", "telefono": "(817) 492-2493",
"fechaNacimiento": "2021-10-26", "fechaNacimiento": "2021-07-30",
"nivelIngles": 2, "nivelIngles": 5,
"disponibilidad": "P", "disponibilidad": "P",
"modalidad": "S", "modalidad": "S",
"experiencias": [ "experiencias": [
{ {
"institucion": "Imperium", "institucion": "Uberlux",
"fechaDesde": "2014-11-15", "fechaDesde": "2014-07-01",
"fechaHasta": "2016-01-01", "fechaHasta": "2016-01-01",
"cargo": "developer frontend", "cargo": "developer backend",
"descripcion": "Incididunt id elit do officia esse in aute duis ipsum ea incididunt.", "descripcion": "Anim labore anim veniam deserunt ex aute.",
"nombreReferencia": "Tamara", "nombreReferencia": "Francesca",
"telefonoReferencia": "(846) 444-3812", "telefonoReferencia": "(961) 420-2150",
"reconocimientos": [ "reconocimientos": [
{ {
"nombre": "ganador de x", "nombre": "ganador de x",
...@@ -314,8 +361,8 @@ ...@@ -314,8 +361,8 @@
"estudios": [ "estudios": [
{ {
"tipoDeEstudio": "universitario", "tipoDeEstudio": "universitario",
"institucion": "uca", "institucion": "ua",
"fechaDesde": "2014-12-21", "fechaDesde": "2014-10-03",
"fechaHasta": "2016-01-01", "fechaHasta": "2016-01-01",
"titulo": "ing inf", "titulo": "ing inf",
"estudioReconocimiento": [ "estudioReconocimiento": [
...@@ -329,9 +376,9 @@ ...@@ -329,9 +376,9 @@
"tecnologias": [ "tecnologias": [
{ {
"tecnologia": { "tecnologia": {
"nombre": "django" "nombre": "Scala"
}, },
"nivel": 1 "nivel": 5
} }
] ]
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment