Mercurial > lada > lada-server
diff src/main/java/de/intevation/lada/model/stammdaten/FilterValue.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 | 7339dd0f8a67 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main/java/de/intevation/lada/model/stammdaten/FilterValue.java Fri Jul 08 15:32:36 2016 +0200 @@ -0,0 +1,66 @@ +package de.intevation.lada.model.stammdaten; + +import java.io.Serializable; + +import javax.persistence.Column; +import javax.persistence.Entity; +import javax.persistence.Id; +import javax.persistence.Table; + + +/** + * The persistent class for the filter_value database table. + * + */ +@Entity +@Table(name="filter_value") +public class FilterValue implements Serializable { + private static final long serialVersionUID = 1L; + + @Id + private Integer id; + + @Column(name="filter_id") + private Integer filterId; + + @Column(name="user_id") + private Integer userId; + + private String value; + + public FilterValue() { + } + + public Integer getId() { + return this.id; + } + + public void setId(Integer id) { + this.id = id; + } + + public Integer getFilterId() { + return this.filterId; + } + + public void setFilterId(Integer filterId) { + this.filterId = filterId; + } + + public Integer getUserId() { + return this.userId; + } + + public void setUserId(Integer userId) { + this.userId = userId; + } + + public String getValue() { + return this.value; + } + + public void setValue(String value) { + this.value = value; + } + +}