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
df070ca7
Commit
df070ca7
authored
Oct 28, 2021
by
Cesar Giulano Gonzalez Maqueda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Anotaciones de BD
parent
a33575f0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
0 deletions
+31
-0
curriculumsearch/src/main/java/com/roshka/modelo/Postulante.java
+18
-0
curriculumsearch/src/main/resources/application.properties
+13
-0
No files found.
curriculumsearch/src/main/java/com/roshka/modelo/Postulante.java
View file @
df070ca7
package
com
.
roshka
.
modelo
;
import
javax.persistence.*
;
import
java.util.Date
;
@Entity
@Table
(
name
=
"postulante"
)
public
class
Postulante
{
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
AUTO
)
private
long
id
;
@Column
(
name
=
"nombre"
)
private
String
nombre
;
@Column
(
name
=
"apellido"
)
private
String
apellido
;
@Column
(
name
=
"ci"
)
private
String
ci
;
@Column
(
name
=
"correo"
)
private
String
correo
;
@Column
(
name
=
"ciudad"
)
private
String
ciudad
;
@Column
(
name
=
"telefono"
)
private
String
telefono
;
@Column
(
name
=
"fecha_nacimiento"
)
private
Date
fechaNacimiento
;
@Column
(
name
=
"resumen"
)
private
String
resumen
;
@Column
(
name
=
"nivel_ingles"
)
private
long
nivelIngles
;
@Column
(
name
=
"curriculum"
)
private
String
curriculum
;
@Column
(
name
=
"modalidad"
)
private
String
modalidad
;
@Column
(
name
=
"disponibilidad"
)
private
String
disponibilidad
;
public
long
getId
()
{
...
...
curriculumsearch/src/main/resources/application.properties
View file @
df070ca7
spring.jpa.hibernate.ddl-auto
=
create-drop
spring.sql.init.mode
=
always
spring.sql.init.platform
=
postgres
spring.datasource.url
=
jdbc:postgresql://localhost:5432/thumano
spring.datasource.username
=
postgres
spring.datasource.password
=
postgres
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation
=
true
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