Mercurial > lada > lada-server
comparison src/main/java/de/intevation/lada/model/stammdaten/MessEinheit.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 |
comparison
equal
deleted
inserted
replaced
1027:9971471d562c | 1028:1c41c7b8f7c2 |
---|---|
1 package de.intevation.lada.model.stammdaten; | |
2 | |
3 import java.io.Serializable; | |
4 | |
5 import javax.persistence.Column; | |
6 import javax.persistence.Entity; | |
7 import javax.persistence.Id; | |
8 import javax.persistence.Table; | |
9 | |
10 | |
11 /** | |
12 * The persistent class for the mess_einheit database table. | |
13 * | |
14 */ | |
15 @Entity | |
16 @Table(name="mess_einheit") | |
17 public class MessEinheit implements Serializable { | |
18 private static final long serialVersionUID = 1L; | |
19 | |
20 @Id | |
21 private Integer id; | |
22 | |
23 private String beschreibung; | |
24 | |
25 private String einheit; | |
26 | |
27 @Column(name="eudf_messeinheit_id") | |
28 private String eudfMesseinheitId; | |
29 | |
30 @Column(name="umrechnungs_faktor_eudf") | |
31 private Long umrechnungsFaktorEudf; | |
32 | |
33 public MessEinheit() { | |
34 } | |
35 | |
36 public Integer getId() { | |
37 return this.id; | |
38 } | |
39 | |
40 public void setId(Integer id) { | |
41 this.id = id; | |
42 } | |
43 | |
44 public String getBeschreibung() { | |
45 return this.beschreibung; | |
46 } | |
47 | |
48 public void setBeschreibung(String beschreibung) { | |
49 this.beschreibung = beschreibung; | |
50 } | |
51 | |
52 public String getEinheit() { | |
53 return this.einheit; | |
54 } | |
55 | |
56 public void setEinheit(String einheit) { | |
57 this.einheit = einheit; | |
58 } | |
59 | |
60 public String getEudfMesseinheitId() { | |
61 return this.eudfMesseinheitId; | |
62 } | |
63 | |
64 public void setEudfMesseinheitId(String eudfMesseinheitId) { | |
65 this.eudfMesseinheitId = eudfMesseinheitId; | |
66 } | |
67 | |
68 public Long getUmrechnungsFaktorEudf() { | |
69 return this.umrechnungsFaktorEudf; | |
70 } | |
71 | |
72 public void setUmrechnungsFaktorEudf(Long umrechnungsFaktorEudf) { | |
73 this.umrechnungsFaktorEudf = umrechnungsFaktorEudf; | |
74 } | |
75 } |