1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.kuali.rice.krad.test.conference;
18
19 import org.kuali.rice.krad.data.jpa.PortableSequenceGenerator;
20
21 import javax.persistence.Column;
22 import javax.persistence.Entity;
23 import javax.persistence.GeneratedValue;
24 import javax.persistence.Id;
25 import javax.persistence.Table;
26 import java.io.Serializable;
27
28 @Entity
29 @Table(name = "KRTST_CONF_ROOM_T")
30 public class Room implements Serializable {
31
32 private static final long serialVersionUID = 8935445570849439125L;
33
34 @Id
35 @GeneratedValue(generator = "KRTST_CONF_ROOM_S")
36 @PortableSequenceGenerator(name = "KRTST_CONF_ROOM_S")
37 @Column(name = "ID")
38 private String id;
39
40 @Column(name = "BLDG_NM")
41 private String buildingName;
42
43 @Column(name = "NUM")
44 private String number;
45
46 public String getId() {
47 return id;
48 }
49
50 public void setId(String id) {
51 this.id = id;
52 }
53
54 public String getBuildingName() {
55 return buildingName;
56 }
57
58 public void setBuildingName(String buildingName) {
59 this.buildingName = buildingName;
60 }
61
62 public String getNumber() {
63 return number;
64 }
65
66 public void setNumber(String number) {
67 this.number = number;
68 }
69 }