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 | 0 | public LuiCapacityRelationEntity() {} |
24 | |
|
25 | 0 | public LuiCapacityRelationEntity(Lui lui) { |
26 | |
|
27 | 0 | } |
28 | |
|
29 | |
public LuiEntity getLui() { |
30 | 0 | return lui; |
31 | |
} |
32 | |
|
33 | |
public void setLui(LuiEntity lui) { |
34 | 0 | this.lui = lui; |
35 | 0 | } |
36 | |
|
37 | |
public LuiCapacityEntity getLuiCapacity() { |
38 | 0 | return luiCapacity; |
39 | |
} |
40 | |
|
41 | |
public void setLuiCapacity(LuiCapacityEntity luiCapacity) { |
42 | 0 | this.luiCapacity = luiCapacity; |
43 | 0 | } |
44 | |
} |