| 1 | |
package org.kuali.student.enrollment.class1.lui.model; |
| 2 | |
|
| 3 | |
import javax.persistence.Column; |
| 4 | |
import javax.persistence.Entity; |
| 5 | |
import javax.persistence.JoinColumn; |
| 6 | |
import javax.persistence.ManyToOne; |
| 7 | |
import javax.persistence.Table; |
| 8 | |
|
| 9 | |
import org.kuali.student.r2.common.entity.MetaEntity; |
| 10 | |
|
| 11 | |
@Entity |
| 12 | |
@Table(name = "KSEN_LUICLU_RELTN") |
| 13 | |
public class LuiCluRelationEntity extends MetaEntity{ |
| 14 | |
@Column(name = "CLU_ID") |
| 15 | |
private String cluId; |
| 16 | |
|
| 17 | |
@ManyToOne |
| 18 | |
@JoinColumn(name="LUI_ID") |
| 19 | |
private LuiEntity lui; |
| 20 | |
|
| 21 | |
public String getCluId() { |
| 22 | 0 | return cluId; |
| 23 | |
} |
| 24 | |
|
| 25 | |
public void setCluId(String cluId) { |
| 26 | 0 | this.cluId = cluId; |
| 27 | 0 | } |
| 28 | |
|
| 29 | |
public LuiEntity getLui() { |
| 30 | 0 | return lui; |
| 31 | |
} |
| 32 | |
|
| 33 | |
public void setLui(LuiEntity lui) { |
| 34 | 0 | this.lui = lui; |
| 35 | 0 | } |
| 36 | |
|
| 37 | 0 | public LuiCluRelationEntity(LuiCluRelationEntity luiCluRelationEntity){ |
| 38 | 0 | this.setId(luiCluRelationEntity.getId()); |
| 39 | 0 | this.setCluId(luiCluRelationEntity.getCluId()); |
| 40 | 0 | this.setLui(luiCluRelationEntity.getLui()); |
| 41 | 0 | } |
| 42 | |
} |