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.OneToOne;
26  import javax.persistence.Table;
27  import java.io.Serializable;
28  
29  @Entity
30  @Table(name="KRTST_CONF_PRESENTER_T")
31  public class PresenterInfo implements Serializable {
32  
33      private static final long serialVersionUID = 742222239004343465L;
34  
35      @Id
36      @Column(name = "ID")
37      @GeneratedValue(generator = "KRTST_CONF_PRESENTER_S")
38      @PortableSequenceGenerator(name = "KRTST_CONF_PRESENTER_S")
39      private String id;
40  
41      @Column(name = "NM")
42      private String name;
43  
44      @Column(name = "INST_NM")
45      private String institution;
46  
47      public String getId() {
48          return id;
49      }
50  
51      public void setId(String id) {
52          this.id = id;
53      }
54  
55      public String getName() {
56          return name;
57      }
58  
59      public void setName(String name) {
60          this.name = name;
61      }
62  
63      public String getInstitution() {
64          return institution;
65      }
66  
67      public void setInstitution(String institution) {
68          this.institution = institution;
69      }
70  
71  }