| 1 | |
package org.kuali.student.enrollment.class1.lpr.model; |
| 2 | |
|
| 3 | |
import java.util.Date; |
| 4 | |
import java.util.List; |
| 5 | |
|
| 6 | |
import javax.persistence.CascadeType; |
| 7 | |
import javax.persistence.Column; |
| 8 | |
import javax.persistence.Entity; |
| 9 | |
import javax.persistence.JoinColumn; |
| 10 | |
import javax.persistence.ManyToOne; |
| 11 | |
import javax.persistence.OneToMany; |
| 12 | |
import javax.persistence.Table; |
| 13 | |
import javax.persistence.Temporal; |
| 14 | |
import javax.persistence.TemporalType; |
| 15 | |
|
| 16 | |
|
| 17 | |
import org.kuali.student.enrollment.class1.lui.model.LuiEntity; |
| 18 | |
import org.kuali.student.r2.common.entity.MetaEntity; |
| 19 | |
import org.kuali.student.r2.core.class1.atp.model.AtpMilestoneRelationAttributeEntity; |
| 20 | |
|
| 21 | |
|
| 22 | |
@Entity |
| 23 | |
@Table(name = "KSLP_LPRROSTER_LUI_RELTN") |
| 24 | 0 | public class LprRosterLuiRelationEntity extends MetaEntity { |
| 25 | |
|
| 26 | |
@ManyToOne |
| 27 | |
@JoinColumn(name="LPRROSTER_ID") |
| 28 | |
private LprRosterEntity lprRoster; |
| 29 | |
|
| 30 | |
@ManyToOne |
| 31 | |
@JoinColumn(name="LUI_ID") |
| 32 | |
private LuiEntity lui; |
| 33 | |
|
| 34 | |
@ManyToOne |
| 35 | |
@JoinColumn(name="LRL_RELTN_TYPE_ID") |
| 36 | |
private LprRosterTypeEntity lprRosterType; |
| 37 | |
|
| 38 | |
@Temporal(TemporalType.TIMESTAMP) |
| 39 | |
@Column(name = "EFF_DT") |
| 40 | |
private Date effectiveDate; |
| 41 | |
|
| 42 | |
@Temporal(TemporalType.TIMESTAMP) |
| 43 | |
@Column(name = "EXPIR_DT") |
| 44 | |
private Date expirationDate; |
| 45 | |
|
| 46 | |
@ManyToOne |
| 47 | |
@JoinColumn(name = "LPRROSTER_STATE_ID") |
| 48 | |
private LprRosterStateEntity lprRosterState; |
| 49 | |
|
| 50 | |
@OneToMany(cascade = CascadeType.ALL, mappedBy = "owner") |
| 51 | |
private List<AtpMilestoneRelationAttributeEntity> attributes; |
| 52 | |
|
| 53 | |
|
| 54 | |
} |
| 55 | |
|