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
328574ad
Commit
328574ad
authored
Oct 29, 2021
by
Joel Florentin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
postulante relaciones y app properties
parent
3e8a0085
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
1 deletions
+34
-1
curriculumsearch/src/main/java/com/roshka/modelo/Postulante.java
+33
-0
curriculumsearch/src/main/resources/application.properties
+1
-1
No files found.
curriculumsearch/src/main/java/com/roshka/modelo/Postulante.java
View file @
328574ad
...
...
@@ -2,6 +2,7 @@ package com.roshka.modelo;
import
javax.persistence.*
;
import
java.util.Date
;
import
java.util.List
;
@Entity
...
...
@@ -47,6 +48,18 @@ public class Postulante {
@Column
(
name
=
"disponibilidad"
)
private
String
disponibilidad
;
@OneToMany
(
mappedBy
=
"postulante"
)
@JoinColumn
()
private
List
<
PostulanteTecnologia
>
tecnologias
;
@OneToMany
(
mappedBy
=
"postulante"
)
@JoinColumn
()
private
List
<
Experiencia
>
experiencias
;
@OneToMany
(
mappedBy
=
"postulante"
)
@JoinColumn
private
List
<
Estudio
>
estudios
;
public
long
getId
()
{
return
id
;
}
...
...
@@ -150,4 +163,24 @@ public class Postulante {
public
void
setDisponibilidad
(
String
disponibilidad
)
{
this
.
disponibilidad
=
disponibilidad
;
}
public
List
<
PostulanteTecnologia
>
getTecnologias
()
{
return
tecnologias
;
}
public
void
setTecnologias
(
List
<
PostulanteTecnologia
>
tecnologias
)
{
this
.
tecnologias
=
tecnologias
;
}
public
List
<
Estudio
>
getEstudios
()
{
return
estudios
;
}
public
List
<
Experiencia
>
getExperiencias
()
{
return
experiencias
;
}
public
void
setEstudios
(
List
<
Estudio
>
estudios
)
{
this
.
estudios
=
estudios
;
}
public
void
setExperiencias
(
List
<
Experiencia
>
experiencias
)
{
this
.
experiencias
=
experiencias
;
}
}
curriculumsearch/src/main/resources/application.properties
View file @
328574ad
...
...
@@ -9,7 +9,7 @@ spring.sql.init.platform=postgres
#spring.datasource.password=postgres
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation
=
true
server.port
=
8888
#
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