adamsaghy commented on code in PR #2442:
URL: https://github.com/apache/fineract/pull/2442#discussion_r938064690
##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/Loan.java:
##########
@@ -287,6 +288,10 @@ public class Loan extends
AbstractAuditableWithUTCDateTimeCustom {
@Column(name = "loan_product_counter")
private Integer loanProductCounter;
+ @ManyToOne(fetch = FetchType.LAZY)
+ @JoinColumn(name = "delinquency_range_id", nullable = true)
+ private DelinquencyRange delinquencyRange;
Review Comment:
@josehernandezfintecheandomx We are storing the actual DeliquencyRange at 2
places:
- Loan.deliquencyRange
- LoanDeliquencyTags
Please pick just one place to store the same data!
If you want this detail on the Loan, please rather add the LoanDeliquenctTag
as association
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]