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 017 package org.kuali.rice.krad.test.conference; 018 019 import org.kuali.rice.krad.data.jpa.PortableSequenceGenerator; 020 021 import javax.persistence.Column; 022 import javax.persistence.Entity; 023 import javax.persistence.GeneratedValue; 024 import javax.persistence.Id; 025 import javax.persistence.Table; 026 import java.io.Serializable; 027 028 @Entity 029 @Table(name = "KRTST_CONF_ROOM_T") 030 public class Room implements Serializable { 031 032 private static final long serialVersionUID = 8935445570849439125L; 033 034 @Id 035 @GeneratedValue(generator = "KRTST_CONF_ROOM_S") 036 @PortableSequenceGenerator(name = "KRTST_CONF_ROOM_S") 037 @Column(name = "ID") 038 private String id; 039 040 @Column(name = "BLDG_NM") 041 private String buildingName; 042 043 @Column(name = "NUM") 044 private String number; 045 046 public String getId() { 047 return id; 048 } 049 050 public void setId(String id) { 051 this.id = id; 052 } 053 054 public String getBuildingName() { 055 return buildingName; 056 } 057 058 public void setBuildingName(String buildingName) { 059 this.buildingName = buildingName; 060 } 061 062 public String getNumber() { 063 return number; 064 } 065 066 public void setNumber(String number) { 067 this.number = number; 068 } 069 }