| 1 | |
package org.kuali.student.enrollment.class1.lpr.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.entity.BaseAttributeEntityNew; |
| 10 | |
import org.kuali.student.r2.common.infc.Attribute; |
| 11 | |
|
| 12 | 0 | @Entity |
| 13 | |
@Table(name = "KSEN_LPR_TRANS_ITEM_ATTR") |
| 14 | |
public class LprTransItemAttributeEntity extends BaseAttributeEntityNew<LprTransactionItemEntity> { |
| 15 | |
@ManyToOne |
| 16 | |
@JoinColumn(name = "OWNER_ID") |
| 17 | |
private LprTransactionItemEntity owner; |
| 18 | |
|
| 19 | |
public LprTransItemAttributeEntity(Attribute att) { |
| 20 | 0 | super(att); |
| 21 | |
|
| 22 | 0 | } |
| 23 | |
|
| 24 | |
@Override |
| 25 | |
public LprTransactionItemEntity getOwner() { |
| 26 | 0 | return this.owner; |
| 27 | |
} |
| 28 | |
|
| 29 | |
@Override |
| 30 | |
public void setOwner(LprTransactionItemEntity owner) { |
| 31 | 0 | this.owner = owner; |
| 32 | |
|
| 33 | 0 | } |
| 34 | |
|
| 35 | |
} |