...
Name | Datatype | Length | Remarks |
---|---|---|---|
id | BIGINT | 20 | PRIMARY KEY and AUTOINCREMENT |
currency_code | BIGINT | 20 | FOREIGN KEY m_currency.id |
office_id | BIGINT | 20 | FOREIGN KEY m_office.id |
loan_id | BIGINT | 20 | FOREIGN KEY m_loan.id |
category_id | BIGINT | 20 | FOREIGN KEY m_provision_category.id |
overdue_in_days | BIGINT | 20 | DEFAULT 0 |
loan_outstanding_balance | BIGINT | 20 | DEFAULT 0 |
amount_to_bereserved | BIGINT | 20 | DEFAULT 0 |
created_by | BIGINT | 20 | FOREIGN KEY |
created_on | DATE | NOT NULL | |
modified_by | BIGINT | 20 | FOREIGN KEY |
modified_on | DATE |
...
Changes required in existing Classes:
org.mifosplatform.portfolio.loanproduct.service.LoanProductWritePlatformServiceJpaRepositoryImpl is used to create a loan product and to update existing loan product.
For new loan product application, we find find a method in org.mifosplatform.portfolio.loanproduct.domain.LoanProduct.assembleFromJson