teichmann@5844: /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde teichmann@5844: * Software engineering by Intevation GmbH teichmann@5844: * teichmann@5992: * This file is Free Software under the GNU AGPL (>=v3) teichmann@5844: * and comes with ABSOLUTELY NO WARRANTY! Check out the teichmann@5992: * documentation coming with Dive4Elements River for details. teichmann@5844: */ teichmann@5844: teichmann@5829: package org.dive4elements.river.model; aheinecke@5060: aheinecke@5060: import java.io.Serializable; aheinecke@5060: aheinecke@5060: import javax.persistence.Column; aheinecke@5060: import javax.persistence.Entity; aheinecke@5060: import javax.persistence.Id; aheinecke@5060: import javax.persistence.Table; aheinecke@5060: aheinecke@5060: @Entity andre@8683: @Table(name = "seddb_name") andre@8683: public class SeddbName implements Serializable { aheinecke@5060: private Integer id; aheinecke@5064: private String name; aheinecke@5060: aheinecke@5060: @Id aheinecke@5060: @Column(name = "id") aheinecke@5060: public Integer getId() { aheinecke@5060: return id; aheinecke@5060: } aheinecke@5060: aheinecke@5060: public void setId(Integer id) { aheinecke@5060: this.id = id; aheinecke@5060: } aheinecke@5060: andre@8683: @Column(name = "name") teichmann@5081: public String getName() { aheinecke@5060: return name; aheinecke@5060: } aheinecke@5060: teichmann@5081: public void setName(String name) { aheinecke@5060: this.name = name; aheinecke@5060: } teichmann@5081: }