[Lada-commits] [PATCH] Added model class for bertiebsart

Wald Commits scm-commit at wald.intevation.org
Mon Dec 19 11:31:36 CET 2016


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1482143493 -3600
# Node ID 23b75545dbf0df874ab1895038d03573e9b46110
# Parent  f434ccd6486451d58132a1a0f2f06b0fc13b84b0
Added model class for bertiebsart.

diff -r f434ccd64864 -r 23b75545dbf0 src/main/java/de/intevation/lada/model/stammdaten/Betriebsart.java
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/main/java/de/intevation/lada/model/stammdaten/Betriebsart.java	Mon Dec 19 11:31:33 2016 +0100
@@ -0,0 +1,43 @@
+package de.intevation.lada.model.stammdaten;
+
+import java.io.Serializable;
+
+import javax.persistence.Entity;
+import javax.persistence.Id;
+import javax.persistence.Table;
+
+
+/**
+ * The persistent class for the betriebsart database table.
+ * 
+ */
+ at Entity
+ at Table(name="betriebsart")
+public class Betriebsart implements Serializable {
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    private Integer id;
+
+    private String name;
+
+    public Betriebsart() {
+    }
+
+    public Integer getId() {
+        return this.id;
+    }
+
+    public void setId(Integer id) {
+        this.id = id;
+    }
+
+    public String getName() {
+        return this.name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+}


More information about the Lada-commits mailing list