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
f46ea502
Commit
f46ea502
authored
Oct 29, 2021
by
willgonzz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
actualizacion de Estudio y EstudioExperiencia
parent
895caa25
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
6 deletions
+51
-6
.gitignore
+1
-0
curriculumsearch/src/main/java/com/roshka/modelo/Estudio.java
+35
-4
curriculumsearch/src/main/java/com/roshka/modelo/EstudioReconocimiento.java
+15
-2
No files found.
.gitignore
0 → 100644
View file @
f46ea502
/.metadata/
curriculumsearch/src/main/java/com/roshka/modelo/Estudio.java
View file @
f46ea502
package
com
.
roshka
.
modelo
;
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"
)
...
...
@@ -26,13 +29,41 @@ public class Estudio {
private
String
referencias
;
@Column
(
name
=
"titulo"
)
private
String
titulo
;
public
long
getId
()
{
@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
)
{
public
void
setId
(
long
id
)
{
this
.
id
=
id
;
}
...
...
curriculumsearch/src/main/java/com/roshka/modelo/EstudioReconocimiento.java
View file @
f46ea502
...
...
@@ -6,20 +6,33 @@ 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
{
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@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
EstudioReconocimiento
(
Long
id
,
String
nombre
,
String
certificado
)
{
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
;
...
...
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