1 package org.kuali.student.enrollment.class1.lui.model; 2 3 import javax.persistence.Entity; 4 import javax.persistence.JoinColumn; 5 import javax.persistence.ManyToOne; 6 import javax.persistence.Table; 7 8 import org.kuali.student.enrollment.lui.infc.Lui; 9 import org.kuali.student.r2.common.entity.MetaEntity; 10 11 @Entity 12 @Table(name = "KSEN_LUICAPACITY_RELTN") 13 public class LuiCapacityRelationEntity extends MetaEntity { 14 15 @ManyToOne 16 @JoinColumn(name = "LUI_ID") 17 private LuiEntity lui; 18 19 @ManyToOne 20 @JoinColumn(name = "LUI_CAPACITY_ID") 21 private LuiCapacityEntity luiCapacity; 22 23 public LuiCapacityRelationEntity() {} 24 25 public LuiCapacityRelationEntity(Lui lui) { 26 27 } 28 29 public LuiEntity getLui() { 30 return lui; 31 } 32 33 public void setLui(LuiEntity lui) { 34 this.lui = lui; 35 } 36 37 public LuiCapacityEntity getLuiCapacity() { 38 return luiCapacity; 39 } 40 41 public void setLuiCapacity(LuiCapacityEntity luiCapacity) { 42 this.luiCapacity = luiCapacity; 43 } 44 }