Mercurial > lada > lada-server
diff src/main/java/de/intevation/lada/model/stammdaten/FilterType.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/FilterType.java Fri Jul 08 15:32:36 2016 +0200 @@ -0,0 +1,42 @@ +package de.intevation.lada.model.stammdaten; + +import java.io.Serializable; +import javax.persistence.*; + + +/** + * The persistent class for the filter_type database table. + * + */ +@Entity +@Table(name="filter_type") +@NamedQuery(name="FilterType.findAll", query="SELECT f FROM FilterType f") +public class FilterType implements Serializable { + private static final long serialVersionUID = 1L; + + @Id + @GeneratedValue(strategy=GenerationType.AUTO) + private Integer id; + + private String type; + + public FilterType() { + } + + 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; + } + +} \ No newline at end of file