Mercurial > lada > lada-server
changeset 1254:23b75545dbf0
Added model class for bertiebsart.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Mon, 19 Dec 2016 11:31:33 +0100 |
parents | f434ccd64864 |
children | c0db68c9a87d 1d9552e05b76 |
files | src/main/java/de/intevation/lada/model/stammdaten/Betriebsart.java |
diffstat | 1 files changed, 43 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /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. + * + */ +@Entity +@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; + } + +}