comparison src/main/java/de/intevation/lada/model/stammdaten/Favorite.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
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
9
10 /**
11 * The persistent class for the favorite database table.
12 *
13 */
14 @Entity
15 public class Favorite implements Serializable {
16 private static final long serialVersionUID = 1L;
17
18 @Id
19 private Integer id;
20
21 @Column(name="query_id")
22 private Integer queryId;
23
24 @Column(name="user_id")
25 private Integer userId;
26
27 public Favorite() {
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 Integer getQueryId() {
39 return this.queryId;
40 }
41
42 public void setQueryId(Integer queryId) {
43 this.queryId = queryId;
44 }
45
46 public Integer getUserId() {
47 return this.userId;
48 }
49
50 public void setUserId(Integer userId) {
51 this.userId = userId;
52 }
53
54 }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)