Mercurial > lada > lada-server
diff src/main/java/de/intevation/lada/model/stammdaten/QueryType.java @ 1028:1c41c7b8f7c2 schema-update
Updated server application to new database model. THIS IS STILL WIP!!!
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 08 Jul 2016 15:32:36 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main/java/de/intevation/lada/model/stammdaten/QueryType.java Fri Jul 08 15:32:36 2016 +0200 @@ -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 query_type database table. + * + */ +@Entity +@Table(name="query_type") +public class QueryType implements Serializable { + private static final long serialVersionUID = 1L; + + @Id + private Integer id; + + private String type; + + public QueryType() { + } + + public Integer getId() { + return this.id; + } + + public void setId(Integer id) { + this.id = id; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + +}