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
972b9c48
You need to sign in or sign up before continuing.
Commit
972b9c48
authored
Oct 29, 2021
by
Joel Florentin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'William_001' of
https://phoebe.roshka.com/gitlab/hshah/TalentoHumano
into joel-001
parents
b1fff48d
f46ea502
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
174 additions
and
1 deletions
+174
-1
.gitignore
+1
-0
curriculumsearch/src/main/java/com/roshka/modelo/Estudio.java
+113
-1
curriculumsearch/src/main/java/com/roshka/modelo/EstudioReconocimiento.java
+59
-0
curriculumsearch/src/main/resources/application.properties
+1
-0
No files found.
.gitignore
0 → 100644
View file @
972b9c48
/.metadata/
curriculumsearch/src/main/java/com/roshka/modelo/Estudio.java
View file @
972b9c48
package
com
.
roshka
.
modelo
;
package
com
.
roshka
.
modelo
;
public
class
Estudio
{
import
java.util.Date
;
import
java.util.List
;
import
javax.persistence.Column
;
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
=
"estudio"
)
public
class
Estudio
{
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
private
long
id
;
@Column
(
name
=
"tipo_de_studio"
)
private
String
tipoDeEstudio
;
@Column
(
name
=
"institucion"
)
private
String
institucion
;
@Column
(
name
=
"fecha_desde"
)
private
Date
fechaDesde
;
@Column
(
name
=
"fecha_hasta"
)
private
Date
fechaHasta
;
@Column
(
name
=
"referencias"
)
private
String
referencias
;
@Column
(
name
=
"titulo"
)
private
String
titulo
;
@ManyToOne
@JoinColumn
private
Postulante
postulante
;
@ManyToOne
@JoinColumn
private
List
<
EstudioReconocimiento
>
estudioReconocimiento
;
public
List
<
EstudioReconocimiento
>
getEstudioReconocimiento
()
{
return
estudioReconocimiento
;
}
public
void
setEstudioReconocimiento
(
List
<
EstudioReconocimiento
>
estudioReconocimiento
)
{
this
.
estudioReconocimiento
=
estudioReconocimiento
;
}
public
Postulante
getPostulante
()
{
return
postulante
;
}
public
void
setPostulante
(
Postulante
postulante
)
{
this
.
postulante
=
postulante
;
}
public
long
getId
()
{
return
this
.
id
;
}
public
void
setId
(
long
id
)
{
this
.
id
=
id
;
}
public
String
getTipoDeEstudio
()
{
return
this
.
tipoDeEstudio
;
}
public
void
setTipoDeEstudio
(
String
tipoDeEstudio
)
{
this
.
tipoDeEstudio
=
tipoDeEstudio
;
}
public
String
getInstitucion
()
{
return
this
.
institucion
;
}
public
void
setInstitucion
(
String
institucion
)
{
this
.
institucion
=
institucion
;
}
public
Date
getFechaDesde
()
{
return
this
.
fechaDesde
;
}
public
void
setFechaDesde
(
Date
fechaDesde
)
{
this
.
fechaDesde
=
fechaDesde
;
}
public
Date
getFechaHasta
()
{
return
this
.
fechaHasta
;
}
public
void
setFechaHasta
(
Date
fechaHasta
)
{
this
.
fechaHasta
=
fechaHasta
;
}
public
String
getReferencias
()
{
return
this
.
referencias
;
}
public
void
setReferencias
(
String
referencias
)
{
this
.
referencias
=
referencias
;
}
public
String
getTitulo
()
{
return
this
.
titulo
;
}
public
void
setTitulo
(
String
titulo
)
{
this
.
titulo
=
titulo
;
}
}
}
curriculumsearch/src/main/java/com/roshka/modelo/EstudioReconocimiento.java
View file @
972b9c48
package
com
.
roshka
.
modelo
;
package
com
.
roshka
.
modelo
;
import
javax.persistence.Column
;
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
=
"estudio_reconocimiento"
)
public
class
EstudioReconocimiento
{
public
class
EstudioReconocimiento
{
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
AUTO
)
private
Long
id
;
@Column
(
name
=
"nombre"
)
private
String
nombre
;
@Column
(
name
=
"certificado"
)
private
String
certificado
;
@ManyToOne
@JoinColumn
private
Postulante
postulante
;
public
Postulante
getPostulante
()
{
return
postulante
;
}
public
void
setPostulante
(
Postulante
postulante
)
{
this
.
postulante
=
postulante
;
}
public
EstudioReconocimiento
(
Long
id
,
String
nombre
,
String
certificado
)
{
this
.
id
=
id
;
this
.
nombre
=
nombre
;
this
.
certificado
=
certificado
;
}
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
String
getCertificado
()
{
return
this
.
certificado
;
}
public
void
setCertificado
(
String
certificado
)
{
this
.
certificado
=
certificado
;
}
}
}
curriculumsearch/src/main/resources/application.properties
View file @
972b9c48
spring.jpa.hibernate.ddl-auto
=
create-drop
spring.jpa.hibernate.ddl-auto
=
create-drop
spring.jpa.database-platform
=
org.hibernate.dialect.PostgreSQLDialect
spring.jpa.database-platform
=
org.hibernate.dialect.PostgreSQLDialect
...
...
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