1 package org.kuali.student.lum.lo.entity; 2 3 import javax.persistence.Entity; 4 import javax.persistence.JoinColumn; 5 import javax.persistence.ManyToOne; 6 import javax.persistence.Table; 7 import javax.persistence.UniqueConstraint; 8 9 import org.kuali.student.common.entity.BaseEntity; 10 11 @Entity 12 @Table(name = "KSLO_LO_JN_LOCATEGORY", 13 uniqueConstraints={@UniqueConstraint(columnNames={"LO_ID", "LOCATEGORY_ID"})} 14 ) 15 public class LoLoCategoryJoin extends BaseEntity{ 16 17 @ManyToOne 18 @JoinColumn(name = "LO_ID") 19 private Lo lo; 20 21 @ManyToOne 22 @JoinColumn(name = "LOCATEGORY_ID") 23 private LoCategory loCategory; 24 25 public Lo getLo() { 26 return lo; 27 } 28 29 public void setLo(Lo lo) { 30 this.lo = lo; 31 } 32 33 public LoCategory getLoCategory() { 34 return loCategory; 35 } 36 37 public void setLoCategory(LoCategory loCategory) { 38 this.loCategory = loCategory; 39 } 40 }