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.r2.common.entity.BaseAttributeEntity; |
9 | |
import org.kuali.student.r2.common.infc.Attribute; |
10 | |
|
11 | 0 | @Entity |
12 | |
@Table(name = "KSEN_LUI_EXPEND_ATTR") |
13 | |
public class LuiExpenditureAttributeEntity extends BaseAttributeEntity<LuiExpenditureEntity> { |
14 | |
|
15 | |
@ManyToOne |
16 | |
@JoinColumn(name = "OWNER") |
17 | |
private LuiExpenditureEntity owner; |
18 | |
|
19 | 0 | public LuiExpenditureAttributeEntity () { |
20 | 0 | } |
21 | |
|
22 | |
public LuiExpenditureAttributeEntity(String key, String value) { |
23 | 0 | super(key, value); |
24 | 0 | } |
25 | |
|
26 | |
public LuiExpenditureAttributeEntity(Attribute att) { |
27 | 0 | super(att); |
28 | 0 | } |
29 | |
|
30 | |
@Override |
31 | |
public void setOwner(LuiExpenditureEntity owner) { |
32 | 0 | this.owner = owner; |
33 | 0 | } |
34 | |
|
35 | |
@Override |
36 | |
public LuiExpenditureEntity getOwner() { |
37 | 0 | return owner; |
38 | |
} |
39 | |
} |