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
0
Merge Requests
0
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
Amparo Oliver
th-app-java
Commits
e7c22479
Commit
e7c22479
authored
Oct 29, 2021
by
Javier Ferreira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'giuli_001' of
https://phoebe.roshka.com/gitlab/hshah/TalentoHumano
into javi
parents
1fba0a8c
b2235060
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
164 additions
and
1 deletions
+164
-1
curriculumsearch/src/main/java/com/roshka/modelo/Postulante.java
+149
-1
curriculumsearch/src/main/resources/application.properties
+15
-0
No files found.
curriculumsearch/src/main/java/com/roshka/modelo/Postulante.java
View file @
e7c22479
package
com
.
roshka
.
modelo
;
package
com
.
roshka
.
modelo
;
import
javax.persistence.*
;
import
java.util.Date
;
@Entity
@Table
(
name
=
"postulante"
)
public
class
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 @
e7c22479
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=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