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
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
1 deletions
+46
-1
.gitignore
+1
-0
curriculumsearch/src/main/java/com/roshka/modelo/Estudio.java
+31
-0
curriculumsearch/src/main/java/com/roshka/modelo/EstudioReconocimiento.java
+14
-1
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
;
package
com
.
roshka
.
modelo
;
import
java.util.Date
;
import
java.util.Date
;
import
java.util.List
;
import
javax.persistence.Column
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.GenerationType
;
import
javax.persistence.GenerationType
;
import
javax.persistence.Id
;
import
javax.persistence.Id
;
import
javax.persistence.JoinColumn
;
import
javax.persistence.ManyToOne
;
import
javax.persistence.Table
;
import
javax.persistence.Table
;
@Entity
@Entity
@Table
(
name
=
"estudio"
)
@Table
(
name
=
"estudio"
)
...
@@ -27,11 +30,39 @@ public class Estudio {
...
@@ -27,11 +30,39 @@ public class Estudio {
@Column
(
name
=
"titulo"
)
@Column
(
name
=
"titulo"
)
private
String
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
()
{
public
long
getId
()
{
return
this
.
id
;
return
this
.
id
;
}
}
public
void
setId
(
long
id
)
{
public
void
setId
(
long
id
)
{
this
.
id
=
id
;
this
.
id
=
id
;
}
}
...
...
curriculumsearch/src/main/java/com/roshka/modelo/EstudioReconocimiento.java
View file @
f46ea502
...
@@ -6,18 +6,31 @@ import javax.persistence.GeneratedValue;
...
@@ -6,18 +6,31 @@ import javax.persistence.GeneratedValue;
import
javax.persistence.GenerationType
;
import
javax.persistence.GenerationType
;
import
javax.persistence.Id
;
import
javax.persistence.Id
;
import
javax.persistence.JoinColumn
;
import
javax.persistence.ManyToOne
;
import
javax.persistence.Table
;
import
javax.persistence.Table
;
@Entity
@Entity
@Table
(
name
=
"estudio_reconocimiento"
)
@Table
(
name
=
"estudio_reconocimiento"
)
public
class
EstudioReconocimiento
{
public
class
EstudioReconocimiento
{
@Id
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
AUTO
)
private
Long
id
;
private
Long
id
;
@Column
(
name
=
"nombre"
)
@Column
(
name
=
"nombre"
)
private
String
nombre
;
private
String
nombre
;
@Column
(
name
=
"certificado"
)
@Column
(
name
=
"certificado"
)
private
String
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
)
{
public
EstudioReconocimiento
(
Long
id
,
String
nombre
,
String
certificado
)
{
this
.
id
=
id
;
this
.
id
=
id
;
...
...
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