1 package org.kuali.student.lum.lu.bo; 2 3 import java.util.List; 4 5 import javax.persistence.CascadeType; 6 import javax.persistence.Column; 7 import javax.persistence.JoinColumn; 8 import javax.persistence.JoinTable; 9 import javax.persistence.ManyToMany; 10 import javax.persistence.OneToMany; 11 import javax.persistence.OneToOne; 12 13 import org.kuali.student.core.bo.KsMetaBusinessObjectBase; 14 15 public class CluFeeRecord extends KsMetaBusinessObjectBase { 16 17 private static final long serialVersionUID = 2893683769874687020L; 18 19 @Column(name = "FEE_TYPE") 20 private String feeType; 21 22 @Column(name = "RATE_TYPE") 23 private String rateType; 24 25 private String descriptionId; 26 27 @OneToOne(cascade=CascadeType.ALL) 28 @JoinColumn(name = "RT_DESCR_ID") 29 private LuRichText description; 30 31 @OneToMany(cascade = CascadeType.ALL) 32 @JoinColumn(name= "CLUE_FEE_REC_ID") 33 private List<CluFeeAmount> feeAmounts; 34 35 @ManyToMany(cascade=CascadeType.ALL) 36 @JoinTable(name = "KSLU_CLU_FEEREC_JN_AFFIL_ORG", joinColumns = @JoinColumn(name = "CLU_FEE_REC_ID"), inverseJoinColumns = @JoinColumn(name = "AFFIL_ORG_ID")) 37 private List<AffiliatedOrg> affiliatedOrgs; 38 39 40 public String getFeeType() { 41 return feeType; 42 } 43 44 public void setFeeType(String feeType) { 45 this.feeType = feeType; 46 } 47 48 public String getRateType() { 49 return rateType; 50 } 51 52 public void setRateType(String rateType) { 53 this.rateType = rateType; 54 } 55 56 public String getDescriptionId() { 57 return descriptionId; 58 } 59 60 public void setDescriptionId(String descriptionId) { 61 this.descriptionId = descriptionId; 62 } 63 64 public LuRichText getDescription() { 65 return description; 66 } 67 68 public void setDescription(LuRichText description) { 69 this.description = description; 70 } 71 72 public List<CluFeeAmount> getFeeAmounts() { 73 return feeAmounts; 74 } 75 76 public void setFeeAmounts(List<CluFeeAmount> feeAmounts) { 77 this.feeAmounts = feeAmounts; 78 } 79 80 public List<AffiliatedOrg> getAffiliatedOrgs() { 81 return affiliatedOrgs; 82 } 83 84 public void setAffiliatedOrgs(List<AffiliatedOrg> affiliatedOrgs) { 85 this.affiliatedOrgs = affiliatedOrgs; 86 } 87 88 }