Mercurial > lada > lada-server
comparison src/main/java/de/intevation/lada/model/stammdaten/LadaUser.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.Entity; | |
6 import javax.persistence.GeneratedValue; | |
7 import javax.persistence.GenerationType; | |
8 import javax.persistence.Id; | |
9 import javax.persistence.Table; | |
10 | |
11 | |
12 /** | |
13 * The persistent class for the lada_user database table. | |
14 * | |
15 */ | |
16 @Entity | |
17 @Table(name="lada_user") | |
18 public class LadaUser implements Serializable { | |
19 private static final long serialVersionUID = 1L; | |
20 | |
21 @Id | |
22 @GeneratedValue(strategy=GenerationType.IDENTITY) | |
23 private Integer id; | |
24 | |
25 private String name; | |
26 | |
27 public LadaUser() { | |
28 } | |
29 | |
30 public Integer getId() { | |
31 return this.id; | |
32 } | |
33 | |
34 public void setId(Integer id) { | |
35 this.id = id; | |
36 } | |
37 | |
38 public String getName() { | |
39 return this.name; | |
40 } | |
41 | |
42 public void setName(String name) { | |
43 this.name = name; | |
44 } | |
45 | |
46 } |