Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
th-app-java
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Oscar Enrique Gonzalez Escurra
th-app-java
Commits
895caa25
You need to sign in or sign up before continuing.
Commit
895caa25
authored
Oct 29, 2021
by
willgonzz
Browse files
Options
Browse Files
Download
Plain Diff
merge con postulante
parents
3ec2ab8e
3e8a0085
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
219 additions
and
6 deletions
+219
-6
curriculumsearch/src/main/java/com/roshka/modelo/ExperienciaTecnologia.java
+56
-0
curriculumsearch/src/main/java/com/roshka/modelo/Postulante.java
+149
-1
curriculumsearch/src/main/resources/application.properties
+14
-5
No files found.
curriculumsearch/src/main/java/com/roshka/modelo/ExperienciaTecnologia.java
View file @
895caa25
package
com
.
roshka
.
modelo
;
import
javax.persistence.Entity
;
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
=
"experiencia_tecnologia"
)
public
class
ExperienciaTecnologia
{
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
AUTO
)
private
Long
id
;
@ManyToOne
@JoinColumn
private
Experiencia
experencia
;
@ManyToOne
@JoinColumn
private
Tecnologia
tecnologia
;
private
Long
nivel
;
public
Long
getId
()
{
return
id
;
}
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
public
Experiencia
getExperencia
()
{
return
experencia
;
}
public
void
setExperencia
(
Experiencia
experencia
)
{
this
.
experencia
=
experencia
;
}
public
Tecnologia
getTecnologia
()
{
return
tecnologia
;
}
public
void
setTecnologia
(
Tecnologia
tecnologia
)
{
this
.
tecnologia
=
tecnologia
;
}
public
Long
getNivel
()
{
return
nivel
;
}
public
void
setNivel
(
Long
nivel
)
{
this
.
nivel
=
nivel
;
}
}
curriculumsearch/src/main/java/com/roshka/modelo/Postulante.java
View file @
895caa25
package
com
.
roshka
.
modelo
;
import
javax.persistence.*
;
import
java.util.Date
;
@Entity
@Table
(
name
=
"postulante"
)
public
class
Postulante
{
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
AUTO
)
private
long
id
;
@Column
(
name
=
"nombre"
)
private
String
nombre
;
@Column
(
name
=
"apellido"
)
private
String
apellido
;
@Column
(
name
=
"ci"
)
private
String
ci
;
@Column
(
name
=
"correo"
)
private
String
correo
;
@Column
(
name
=
"ciudad"
)
private
String
ciudad
;
@Column
(
name
=
"telefono"
)
private
String
telefono
;
@Column
(
name
=
"fecha_nacimiento"
)
private
Date
fechaNacimiento
;
@Column
(
name
=
"resumen"
)
private
String
resumen
;
@Column
(
name
=
"nivel_ingles"
)
private
long
nivelIngles
;
@Column
(
name
=
"curriculum"
)
private
String
curriculum
;
@Column
(
name
=
"modalidad"
)
private
String
modalidad
;
@Column
(
name
=
"disponibilidad"
)
private
String
disponibilidad
;
public
long
getId
()
{
return
id
;
}
public
void
setId
(
long
id
)
{
this
.
id
=
id
;
}
public
String
getNombre
()
{
return
nombre
;
}
public
void
setNombre
(
String
nombre
)
{
this
.
nombre
=
nombre
;
}
public
String
getApellido
()
{
return
apellido
;
}
public
void
setApellido
(
String
apellido
)
{
this
.
apellido
=
apellido
;
}
public
String
getCi
()
{
return
ci
;
}
public
void
setCi
(
String
ci
)
{
this
.
ci
=
ci
;
}
public
String
getCorreo
()
{
return
correo
;
}
public
void
setCorreo
(
String
correo
)
{
this
.
correo
=
correo
;
}
public
String
getCiudad
()
{
return
ciudad
;
}
public
void
setCiudad
(
String
ciudad
)
{
this
.
ciudad
=
ciudad
;
}
public
String
getTelefono
()
{
return
telefono
;
}
public
void
setTelefono
(
String
telefono
)
{
this
.
telefono
=
telefono
;
}
public
Date
getFechaNacimiento
()
{
return
fechaNacimiento
;
}
public
void
setFechaNacimiento
(
Date
fechaNacimiento
)
{
this
.
fechaNacimiento
=
fechaNacimiento
;
}
public
String
getResumen
()
{
return
resumen
;
}
public
void
setResumen
(
String
resumen
)
{
this
.
resumen
=
resumen
;
}
public
long
getNivelIngles
()
{
return
nivelIngles
;
}
public
void
setNivelIngles
(
long
nivelIngles
)
{
this
.
nivelIngles
=
nivelIngles
;
}
public
String
getCurriculum
()
{
return
curriculum
;
}
public
void
setCurriculum
(
String
curriculum
)
{
this
.
curriculum
=
curriculum
;
}
public
String
getModalidad
()
{
return
modalidad
;
}
public
void
setModalidad
(
String
modalidad
)
{
this
.
modalidad
=
modalidad
;
}
public
String
getDisponibilidad
()
{
return
disponibilidad
;
}
public
void
setDisponibilidad
(
String
disponibilidad
)
{
this
.
disponibilidad
=
disponibilidad
;
}
}
curriculumsearch/src/main/resources/application.properties
View file @
895caa25
spring.jpa.hibernate.ddl-auto
=
none
spring.jpa.hibernate.ddl-auto
=
create-drop
spring.jpa.database-platform
=
org.hibernate.dialect.PostgreSQLDialect
spring.sql.init.mode
=
always
spring.sql.init.platform
=
postgres
spring.datasource.url
=
${SPRING_DATASOURCE_URL}
spring.datasource.username
=
${SPRING_DATASOURCE_USERNAME}
spring.datasource.password
=
${SPRING_DATASOURCE_PASSWORD}
\ No newline at end of file
#spring.datasource.url=jdbc:postgresql://localhost:5432/thumano
#spring.datasource.username
#spring.datasource.password=postgres
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation
=
true
server.port
=
8888
spring.mvc.view.prefix
=
/WEB-INF/views/
spring.mvc.view.suffix
=
.jsp
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment