Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/EjercitarJPA/src/model/Concepto.java
diff options
context:
space:
mode:
Diffstat (limited to 'EjercitarJPA/src/model/Concepto.java')
-rw-r--r--EjercitarJPA/src/model/Concepto.java49
1 files changed, 49 insertions, 0 deletions
diff --git a/EjercitarJPA/src/model/Concepto.java b/EjercitarJPA/src/model/Concepto.java
new file mode 100644
index 0000000..ade496b
--- /dev/null
+++ b/EjercitarJPA/src/model/Concepto.java
@@ -0,0 +1,49 @@
+package model;
+
+import java.io.Serializable;
+import javax.persistence.*;
+
+
+/**
+ * The persistent class for the concepto database table.
+ *
+ */
+@Entity
+public class Concepto implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ @Id
+ private Integer idconcepto;
+
+ private String descripcion;
+
+ private String nombre;
+
+ public Concepto() {
+ }
+
+ public Integer getIdconcepto() {
+ return this.idconcepto;
+ }
+
+ public void setIdconcepto(Integer idconcepto) {
+ this.idconcepto = idconcepto;
+ }
+
+ public String getDescripcion() {
+ return this.descripcion;
+ }
+
+ public void setDescripcion(String descripcion) {
+ this.descripcion = descripcion;
+ }
+
+ public String getNombre() {
+ return this.nombre;
+ }
+
+ public void setNombre(String nombre) {
+ this.nombre = nombre;
+ }
+
+} \ No newline at end of file