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
fe3075a0
Commit
fe3075a0
authored
Nov 04, 2021
by
Joel Florentin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'joaquin' of
https://phoebe.roshka.com/gitlab/hshah/TalentoHumano
into joel-001
parents
b94871f7
5bae62e6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
17 deletions
+49
-17
curriculumsearch/src/main/java/com/roshka/modelo/Experiencia.java
+6
-17
curriculumsearch/src/main/java/com/roshka/modelo/TipoExperiencia.java
+43
-0
No files found.
curriculumsearch/src/main/java/com/roshka/modelo/Experiencia.java
View file @
fe3075a0
...
@@ -45,17 +45,17 @@ public class Experiencia {
...
@@ -45,17 +45,17 @@ public class Experiencia {
@NotBlank
(
message
=
"Este campo no puede estar vacio"
)
@NotBlank
(
message
=
"Este campo no puede estar vacio"
)
private
String
cargo
;
private
String
cargo
;
@Column
(
name
=
"descripcion
"
)
@Column
(
name
=
"motivo_salida
"
)
private
String
descripcion
;
private
String
motivoSalida
;
@JsonBackReference
@JsonBackReference
@ManyToOne
(
optional
=
false
)
@ManyToOne
(
optional
=
false
)
@JoinColumn
@JoinColumn
private
Postulante
postulante
;
private
Postulante
postulante
;
@
JsonManagedReferenc
e
@
ManyToOn
e
@OneToMany
(
mappedBy
=
"experiencia"
,
cascade
=
CascadeType
.
ALL
)
private
TipoExperiencia
tipoExperiencia
;
private
List
<
ExperienciaReconocimiento
>
reconocimientos
;
public
long
getId
()
{
public
long
getId
()
{
return
id
;
return
id
;
...
@@ -105,16 +105,5 @@ public class Experiencia {
...
@@ -105,16 +105,5 @@ public class Experiencia {
public
Postulante
getPostulante
()
{
public
Postulante
getPostulante
()
{
return
postulante
;
return
postulante
;
}
}
public
String
getDescripcion
()
{
return
descripcion
;
}
public
void
setDescripcion
(
String
descripcion
)
{
this
.
descripcion
=
descripcion
;
}
public
void
setReconocimientos
(
List
<
ExperienciaReconocimiento
>
reconocimientos
)
{
this
.
reconocimientos
=
reconocimientos
;
}
public
List
<
ExperienciaReconocimiento
>
getReconocimientos
()
{
return
reconocimientos
;
}
}
}
curriculumsearch/src/main/java/com/roshka/modelo/TipoExperiencia.java
0 → 100644
View file @
fe3075a0
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.Table
;
@Entity
@Table
(
name
=
"tipo_experiencia"
)
public
class
TipoExperiencia
{
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
AUTO
)
@Column
(
name
=
"id"
)
private
long
id
;
@Column
(
name
=
"descripcion"
)
private
String
descripcion
;
public
long
getId
()
{
return
id
;
}
public
void
setId
(
long
id
)
{
this
.
id
=
id
;
}
public
String
getDescripcion
()
{
return
descripcion
;
}
public
void
setDescripcion
(
String
descripcion
)
{
this
.
descripcion
=
descripcion
;
}
}
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