001/* 002 * Copyright 2006-2014 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016 017package org.kuali.rice.krad.test.conference; 018 019import org.kuali.rice.krad.data.jpa.PortableSequenceGenerator; 020 021import javax.persistence.Column; 022import javax.persistence.Entity; 023import javax.persistence.GeneratedValue; 024import javax.persistence.Id; 025import javax.persistence.OneToOne; 026import javax.persistence.Table; 027import java.io.Serializable; 028 029@Entity 030@Table(name="KRTST_CONF_PRESENTER_T") 031public class PresenterInfo implements Serializable { 032 033 private static final long serialVersionUID = 742222239004343465L; 034 035 @Id 036 @Column(name = "ID") 037 @GeneratedValue(generator = "KRTST_CONF_PRESENTER_S") 038 @PortableSequenceGenerator(name = "KRTST_CONF_PRESENTER_S") 039 private String id; 040 041 @Column(name = "NM") 042 private String name; 043 044 @Column(name = "INST_NM") 045 private String institution; 046 047 public String getId() { 048 return id; 049 } 050 051 public void setId(String id) { 052 this.id = id; 053 } 054 055 public String getName() { 056 return name; 057 } 058 059 public void setName(String name) { 060 this.name = name; 061 } 062 063 public String getInstitution() { 064 return institution; 065 } 066 067 public void setInstitution(String institution) { 068 this.institution = institution; 069 } 070 071}