| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | |
|
| 12 | |
|
| 13 | |
|
| 14 | |
|
| 15 | |
|
| 16 | |
package org.kuali.student.enrollment.class1.hold.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.MetaEntity; |
| 24 | |
|
| 25 | |
|
| 26 | |
|
| 27 | |
|
| 28 | |
|
| 29 | |
@Entity |
| 30 | |
@Table(name = "KSEN_ISSRESTRCTN_RELTN") |
| 31 | 0 | public class IssueRestrictionRelationEntity extends MetaEntity { |
| 32 | |
|
| 33 | |
@ManyToOne |
| 34 | |
@JoinColumn(name = "ISSUE_ID") |
| 35 | |
private IssueEntity issue; |
| 36 | |
|
| 37 | |
@ManyToOne |
| 38 | |
@JoinColumn(name = "RESTRICTION_ID") |
| 39 | |
private RestrictionEntity restriction; |
| 40 | |
|
| 41 | |
public IssueEntity getIssue() { |
| 42 | 0 | return issue; |
| 43 | |
} |
| 44 | |
|
| 45 | |
public void setIssue(IssueEntity issue) { |
| 46 | 0 | this.issue = issue; |
| 47 | 0 | } |
| 48 | |
|
| 49 | |
public RestrictionEntity getRestriction() { |
| 50 | 0 | return restriction; |
| 51 | |
} |
| 52 | |
|
| 53 | |
public void setRestriction(RestrictionEntity restriction) { |
| 54 | 0 | this.restriction = restriction; |
| 55 | 0 | } |
| 56 | |
|
| 57 | |
} |