Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/EjercitarJPA/src/model/Profesor.java
diff options
context:
space:
mode:
Diffstat (limited to 'EjercitarJPA/src/model/Profesor.java')
-rw-r--r--EjercitarJPA/src/model/Profesor.java70
1 files changed, 70 insertions, 0 deletions
diff --git a/EjercitarJPA/src/model/Profesor.java b/EjercitarJPA/src/model/Profesor.java
new file mode 100644
index 0000000..bfd1553
--- /dev/null
+++ b/EjercitarJPA/src/model/Profesor.java
@@ -0,0 +1,70 @@
+package model;
+
+import java.io.Serializable;
+import javax.persistence.*;
+
+
+/**
+ * The persistent class for the profesor database table.
+ *
+ */
+@Entity
+public class Profesor implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ @Id
+ @Column(name="\"idProfesor\"")
+ private Integer idProfesor;
+
+ private String apellido;
+
+ private Integer cedula;
+
+ private String grado;
+
+ private String nombre;
+
+ public Profesor() {
+ }
+
+ public Integer getIdProfesor() {
+ return this.idProfesor;
+ }
+
+ public void setIdProfesor(Integer idProfesor) {
+ this.idProfesor = idProfesor;
+ }
+
+ public String getApellido() {
+ return this.apellido;
+ }
+
+ public void setApellido(String apellido) {
+ this.apellido = apellido;
+ }
+
+ public Integer getCedula() {
+ return this.cedula;
+ }
+
+ public void setCedula(Integer cedula) {
+ this.cedula = cedula;
+ }
+
+ public String getGrado() {
+ return this.grado;
+ }
+
+ public void setGrado(String grado) {
+ this.grado = grado;
+ }
+
+ public String getNombre() {
+ return this.nombre;
+ }
+
+ public void setNombre(String nombre) {
+ this.nombre = nombre;
+ }
+
+} \ No newline at end of file