Mercurial > lada > lada-server
view 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 source
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; } }