1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.student.enrollment.class1.lpr.model; |
17 | |
|
18 | |
import javax.persistence.Entity; |
19 | |
import javax.persistence.JoinColumn; |
20 | |
import javax.persistence.ManyToOne; |
21 | |
import javax.persistence.Table; |
22 | |
|
23 | |
import org.kuali.student.r2.common.entity.BaseAttributeEntity; |
24 | |
import org.kuali.student.r2.common.entity.BaseAttributeEntityNew; |
25 | |
import org.kuali.student.r2.common.infc.Attribute; |
26 | |
|
27 | 0 | @Entity |
28 | |
@Table(name = "KSEN_LPR_TRANS_ITEM_ATTR") |
29 | |
public class LprTransactionItemAttributeEntity extends BaseAttributeEntityNew<LprTransactionItemEntity> { |
30 | |
@ManyToOne |
31 | |
@JoinColumn(name = "OWNER_ID") |
32 | |
private LprTransactionItemEntity owner; |
33 | |
|
34 | |
public LprTransactionItemAttributeEntity(Attribute att) { |
35 | 0 | super(att); |
36 | |
|
37 | 0 | } |
38 | |
|
39 | |
@Override |
40 | |
public LprTransactionItemEntity getOwner() { |
41 | 0 | return this.owner; |
42 | |
} |
43 | |
|
44 | |
@Override |
45 | |
public void setOwner(LprTransactionItemEntity owner) { |
46 | 0 | this.owner = owner; |
47 | |
|
48 | 0 | } |
49 | |
|
50 | |
} |