View Javadoc
1   /*
2    * Copyright 2006-2014 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
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  }