diff --git a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/creditbureau/domain/CreditBureau.java b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/creditbureau/domain/CreditBureau.java index a891b35c726..565dbbc3ee2 100644 --- a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/creditbureau/domain/CreditBureau.java +++ b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/creditbureau/domain/CreditBureau.java @@ -18,11 +18,8 @@ */ package org.apache.fineract.infrastructure.creditbureau.domain; -import java.util.ArrayList; import java.util.List; -import javax.persistence.CascadeType; import javax.persistence.Entity; -import javax.persistence.OneToMany; import javax.persistence.Table; import org.apache.fineract.infrastructure.core.api.JsonCommand; import org.apache.fineract.infrastructure.core.domain.AbstractPersistableCustom; @@ -39,16 +36,12 @@ public class CreditBureau extends AbstractPersistableCustom { private String implementationKey; - @OneToMany(mappedBy = "organisation_creditbureau", cascade = CascadeType.ALL) - private List CreditBureauLoanProductMapping = new ArrayList<>(); - public CreditBureau(String name, String product, String country, String implementationKey, List CreditBureauLoanProductMapping) { this.name = name; this.product = product; this.country = country; this.implementationKey = implementationKey; - this.CreditBureauLoanProductMapping = CreditBureauLoanProductMapping; } public CreditBureau() { @@ -98,12 +91,4 @@ public void setImplementationKey(String implementationKey) { this.implementationKey = implementationKey; } - public List getCreditBureauLpMapping() { - return this.CreditBureauLoanProductMapping; - } - - public void setCreditBureauLpMapping(List CreditBureauLoanProductMapping) { - this.CreditBureauLoanProductMapping = CreditBureauLoanProductMapping; - } - }