@dynamatix/gb-schemas 1.2.80 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/applicants/applicant-commitment-creditCard.model.d.ts +0 -26
- package/dist/applicants/applicant-commitment-creditCard.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-loan.model.d.ts +0 -26
- package/dist/applicants/applicant-commitment-loan.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts +0 -26
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-residence.model.d.ts +0 -26
- package/dist/applicants/applicant-commitment-residence.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-secureLoan.model.d.ts +0 -26
- package/dist/applicants/applicant-commitment-secureLoan.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts +0 -26
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts.map +1 -1
- package/dist/applicants/applicant-credit-data.model.d.ts +0 -27
- package/dist/applicants/applicant-credit-data.model.d.ts.map +1 -1
- package/dist/applicants/applicant-credit-profile.model.d.ts +0 -27
- package/dist/applicants/applicant-credit-profile.model.d.ts.map +1 -1
- package/dist/applicants/applicant-direct-debit.model.d.ts +0 -27
- package/dist/applicants/applicant-direct-debit.model.d.ts.map +1 -1
- package/dist/applicants/applicant-employment.model.d.ts +0 -26
- package/dist/applicants/applicant-employment.model.d.ts.map +1 -1
- package/dist/applicants/applicant-expenditure.model.d.ts +50 -99
- package/dist/applicants/applicant-expenditure.model.d.ts.map +1 -1
- package/dist/applicants/applicant-expenditure.model.js +18 -49
- package/dist/applicants/applicant-income-source.model.d.ts +0 -27
- package/dist/applicants/applicant-income-source.model.d.ts.map +1 -1
- package/dist/applicants/applicant-income.model.d.ts +0 -26
- package/dist/applicants/applicant-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-other-income.model.d.ts +0 -26
- package/dist/applicants/applicant-other-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-property-income.model.d.ts +0 -26
- package/dist/applicants/applicant-property-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-risk-narrative.model.d.ts +0 -27
- package/dist/applicants/applicant-risk-narrative.model.d.ts.map +1 -1
- package/dist/applicants/applicant.model.d.ts +0 -26
- package/dist/applicants/applicant.model.d.ts.map +1 -1
- package/dist/applicants/index.d.ts +0 -1
- package/dist/applicants/index.d.ts.map +1 -1
- package/dist/applicants/index.js +0 -1
- package/dist/applications/application-audit.model.d.ts +0 -27
- package/dist/applications/application-audit.model.d.ts.map +1 -1
- package/dist/applications/application-checklist-Item.model.d.ts +0 -27
- package/dist/applications/application-checklist-Item.model.d.ts.map +1 -1
- package/dist/applications/application-company-model.d.ts +0 -26
- package/dist/applications/application-company-model.d.ts.map +1 -1
- package/dist/applications/application-credit-profile.model.d.ts +0 -27
- package/dist/applications/application-credit-profile.model.d.ts.map +1 -1
- package/dist/applications/application-direct-debit.model.d.ts +0 -26
- package/dist/applications/application-direct-debit.model.d.ts.map +1 -1
- package/dist/applications/application-document.model.d.ts +0 -27
- package/dist/applications/application-document.model.d.ts.map +1 -1
- package/dist/applications/application-fieldconfig.model.d.ts +0 -27
- package/dist/applications/application-fieldconfig.model.d.ts.map +1 -1
- package/dist/applications/application-illustration-model.d.ts +0 -27
- package/dist/applications/application-illustration-model.d.ts.map +1 -1
- package/dist/applications/application-legal.model.d.ts +0 -27
- package/dist/applications/application-legal.model.d.ts.map +1 -1
- package/dist/applications/application-mortgage.model.d.ts +0 -26
- package/dist/applications/application-mortgage.model.d.ts.map +1 -1
- package/dist/applications/application-note.model.d.ts +0 -27
- package/dist/applications/application-note.model.d.ts.map +1 -1
- package/dist/applications/application-offer.model.d.ts +0 -27
- package/dist/applications/application-offer.model.d.ts.map +1 -1
- package/dist/applications/application-onboarding.model.d.ts +0 -27
- package/dist/applications/application-onboarding.model.d.ts.map +1 -1
- package/dist/applications/application-product.model.d.ts +0 -27
- package/dist/applications/application-product.model.d.ts.map +1 -1
- package/dist/applications/application-rationale.model.d.ts +0 -27
- package/dist/applications/application-rationale.model.d.ts.map +1 -1
- package/dist/applications/application-risk-narrative.model.d.ts +0 -27
- package/dist/applications/application-risk-narrative.model.d.ts.map +1 -1
- package/dist/applications/application-valuation.model.d.ts +0 -27
- package/dist/applications/application-valuation.model.d.ts.map +1 -1
- package/dist/applications/application.model.d.ts +0 -27
- package/dist/applications/application.model.d.ts.map +1 -1
- package/dist/applications/broker.model.d.ts +0 -27
- package/dist/applications/broker.model.d.ts.map +1 -1
- package/dist/applications/document.model.d.ts +0 -27
- package/dist/applications/document.model.d.ts.map +1 -1
- package/dist/applications/productfeatures.model.d.ts +0 -27
- package/dist/applications/productfeatures.model.d.ts.map +1 -1
- package/dist/applications/solicitor.model.d.ts +0 -26
- package/dist/applications/solicitor.model.d.ts.map +1 -1
- package/dist/entities/applicants/applicant.entity.d.ts +148 -0
- package/dist/entities/applicants/applicant.entity.d.ts.map +1 -0
- package/dist/entities/applicants/applicant.entity.js +51 -0
- package/dist/entities/applicants/credit-card-commitment.entity.d.ts +16 -0
- package/dist/entities/applicants/credit-card-commitment.entity.d.ts.map +1 -0
- package/dist/entities/applicants/credit-card-commitment.entity.js +5 -0
- package/dist/entities/applicants/credit-data.entity.d.ts +19 -0
- package/dist/entities/applicants/credit-data.entity.d.ts.map +1 -0
- package/dist/entities/applicants/credit-data.entity.js +5 -0
- package/dist/entities/applicants/credit-profile.entity.d.ts +11 -0
- package/dist/entities/applicants/credit-profile.entity.d.ts.map +1 -0
- package/dist/entities/applicants/credit-profile.entity.js +5 -0
- package/dist/entities/applicants/direct-debit.entity.d.ts +25 -0
- package/dist/entities/applicants/direct-debit.entity.d.ts.map +1 -0
- package/dist/entities/applicants/direct-debit.entity.js +5 -0
- package/dist/entities/applicants/employment.entity.d.ts +61 -0
- package/dist/entities/applicants/employment.entity.d.ts.map +1 -0
- package/dist/entities/applicants/employment.entity.js +10 -0
- package/dist/entities/applicants/expenditure.entity.d.ts +24 -0
- package/dist/entities/applicants/expenditure.entity.d.ts.map +1 -0
- package/dist/entities/applicants/expenditure.entity.js +5 -0
- package/dist/entities/applicants/income-source.entity.d.ts +17 -0
- package/dist/entities/applicants/income-source.entity.d.ts.map +1 -0
- package/dist/entities/applicants/income-source.entity.js +5 -0
- package/dist/entities/applicants/income.entity.d.ts +54 -0
- package/dist/entities/applicants/income.entity.d.ts.map +1 -0
- package/dist/entities/applicants/income.entity.js +5 -0
- package/dist/entities/applicants/index.d.ts +20 -0
- package/dist/entities/applicants/index.d.ts.map +1 -0
- package/dist/entities/applicants/index.js +18 -0
- package/dist/entities/applicants/loan-commitment.entity.d.ts +20 -0
- package/dist/entities/applicants/loan-commitment.entity.d.ts.map +1 -0
- package/dist/entities/applicants/loan-commitment.entity.js +5 -0
- package/dist/entities/applicants/lookup.entity.d.ts +10 -0
- package/dist/entities/applicants/lookup.entity.d.ts.map +1 -0
- package/dist/entities/applicants/lookup.entity.js +5 -0
- package/dist/entities/applicants/mortgage-commitment.entity.d.ts +37 -0
- package/dist/entities/applicants/mortgage-commitment.entity.d.ts.map +1 -0
- package/dist/entities/applicants/mortgage-commitment.entity.js +19 -0
- package/dist/entities/applicants/other-income.entity.d.ts +41 -0
- package/dist/entities/applicants/other-income.entity.d.ts.map +1 -0
- package/dist/entities/applicants/other-income.entity.js +19 -0
- package/dist/entities/applicants/property-income.entity.d.ts +17 -0
- package/dist/entities/applicants/property-income.entity.d.ts.map +1 -0
- package/dist/entities/applicants/property-income.entity.js +5 -0
- package/dist/entities/applicants/residence-commitment.entity.d.ts +44 -0
- package/dist/entities/applicants/residence-commitment.entity.d.ts.map +1 -0
- package/dist/entities/applicants/residence-commitment.entity.js +19 -0
- package/dist/entities/applicants/risk-narrative.entity.d.ts +23 -0
- package/dist/entities/applicants/risk-narrative.entity.d.ts.map +1 -0
- package/dist/entities/applicants/risk-narrative.entity.js +5 -0
- package/dist/entities/applicants/secure-loan-commitment.entity.d.ts +21 -0
- package/dist/entities/applicants/secure-loan-commitment.entity.d.ts.map +1 -0
- package/dist/entities/applicants/secure-loan-commitment.entity.js +9 -0
- package/dist/entities/applicants/unsecured-loan-commitment.entity.d.ts +20 -0
- package/dist/entities/applicants/unsecured-loan-commitment.entity.d.ts.map +1 -0
- package/dist/entities/applicants/unsecured-loan-commitment.entity.js +10 -0
- package/dist/entities/applications/application-audit.entity.d.ts +18 -0
- package/dist/entities/applications/application-audit.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-audit.entity.js +5 -0
- package/dist/entities/applications/application-company.entity.d.ts +12 -0
- package/dist/entities/applications/application-company.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-company.entity.js +5 -0
- package/dist/entities/applications/application-direct-debit.entity.d.ts +12 -0
- package/dist/entities/applications/application-direct-debit.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-direct-debit.entity.js +5 -0
- package/dist/entities/applications/application-document.entity.d.ts +28 -0
- package/dist/entities/applications/application-document.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-document.entity.js +5 -0
- package/dist/entities/applications/application-fieldconfig.entity.d.ts +9 -0
- package/dist/entities/applications/application-fieldconfig.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-fieldconfig.entity.js +5 -0
- package/dist/entities/applications/application-illustration.entity.d.ts +8 -0
- package/dist/entities/applications/application-illustration.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-illustration.entity.js +5 -0
- package/dist/entities/applications/application-legal.entity.d.ts +9 -0
- package/dist/entities/applications/application-legal.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-legal.entity.js +5 -0
- package/dist/entities/applications/application-mortgage.entity.d.ts +55 -0
- package/dist/entities/applications/application-mortgage.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-mortgage.entity.js +27 -0
- package/dist/entities/applications/application-note.entity.d.ts +36 -0
- package/dist/entities/applications/application-note.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-note.entity.js +5 -0
- package/dist/entities/applications/application-offer.entity.d.ts +8 -0
- package/dist/entities/applications/application-offer.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-offer.entity.js +5 -0
- package/dist/entities/applications/application-onboarding.entity.d.ts +11 -0
- package/dist/entities/applications/application-onboarding.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-onboarding.entity.js +5 -0
- package/dist/entities/applications/application-product.entity.d.ts +33 -0
- package/dist/entities/applications/application-product.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-product.entity.js +5 -0
- package/dist/entities/applications/application-rationale.entity.d.ts +51 -0
- package/dist/entities/applications/application-rationale.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-rationale.entity.js +5 -0
- package/dist/entities/applications/application-risk-narrative.entity.d.ts +17 -0
- package/dist/entities/applications/application-risk-narrative.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-risk-narrative.entity.js +5 -0
- package/dist/entities/applications/application-valuation.entity.d.ts +18 -0
- package/dist/entities/applications/application-valuation.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-valuation.entity.js +5 -0
- package/dist/entities/applications/application.entity.d.ts +99 -0
- package/dist/entities/applications/application.entity.d.ts.map +1 -0
- package/dist/entities/applications/application.entity.js +66 -0
- package/dist/entities/applications/broker.entity.d.ts +23 -0
- package/dist/entities/applications/broker.entity.d.ts.map +1 -0
- package/dist/entities/applications/broker.entity.js +5 -0
- package/dist/entities/applications/checklist-item.entity.d.ts +47 -0
- package/dist/entities/applications/checklist-item.entity.d.ts.map +1 -0
- package/dist/entities/applications/checklist-item.entity.js +5 -0
- package/dist/entities/applications/company.entity.d.ts +77 -0
- package/dist/entities/applications/company.entity.d.ts.map +1 -0
- package/dist/entities/applications/company.entity.js +23 -0
- package/dist/entities/applications/credit-profile.entity.d.ts +11 -0
- package/dist/entities/applications/credit-profile.entity.d.ts.map +1 -0
- package/dist/entities/applications/credit-profile.entity.js +5 -0
- package/dist/entities/applications/index.d.ts +25 -0
- package/dist/entities/applications/index.d.ts.map +1 -0
- package/dist/entities/applications/index.js +23 -0
- package/dist/entities/applications/product-features.entity.d.ts +54 -0
- package/dist/entities/applications/product-features.entity.d.ts.map +1 -0
- package/dist/entities/applications/product-features.entity.js +5 -0
- package/dist/entities/applications/solicitor.entity.d.ts +33 -0
- package/dist/entities/applications/solicitor.entity.d.ts.map +1 -0
- package/dist/entities/applications/solicitor.entity.js +5 -0
- package/dist/entities/index.d.ts +10 -0
- package/dist/entities/index.d.ts.map +1 -0
- package/dist/entities/index.js +10 -0
- package/dist/entities/prisma.d.ts +3 -0
- package/dist/entities/prisma.d.ts.map +1 -0
- package/dist/entities/prisma.js +10 -0
- package/dist/entities/product-catalogues/index.d.ts +8 -0
- package/dist/entities/product-catalogues/index.d.ts.map +1 -0
- package/dist/entities/product-catalogues/index.js +6 -0
- package/dist/entities/product-catalogues/product-catalogue.entity.d.ts +22 -0
- package/dist/entities/product-catalogues/product-catalogue.entity.d.ts.map +1 -0
- package/dist/entities/product-catalogues/product-catalogue.entity.js +5 -0
- package/dist/entities/product-catalogues/product-definition.entity.d.ts +16 -0
- package/dist/entities/product-catalogues/product-definition.entity.d.ts.map +1 -0
- package/dist/entities/product-catalogues/product-definition.entity.js +5 -0
- package/dist/entities/product-catalogues/product-variant.entity.d.ts +14 -0
- package/dist/entities/product-catalogues/product-variant.entity.d.ts.map +1 -0
- package/dist/entities/product-catalogues/product-variant.entity.js +5 -0
- package/dist/entities/product-catalogues/product.entity.d.ts +11 -0
- package/dist/entities/product-catalogues/product.entity.d.ts.map +1 -0
- package/dist/entities/product-catalogues/product.entity.js +5 -0
- package/dist/entities/product-catalogues/rule.entity.d.ts +21 -0
- package/dist/entities/product-catalogues/rule.entity.d.ts.map +1 -0
- package/dist/entities/product-catalogues/rule.entity.js +5 -0
- package/dist/entities/properties/data-street.entity.d.ts +22 -0
- package/dist/entities/properties/data-street.entity.d.ts.map +1 -0
- package/dist/entities/properties/data-street.entity.js +5 -0
- package/dist/entities/properties/index.d.ts +6 -0
- package/dist/entities/properties/index.d.ts.map +1 -0
- package/dist/entities/properties/index.js +4 -0
- package/dist/entities/properties/property.entity.d.ts +30 -0
- package/dist/entities/properties/property.entity.d.ts.map +1 -0
- package/dist/entities/properties/property.entity.js +5 -0
- package/dist/entities/properties/security.entity.d.ts +57 -0
- package/dist/entities/properties/security.entity.d.ts.map +1 -0
- package/dist/entities/properties/security.entity.js +5 -0
- package/dist/entities/shared/alert.entity.d.ts +14 -0
- package/dist/entities/shared/alert.entity.d.ts.map +1 -0
- package/dist/entities/shared/alert.entity.js +5 -0
- package/dist/entities/shared/apprivo-sync-journey.entity.d.ts +16 -0
- package/dist/entities/shared/apprivo-sync-journey.entity.d.ts.map +1 -0
- package/dist/entities/shared/apprivo-sync-journey.entity.js +5 -0
- package/dist/entities/shared/checklist.entity.d.ts +15 -0
- package/dist/entities/shared/checklist.entity.d.ts.map +1 -0
- package/dist/entities/shared/checklist.entity.js +5 -0
- package/dist/entities/shared/document-type.entity.d.ts +9 -0
- package/dist/entities/shared/document-type.entity.d.ts.map +1 -0
- package/dist/entities/shared/document-type.entity.js +5 -0
- package/dist/entities/shared/index.d.ts +12 -0
- package/dist/entities/shared/index.d.ts.map +1 -0
- package/dist/entities/shared/index.js +10 -0
- package/dist/entities/shared/job-run.entity.d.ts +11 -0
- package/dist/entities/shared/job-run.entity.d.ts.map +1 -0
- package/dist/entities/shared/job-run.entity.js +5 -0
- package/dist/entities/shared/job-setting.entity.d.ts +11 -0
- package/dist/entities/shared/job-setting.entity.d.ts.map +1 -0
- package/dist/entities/shared/job-setting.entity.js +5 -0
- package/dist/entities/shared/lookup-group.entity.d.ts +11 -0
- package/dist/entities/shared/lookup-group.entity.d.ts.map +1 -0
- package/dist/entities/shared/lookup-group.entity.js +5 -0
- package/dist/entities/shared/lookup.entity.d.ts +14 -0
- package/dist/entities/shared/lookup.entity.d.ts.map +1 -0
- package/dist/entities/shared/lookup.entity.js +5 -0
- package/dist/entities/shared/system-parameter.entity.d.ts +10 -0
- package/dist/entities/shared/system-parameter.entity.d.ts.map +1 -0
- package/dist/entities/shared/system-parameter.entity.js +5 -0
- package/dist/entities/underwriter/index.d.ts +4 -0
- package/dist/entities/underwriter/index.d.ts.map +1 -0
- package/dist/entities/underwriter/index.js +2 -0
- package/dist/entities/underwriter/underwriter.entity.d.ts +16 -0
- package/dist/entities/underwriter/underwriter.entity.d.ts.map +1 -0
- package/dist/entities/underwriter/underwriter.entity.js +5 -0
- package/dist/entities/users/auth-log.entity.d.ts +11 -0
- package/dist/entities/users/auth-log.entity.d.ts.map +1 -0
- package/dist/entities/users/auth-log.entity.js +5 -0
- package/dist/entities/users/index.d.ts +8 -0
- package/dist/entities/users/index.d.ts.map +1 -0
- package/dist/entities/users/index.js +6 -0
- package/dist/entities/users/permission.entity.d.ts +12 -0
- package/dist/entities/users/permission.entity.d.ts.map +1 -0
- package/dist/entities/users/permission.entity.js +5 -0
- package/dist/entities/users/role-group.entity.d.ts +12 -0
- package/dist/entities/users/role-group.entity.d.ts.map +1 -0
- package/dist/entities/users/role-group.entity.js +5 -0
- package/dist/entities/users/role.entity.d.ts +14 -0
- package/dist/entities/users/role.entity.d.ts.map +1 -0
- package/dist/entities/users/role.entity.js +5 -0
- package/dist/entities/users/user.entity.d.ts +35 -0
- package/dist/entities/users/user.entity.d.ts.map +1 -0
- package/dist/entities/users/user.entity.js +10 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/product-catalogues/product-catalogue.model.d.ts +0 -27
- package/dist/product-catalogues/product-catalogue.model.d.ts.map +1 -1
- package/dist/product-catalogues/product-definitions.model.d.ts +0 -27
- package/dist/product-catalogues/product-definitions.model.d.ts.map +1 -1
- package/dist/product-catalogues/product-variant.model.d.ts +0 -27
- package/dist/product-catalogues/product-variant.model.d.ts.map +1 -1
- package/dist/properties/property.model.d.ts +0 -26
- package/dist/properties/property.model.d.ts.map +1 -1
- package/dist/properties/security.model.d.ts +0 -27
- package/dist/properties/security.model.d.ts.map +1 -1
- package/dist/shared/alert.model.d.ts +0 -27
- package/dist/shared/alert.model.d.ts.map +1 -1
- package/dist/shared/apprivo-sync-journey.model.d.ts +0 -27
- package/dist/shared/apprivo-sync-journey.model.d.ts.map +1 -1
- package/dist/shared/checklist.model.d.ts +0 -27
- package/dist/shared/checklist.model.d.ts.map +1 -1
- package/dist/shared/document-type-model.d.ts +0 -27
- package/dist/shared/document-type-model.d.ts.map +1 -1
- package/dist/shared/job-run.model.d.ts +0 -27
- package/dist/shared/job-run.model.d.ts.map +1 -1
- package/dist/shared/job-setting.model.d.ts +0 -27
- package/dist/shared/job-setting.model.d.ts.map +1 -1
- package/dist/shared/lookup-group.model.d.ts +0 -27
- package/dist/shared/lookup-group.model.d.ts.map +1 -1
- package/dist/shared/lookup.model.d.ts +0 -27
- package/dist/shared/lookup.model.d.ts.map +1 -1
- package/dist/shared/schema-doc.model.d.ts +0 -27
- package/dist/shared/schema-doc.model.d.ts.map +1 -1
- package/dist/shared/system-parameter.model.d.ts +0 -27
- package/dist/shared/system-parameter.model.d.ts.map +1 -1
- package/dist/shared/task-document.model.d.ts +0 -27
- package/dist/shared/task-document.model.d.ts.map +1 -1
- package/dist/shared/task.model.d.ts +0 -27
- package/dist/shared/task.model.d.ts.map +1 -1
- package/dist/underwriter/underwriter.model.d.ts +0 -27
- package/dist/underwriter/underwriter.model.d.ts.map +1 -1
- package/dist/users/auth-log.model.d.ts +0 -27
- package/dist/users/auth-log.model.d.ts.map +1 -1
- package/dist/users/permission.model.d.ts +0 -27
- package/dist/users/permission.model.d.ts.map +1 -1
- package/dist/users/role-group.model.d.ts +0 -27
- package/dist/users/role-group.model.d.ts.map +1 -1
- package/dist/users/role.model.d.ts +0 -27
- package/dist/users/role.model.d.ts.map +1 -1
- package/dist/users/tasks.model.d.ts +0 -27
- package/dist/users/tasks.model.d.ts.map +1 -1
- package/dist/users/user.model.d.ts +0 -27
- package/dist/users/user.model.d.ts.map +1 -1
- package/dist/value-objects/pound.d.ts +0 -26
- package/dist/value-objects/pound.d.ts.map +1 -1
- package/dist/value-objects/sort-code.d.ts +0 -26
- package/dist/value-objects/sort-code.d.ts.map +1 -1
- package/entities/applicants/applicant.entity.ts +201 -0
- package/entities/applicants/credit-card-commitment.entity.ts +20 -0
- package/entities/applicants/credit-data.entity.ts +24 -0
- package/entities/applicants/credit-profile.entity.ts +13 -0
- package/entities/applicants/direct-debit.entity.ts +30 -0
- package/entities/applicants/employment.entity.ts +71 -0
- package/entities/applicants/expenditure.entity.ts +29 -0
- package/entities/applicants/income-source.entity.ts +22 -0
- package/entities/applicants/income.entity.ts +58 -0
- package/entities/applicants/index.ts +59 -0
- package/entities/applicants/loan-commitment.entity.ts +24 -0
- package/entities/applicants/mortgage-commitment.entity.ts +56 -0
- package/entities/applicants/other-income.entity.ts +68 -0
- package/entities/applicants/property-income.entity.ts +19 -0
- package/entities/applicants/residence-commitment.entity.ts +63 -0
- package/entities/applicants/risk-narrative.entity.ts +28 -0
- package/entities/applicants/secure-loan-commitment.entity.ts +30 -0
- package/entities/applicants/unsecured-loan-commitment.entity.ts +30 -0
- package/entities/applications/application-audit.entity.ts +23 -0
- package/entities/applications/application-company.entity.ts +17 -0
- package/entities/applications/application-direct-debit.entity.ts +17 -0
- package/entities/applications/application-document.entity.ts +33 -0
- package/entities/applications/application-fieldconfig.entity.ts +11 -0
- package/entities/applications/application-illustration.entity.ts +10 -0
- package/entities/applications/application-legal.entity.ts +11 -0
- package/entities/applications/application-mortgage.entity.ts +82 -0
- package/entities/applications/application-note.entity.ts +41 -0
- package/entities/applications/application-offer.entity.ts +10 -0
- package/entities/applications/application-onboarding.entity.ts +13 -0
- package/entities/applications/application-product.entity.ts +38 -0
- package/entities/applications/application-rationale.entity.ts +56 -0
- package/entities/applications/application-risk-narrative.entity.ts +22 -0
- package/entities/applications/application-valuation.entity.ts +20 -0
- package/entities/applications/application.entity.ts +165 -0
- package/entities/applications/broker.entity.ts +25 -0
- package/entities/applications/checklist-item.entity.ts +49 -0
- package/entities/applications/company.entity.ts +101 -0
- package/entities/applications/credit-profile.entity.ts +13 -0
- package/entities/applications/index.ts +74 -0
- package/entities/applications/product-features.entity.ts +56 -0
- package/entities/applications/solicitor.entity.ts +38 -0
- package/entities/index.ts +14 -0
- package/entities/prisma.ts +13 -0
- package/entities/product-catalogues/index.ts +23 -0
- package/entities/product-catalogues/product-catalogue.entity.ts +27 -0
- package/entities/product-catalogues/product-definition.entity.ts +21 -0
- package/entities/product-catalogues/product-variant.entity.ts +19 -0
- package/entities/product-catalogues/product.entity.ts +16 -0
- package/entities/product-catalogues/rule.entity.ts +26 -0
- package/entities/properties/data-street.entity.ts +27 -0
- package/entities/properties/index.ts +17 -0
- package/entities/properties/property.entity.ts +36 -0
- package/entities/properties/security.entity.ts +62 -0
- package/entities/shared/alert.entity.ts +19 -0
- package/entities/shared/apprivo-sync-journey.entity.ts +21 -0
- package/entities/shared/checklist.entity.ts +20 -0
- package/entities/shared/document-type.entity.ts +11 -0
- package/entities/shared/index.ts +35 -0
- package/entities/shared/job-run.entity.ts +13 -0
- package/entities/shared/job-setting.entity.ts +13 -0
- package/entities/shared/lookup-group.entity.ts +16 -0
- package/entities/shared/lookup.entity.ts +19 -0
- package/entities/shared/system-parameter.entity.ts +13 -0
- package/entities/underwriter/index.ts +7 -0
- package/entities/underwriter/underwriter.entity.ts +19 -0
- package/entities/users/auth-log.entity.ts +13 -0
- package/entities/users/index.ts +23 -0
- package/entities/users/permission.entity.ts +17 -0
- package/entities/users/role-group.entity.ts +17 -0
- package/entities/users/role.entity.ts +19 -0
- package/entities/users/user.entity.ts +44 -0
- package/package.json +30 -17
- package/prisma/applicants/applicant.prisma +130 -0
- package/prisma/applicants/credit-card-commitment.prisma +21 -0
- package/prisma/applicants/credit-data.prisma +19 -0
- package/prisma/applicants/credit-profile.prisma +14 -0
- package/prisma/applicants/direct-debit.prisma +26 -0
- package/prisma/applicants/employment.prisma +59 -0
- package/prisma/applicants/expenditure.prisma +26 -0
- package/prisma/applicants/income-source.prisma +17 -0
- package/prisma/applicants/income.prisma +62 -0
- package/prisma/applicants/loan-commitment.prisma +26 -0
- package/prisma/applicants/mortgage-commitment.prisma +34 -0
- package/prisma/applicants/other-income.prisma +45 -0
- package/prisma/applicants/property-income.prisma +20 -0
- package/prisma/applicants/residence-commitment.prisma +41 -0
- package/prisma/applicants/risk-narrative.prisma +23 -0
- package/prisma/applicants/secured-loan-commitment.prisma +21 -0
- package/prisma/applicants/unsecured-loan-commitment.prisma +20 -0
- package/prisma/applications/application-audit.prisma +19 -0
- package/prisma/applications/application-company.prisma +13 -0
- package/prisma/applications/application-direct-debit.prisma +13 -0
- package/prisma/applications/application-document.prisma +28 -0
- package/prisma/applications/application-fieldconfig.prisma +9 -0
- package/prisma/applications/application-illustration.prisma +8 -0
- package/prisma/applications/application-legal.prisma +9 -0
- package/prisma/applications/application-mortgage.prisma +48 -0
- package/prisma/applications/application-note.prisma +35 -0
- package/prisma/applications/application-offer.prisma +8 -0
- package/prisma/applications/application-onboarding.prisma +11 -0
- package/prisma/applications/application-product.prisma +33 -0
- package/prisma/applications/application-rationale.prisma +51 -0
- package/prisma/applications/application-risk-narrative.prisma +18 -0
- package/prisma/applications/application-valuation.prisma +18 -0
- package/prisma/applications/application.prisma +99 -0
- package/prisma/applications/broker.prisma +27 -0
- package/prisma/applications/checklist-item.prisma +47 -0
- package/prisma/applications/checklist.prisma +19 -0
- package/prisma/applications/company.prisma +76 -0
- package/prisma/applications/credit-profile.prisma +11 -0
- package/prisma/applications/product-features.prisma +54 -0
- package/prisma/applications/solicitor.prisma +33 -0
- package/prisma/broker.entity.ts +8 -0
- package/prisma/lookup.entity.ts +9 -0
- package/prisma/migrations/20250430124915_initial_migration/migration.sql +2117 -0
- package/prisma/migrations/migration_lock.toml +3 -0
- package/prisma/product-catalogues/product-catalogue.prisma +22 -0
- package/prisma/product-catalogues/product-definition.prisma +39 -0
- package/prisma/product-catalogues/product-variant.prisma +15 -0
- package/prisma/product-catalogues/product.prisma +10 -0
- package/prisma/properties/property.prisma +30 -0
- package/prisma/properties/security.prisma +80 -0
- package/prisma/schema.prisma +1942 -0
- package/prisma/shared/alert.prisma +15 -0
- package/prisma/shared/apprivo-sync-journey.prisma +12 -0
- package/prisma/shared/checklist.prisma +10 -0
- package/prisma/shared/document-type.prisma +9 -0
- package/prisma/shared/job-run.prisma +11 -0
- package/prisma/shared/job-setting.prisma +11 -0
- package/prisma/shared/lookup-group.prisma +12 -0
- package/prisma/shared/lookup.prisma +148 -0
- package/prisma/shared/system-parameter.prisma +16 -0
- package/prisma/underwriter/underwriter.prisma +21 -0
- package/prisma/users/auth-log.prisma +11 -0
- package/prisma/users/permission.prisma +13 -0
- package/prisma/users/role-group.prisma +14 -0
- package/prisma/users/role.prisma +14 -0
- package/prisma/users/user.prisma +44 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { RoleGroupEntity } from './role-group.entity';
|
|
2
|
+
import { SystemParameterEntity } from '../shared/system-parameter.entity';
|
|
3
|
+
|
|
4
|
+
export class ClaimEntity {
|
|
5
|
+
id!: string;
|
|
6
|
+
key!: string;
|
|
7
|
+
value!: string;
|
|
8
|
+
userId!: string;
|
|
9
|
+
createdAt!: Date;
|
|
10
|
+
updatedAt!: Date;
|
|
11
|
+
|
|
12
|
+
constructor(partial: Partial<ClaimEntity>) {
|
|
13
|
+
Object.assign(this, partial);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export class UserEntity {
|
|
18
|
+
id!: string;
|
|
19
|
+
accountId!: string;
|
|
20
|
+
email!: string;
|
|
21
|
+
fullName!: string;
|
|
22
|
+
password!: string;
|
|
23
|
+
organisationId?: string;
|
|
24
|
+
status!: string;
|
|
25
|
+
modifiedOn?: Date;
|
|
26
|
+
modifiedById?: string;
|
|
27
|
+
createdOnInApprivo?: Date;
|
|
28
|
+
createdById?: string;
|
|
29
|
+
deletedOn?: Date;
|
|
30
|
+
deletedById?: string;
|
|
31
|
+
token?: string;
|
|
32
|
+
createdAt!: Date;
|
|
33
|
+
updatedAt!: Date;
|
|
34
|
+
|
|
35
|
+
// Relations
|
|
36
|
+
groups?: RoleGroupEntity[];
|
|
37
|
+
claims?: ClaimEntity[];
|
|
38
|
+
createdSystemParameters?: SystemParameterEntity[];
|
|
39
|
+
updatedSystemParameters?: SystemParameterEntity[];
|
|
40
|
+
|
|
41
|
+
constructor(partial: Partial<UserEntity>) {
|
|
42
|
+
Object.assign(this, partial);
|
|
43
|
+
}
|
|
44
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamatix/gb-schemas",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "All the schemas for gatehouse bank back-end",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -8,7 +8,10 @@
|
|
|
8
8
|
"scripts": {
|
|
9
9
|
"build": "tsc",
|
|
10
10
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
11
|
-
"generate-docs": "NODE_OPTIONS='--loader ts-node/esm' ts-node schema-docs/docs.seeder.ts"
|
|
11
|
+
"generate-docs": "NODE_OPTIONS='--loader ts-node/esm' ts-node schema-docs/docs.seeder.ts",
|
|
12
|
+
"combine-schemas": "node scripts/combine-schemas.js",
|
|
13
|
+
"migrate": "npm run combine-schemas && prisma migrate dev",
|
|
14
|
+
"postinstall": "prisma generate"
|
|
12
15
|
},
|
|
13
16
|
"repository": {
|
|
14
17
|
"type": "git",
|
|
@@ -21,49 +24,59 @@
|
|
|
21
24
|
},
|
|
22
25
|
"homepage": "https://github.com/DynamatixAnalyticsPvtLtd/gb-schemas#readme",
|
|
23
26
|
"dependencies": {
|
|
27
|
+
"@prisma/client": "^6.6.0",
|
|
28
|
+
"glob": "^8.1.0",
|
|
24
29
|
"mongodb": "^6.14.2",
|
|
25
30
|
"mongoose": "^8.9.5"
|
|
26
31
|
},
|
|
27
32
|
"files": [
|
|
28
|
-
"dist"
|
|
33
|
+
"dist",
|
|
34
|
+
"prisma",
|
|
35
|
+
"entities",
|
|
36
|
+
"prisma/schema.prisma"
|
|
29
37
|
],
|
|
30
38
|
"exports": {
|
|
31
39
|
".": {
|
|
32
40
|
"import": "./dist/index.js",
|
|
33
41
|
"types": "./dist/index.d.ts"
|
|
34
42
|
},
|
|
43
|
+
"./prisma": {
|
|
44
|
+
"import": "./dist/entities/prisma.js",
|
|
45
|
+
"types": "./dist/entities/prisma.d.ts"
|
|
46
|
+
},
|
|
35
47
|
"./applications": {
|
|
36
|
-
"import": "./dist/applications/index.js",
|
|
37
|
-
"types": "./dist/applications/index.d.ts"
|
|
48
|
+
"import": "./dist/entities/applications/index.js",
|
|
49
|
+
"types": "./dist/entities/applications/index.d.ts"
|
|
38
50
|
},
|
|
39
51
|
"./applicants": {
|
|
40
|
-
"import": "./dist/applicants/index.js",
|
|
41
|
-
"types": "./dist/applicants/index.d.ts"
|
|
52
|
+
"import": "./dist/entities/applicants/index.js",
|
|
53
|
+
"types": "./dist/entities/applicants/index.d.ts"
|
|
42
54
|
},
|
|
43
55
|
"./shared": {
|
|
44
|
-
"import": "./dist/shared/index.js",
|
|
45
|
-
"types": "./dist/shared/index.d.ts"
|
|
56
|
+
"import": "./dist/entities/shared/index.js",
|
|
57
|
+
"types": "./dist/entities/shared/index.d.ts"
|
|
46
58
|
},
|
|
47
59
|
"./properties": {
|
|
48
|
-
"import": "./dist/properties/index.js",
|
|
49
|
-
"types": "./dist/properties/index.d.ts"
|
|
60
|
+
"import": "./dist/entities/properties/index.js",
|
|
61
|
+
"types": "./dist/entities/properties/index.d.ts"
|
|
50
62
|
},
|
|
51
63
|
"./users": {
|
|
52
|
-
"import": "./dist/users/index.js",
|
|
53
|
-
"types": "./dist/users/index.d.ts"
|
|
64
|
+
"import": "./dist/entities/users/index.js",
|
|
65
|
+
"types": "./dist/entities/users/index.d.ts"
|
|
54
66
|
},
|
|
55
67
|
"./product-catalogues": {
|
|
56
|
-
"import": "./dist/product-catalogues/index.js",
|
|
57
|
-
"types": "./dist/product-catalogues/index.d.ts"
|
|
68
|
+
"import": "./dist/entities/product-catalogues/index.js",
|
|
69
|
+
"types": "./dist/entities/product-catalogues/index.d.ts"
|
|
58
70
|
},
|
|
59
71
|
"./underwriter": {
|
|
60
|
-
"import": "./dist/underwriter/index.js",
|
|
61
|
-
"types": "./dist/underwriter/index.d.ts"
|
|
72
|
+
"import": "./dist/entities/underwriter/index.js",
|
|
73
|
+
"types": "./dist/entities/underwriter/index.d.ts"
|
|
62
74
|
}
|
|
63
75
|
},
|
|
64
76
|
"devDependencies": {
|
|
65
77
|
"@types/mongoose": "^5.11.96",
|
|
66
78
|
"@types/node": "^22.14.0",
|
|
79
|
+
"prisma": "^6.6.0",
|
|
67
80
|
"ts-node": "^10.9.2",
|
|
68
81
|
"typescript": "^5.8.3"
|
|
69
82
|
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
model Applicant {
|
|
2
|
+
id String @id @default(uuid())
|
|
3
|
+
applicantId String @unique
|
|
4
|
+
applicationId String @map("application_id")
|
|
5
|
+
addressCity String?
|
|
6
|
+
addressCountryLid String? @map("address_country_lid")
|
|
7
|
+
addressLine1 String?
|
|
8
|
+
addressLine2 String?
|
|
9
|
+
addressLine3 String?
|
|
10
|
+
addressMovedDate String?
|
|
11
|
+
addressPostCode String?
|
|
12
|
+
correspondenceAddressCity String?
|
|
13
|
+
correspondenceAddressCountryLid String? @map("correspondence_address_country_lid")
|
|
14
|
+
correspondenceAddressLine1 String?
|
|
15
|
+
correspondenceAddressLine2 String?
|
|
16
|
+
correspondenceAddressLine3 String?
|
|
17
|
+
correspondenceAddressPostCode String?
|
|
18
|
+
countryOfResidenceLid String @map("country_of_residence_lid")
|
|
19
|
+
dateOfBirth String
|
|
20
|
+
dependant10Age Int @default(0)
|
|
21
|
+
dependant1Age Int @default(0)
|
|
22
|
+
dependant2Age Int @default(0)
|
|
23
|
+
dependant3Age Int @default(0)
|
|
24
|
+
dependant4Age Int @default(0)
|
|
25
|
+
dependant5Age Int @default(0)
|
|
26
|
+
dependant6Age Int @default(0)
|
|
27
|
+
dependant7Age Int @default(0)
|
|
28
|
+
dependant8Age Int @default(0)
|
|
29
|
+
dependant9Age Int @default(0)
|
|
30
|
+
email String
|
|
31
|
+
employmentStatusDetails String?
|
|
32
|
+
firstName String
|
|
33
|
+
isFirstTimelandlord Boolean @default(false)
|
|
34
|
+
foreignIdForNationals String?
|
|
35
|
+
gdprEmail Boolean @default(false)
|
|
36
|
+
gdprPost Boolean @default(false)
|
|
37
|
+
gdprTelephone Boolean @default(false)
|
|
38
|
+
gdprTextMessage Boolean @default(false)
|
|
39
|
+
gender String
|
|
40
|
+
hasBrokerGivenConsentForVulnerabilities Boolean
|
|
41
|
+
hasLinkedJurisdiction Boolean @default(false)
|
|
42
|
+
isCorrespondence Boolean @default(true)
|
|
43
|
+
isCommitmentConfirmed Boolean @default(false)
|
|
44
|
+
isCurrentContract Boolean @default(false)
|
|
45
|
+
isCustomerVulnerable Boolean @default(false)
|
|
46
|
+
isExpat Boolean @default(false)
|
|
47
|
+
isFirstApplicant Boolean @default(false)
|
|
48
|
+
isUkPassport Boolean @default(false)
|
|
49
|
+
isUkResident Boolean
|
|
50
|
+
classLid String? @map("class_lid")
|
|
51
|
+
pageValidFlag Boolean @default(false)
|
|
52
|
+
lastName String
|
|
53
|
+
linkedJurisdictionCountryLid String? @map("linked_jurisdiction_country_lid")
|
|
54
|
+
linkedJurisdictionDetails String?
|
|
55
|
+
maidenName String?
|
|
56
|
+
maritalStatusLid String @map("marital_status_lid")
|
|
57
|
+
mobileNumber String?
|
|
58
|
+
nationalityLid String @map("nationality_lid")
|
|
59
|
+
netIncome Decimal @default(0.00)
|
|
60
|
+
niNumber String
|
|
61
|
+
numberOfDependants Int @default(0)
|
|
62
|
+
isOneYearPrior Boolean @default(false)
|
|
63
|
+
phoneNumber String?
|
|
64
|
+
previous1AddressCity String?
|
|
65
|
+
previous1AddressCountryLid String? @map("previous1_address_country_lid")
|
|
66
|
+
previous1AddressLine1 String?
|
|
67
|
+
previous1AddressLine2 String?
|
|
68
|
+
previous1AddressLine3 String?
|
|
69
|
+
previous1AddressMovedDate String?
|
|
70
|
+
previous1AddressPostCode String?
|
|
71
|
+
previous1AddressPropertyOwnedBy String?
|
|
72
|
+
previous2AddressCity String?
|
|
73
|
+
previous2AddressCountryLid String? @map("previous2_address_country_lid")
|
|
74
|
+
previous2AddressLine1 String?
|
|
75
|
+
previous2AddressLine2 String?
|
|
76
|
+
previous2AddressLine3 String?
|
|
77
|
+
previous2AddressMovedDate String?
|
|
78
|
+
previous2AddressPostCode String?
|
|
79
|
+
previous2AddressPropertyOwnedBy String?
|
|
80
|
+
relationshipToOthers String
|
|
81
|
+
residentialStatusLid String? @map("residential_status_lid")
|
|
82
|
+
retirementAge String
|
|
83
|
+
taxJurisdictionLid String @map("tax_jurisdiction_lid")
|
|
84
|
+
taxPayerLid String @map("tax_payer_lid")
|
|
85
|
+
timeResidedAtCountryOfResidence Int
|
|
86
|
+
title String
|
|
87
|
+
isTwoYearPrior Boolean @default(false)
|
|
88
|
+
understandEnglish Boolean
|
|
89
|
+
vulnerabilityNotes String?
|
|
90
|
+
vulnerabilityTypeLids String[] @map("vulnerability_type_lids")
|
|
91
|
+
ukPassportProfessionLid String? @map("uk_passport_profession_lid")
|
|
92
|
+
createdAt DateTime @default(now()) @map("created_at")
|
|
93
|
+
updatedAt DateTime @updatedAt @map("updated_at")
|
|
94
|
+
|
|
95
|
+
// Relations
|
|
96
|
+
application Application @relation(fields: [applicationId], references: [id])
|
|
97
|
+
addressCountry Lookup? @relation("AddressCountry", fields: [addressCountryLid], references: [id])
|
|
98
|
+
correspondenceAddressCountry Lookup? @relation("CorrespondenceAddressCountry", fields: [correspondenceAddressCountryLid], references: [id])
|
|
99
|
+
countryOfResidence Lookup @relation("CountryOfResidence", fields: [countryOfResidenceLid], references: [id])
|
|
100
|
+
class Lookup? @relation("Class", fields: [classLid], references: [id])
|
|
101
|
+
linkedJurisdictionCountry Lookup? @relation("LinkedJurisdictionCountry", fields: [linkedJurisdictionCountryLid], references: [id])
|
|
102
|
+
maritalStatus Lookup @relation("MaritalStatus", fields: [maritalStatusLid], references: [id])
|
|
103
|
+
nationality Lookup @relation("Nationality", fields: [nationalityLid], references: [id])
|
|
104
|
+
previous1AddressCountry Lookup? @relation("Previous1AddressCountry", fields: [previous1AddressCountryLid], references: [id])
|
|
105
|
+
previous2AddressCountry Lookup? @relation("Previous2AddressCountry", fields: [previous2AddressCountryLid], references: [id])
|
|
106
|
+
residentialStatus Lookup? @relation("ResidentialStatus", fields: [residentialStatusLid], references: [id])
|
|
107
|
+
taxJurisdiction Lookup @relation("TaxJurisdiction", fields: [taxJurisdictionLid], references: [id])
|
|
108
|
+
taxPayer Lookup @relation("TaxPayer", fields: [taxPayerLid], references: [id])
|
|
109
|
+
ukPassportProfession Lookup? @relation("UkPassportProfession", fields: [ukPassportProfessionLid], references: [id])
|
|
110
|
+
vulnerabilityTypes Lookup[] @relation("VulnerabilityTypes")
|
|
111
|
+
creditData CreditData?
|
|
112
|
+
riskNarrative RiskNarrative?
|
|
113
|
+
otherIncome OtherIncome?
|
|
114
|
+
incomeSource IncomeSource?
|
|
115
|
+
expenditure Expenditure?
|
|
116
|
+
employment Employment?
|
|
117
|
+
directDebit DirectDebit?
|
|
118
|
+
creditProfile CreditProfile? @relation("ApplicantCreditProfile", fields: [id], references: [id], map: "applicant_credit_profile_fkey")
|
|
119
|
+
propertyIncome PropertyIncome? @relation("ApplicantPropertyIncome", fields: [id], references: [id], map: "applicant_property_income_fkey")
|
|
120
|
+
income Income? @relation("ApplicantIncome", fields: [id], references: [id], map: "applicant_income_fkey")
|
|
121
|
+
creditCardCommitments CreditCardCommitment[] @relation("ApplicantCreditCardCommitments")
|
|
122
|
+
loanCommitments LoanCommitment[] @relation("ApplicantLoanCommitments")
|
|
123
|
+
mortgageCommitments MortgageCommitment[] @relation("ApplicantMortgageCommitments")
|
|
124
|
+
residenceCommitments ResidenceCommitment[] @relation("ApplicantResidenceCommitments")
|
|
125
|
+
securedLoanCommitments SecuredLoanCommitment[] @relation("ApplicantSecuredLoanCommitments")
|
|
126
|
+
unsecuredLoanCommitments UnsecuredLoanCommitment[] @relation("ApplicantUnsecuredLoanCommitments")
|
|
127
|
+
shareholdings ApplicantShareholding[] @relation("ApplicantShareholdings")
|
|
128
|
+
|
|
129
|
+
@@map("applicants")
|
|
130
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
model CreditCardCommitment {
|
|
2
|
+
id String @id @default(uuid())
|
|
3
|
+
applicantId String @map("applicant_id")
|
|
4
|
+
commitmentId String @map("commitment_id")
|
|
5
|
+
commitmentTypeLid String? @map("commitment_type_lid")
|
|
6
|
+
lenderName String @map("lender_name")
|
|
7
|
+
creditLimit Decimal @map("credit_limit")
|
|
8
|
+
outstandingBalance Decimal @map("outstanding_balance")
|
|
9
|
+
creditCardRepaymentTypeLid String @map("credit_card_repayment_type_lid")
|
|
10
|
+
monthlyPayment Decimal @map("monthly_payment")
|
|
11
|
+
jointNames Boolean @map("joint_names")
|
|
12
|
+
createdAt DateTime @default(now()) @map("created_at")
|
|
13
|
+
updatedAt DateTime @updatedAt @map("updated_at")
|
|
14
|
+
|
|
15
|
+
// Relations
|
|
16
|
+
applicant Applicant @relation("ApplicantCreditCardCommitments", fields: [applicantId], references: [id])
|
|
17
|
+
commitmentType Lookup? @relation("CommitmentType", fields: [commitmentTypeLid], references: [id])
|
|
18
|
+
repaymentType Lookup @relation("CreditCardRepaymentType", fields: [creditCardRepaymentTypeLid], references: [id])
|
|
19
|
+
|
|
20
|
+
@@map("applicant_creditcard_commitments")
|
|
21
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
model CreditData {
|
|
2
|
+
id String @id @default(uuid())
|
|
3
|
+
bankruptcy String
|
|
4
|
+
countyCourtJudgment String
|
|
5
|
+
creditDefaults String?
|
|
6
|
+
securedArrears String
|
|
7
|
+
statusLid String @map("status_lid")
|
|
8
|
+
unsecuredArrears String
|
|
9
|
+
valid String
|
|
10
|
+
applicantId String @unique @map("applicant_id")
|
|
11
|
+
createdAt DateTime @default(now()) @map("created_at")
|
|
12
|
+
updatedAt DateTime @updatedAt @map("updated_at")
|
|
13
|
+
|
|
14
|
+
// Relations
|
|
15
|
+
applicant Applicant @relation(fields: [applicantId], references: [id])
|
|
16
|
+
status Lookup @relation("CreditDataStatus", fields: [statusLid], references: [id])
|
|
17
|
+
|
|
18
|
+
@@map("applicant_credit_data")
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
model CreditProfile {
|
|
2
|
+
id String @id @default(uuid())
|
|
3
|
+
anyVoluntaryEnforcedPossessionNo String @map("any_voluntary_enforced_possession_no")
|
|
4
|
+
bankruptcyNo String @map("bankruptcy_no")
|
|
5
|
+
ccjInLastThreeYearNo String @map("ccj_in_last_three_year_no")
|
|
6
|
+
defaultsInLastYearNo String @map("defaults_in_last_year_no")
|
|
7
|
+
createdAt DateTime @default(now()) @map("created_at")
|
|
8
|
+
updatedAt DateTime @updatedAt @map("updated_at")
|
|
9
|
+
|
|
10
|
+
// Relations
|
|
11
|
+
applicants Applicant[] @relation("ApplicantCreditProfile")
|
|
12
|
+
|
|
13
|
+
@@map("applicant_credit_profiles")
|
|
14
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
model DirectDebit {
|
|
2
|
+
id String @id @default(uuid())
|
|
3
|
+
applicationId String @map("application_id")
|
|
4
|
+
accountNumber String?
|
|
5
|
+
addressLine1 String?
|
|
6
|
+
addressLine2 String?
|
|
7
|
+
Applicants String?
|
|
8
|
+
branch String?
|
|
9
|
+
city String?
|
|
10
|
+
contactPostcode String?
|
|
11
|
+
institution String?
|
|
12
|
+
isConfirmDeclaration String? @default("false")
|
|
13
|
+
nameOfAccountHolder String?
|
|
14
|
+
selectedPaymentDay String?
|
|
15
|
+
sortCode String?
|
|
16
|
+
telephone String?
|
|
17
|
+
applicantId String @unique @map("applicant_id")
|
|
18
|
+
createdAt DateTime @default(now()) @map("created_at")
|
|
19
|
+
updatedAt DateTime @updatedAt @map("updated_at")
|
|
20
|
+
|
|
21
|
+
// Relations
|
|
22
|
+
applicant Applicant @relation(fields: [applicantId], references: [id])
|
|
23
|
+
application Application @relation("ApplicationDirectDebits", fields: [applicationId], references: [id])
|
|
24
|
+
|
|
25
|
+
@@map("applicant_direct_debit")
|
|
26
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
model Employment {
|
|
2
|
+
id String @id @default(uuid())
|
|
3
|
+
pageValidFlag Boolean @default(false)
|
|
4
|
+
addressCity String?
|
|
5
|
+
addressCountryLid String @map("address_country_lid")
|
|
6
|
+
addressLine1 String
|
|
7
|
+
addressLine2 String?
|
|
8
|
+
addressLine3 String?
|
|
9
|
+
addressPostCode String
|
|
10
|
+
averageBonusPreviousTwoYears Decimal @default(0.00)
|
|
11
|
+
basicGrossIncome Decimal @default(0.00)
|
|
12
|
+
basicPay Decimal @default(0.00)
|
|
13
|
+
carAllowance Decimal @default(0.00)
|
|
14
|
+
childBenefit Decimal @default(0.00)
|
|
15
|
+
childBenefitOrSchoolAllowance Decimal @default(0.00)
|
|
16
|
+
contractRemaining String?
|
|
17
|
+
dateJoined String
|
|
18
|
+
disabilityLiving Decimal @default(0.00)
|
|
19
|
+
employerName String
|
|
20
|
+
employerTelephone String?
|
|
21
|
+
housingAllowance Decimal @default(0.00)
|
|
22
|
+
industryLid String @map("industry_lid")
|
|
23
|
+
isUnderTerminationNotice Boolean @default(false)
|
|
24
|
+
jobTitleLid String @map("job_title_lid")
|
|
25
|
+
maintenance Decimal @default(0.00)
|
|
26
|
+
maternityIncome Decimal @default(0.00)
|
|
27
|
+
natureOfBusiness String
|
|
28
|
+
pensionIncome Decimal @default(0.00)
|
|
29
|
+
previousAddressCity String?
|
|
30
|
+
previousAddressCountry String
|
|
31
|
+
previousAddressLine1 String
|
|
32
|
+
previousAddressLine2 String?
|
|
33
|
+
previousAddressLine3 String?
|
|
34
|
+
previousAddressPostCode String
|
|
35
|
+
previousBasicGrossIncome Decimal @default(0.00)
|
|
36
|
+
previousDateJoined String
|
|
37
|
+
previousDateLeft String
|
|
38
|
+
previousEmployerName String
|
|
39
|
+
previousEmployerTelephone String?
|
|
40
|
+
previousJobTitle String
|
|
41
|
+
previousNatureOfBusiness String
|
|
42
|
+
referenceContact String?
|
|
43
|
+
referenceContactEmail String
|
|
44
|
+
secondJob Decimal @default(0.00)
|
|
45
|
+
travelAllowance Decimal @default(0.00)
|
|
46
|
+
underTerminationNoticeNote String?
|
|
47
|
+
applicantId String @unique @map("applicant_id")
|
|
48
|
+
createdAt DateTime @default(now()) @map("created_at")
|
|
49
|
+
updatedAt DateTime @updatedAt @map("updated_at")
|
|
50
|
+
|
|
51
|
+
// Relations
|
|
52
|
+
applicant Applicant @relation(fields: [applicantId], references: [id])
|
|
53
|
+
addressCountry Lookup @relation("AddressCountry", fields: [addressCountryLid], references: [id])
|
|
54
|
+
industry Lookup @relation("Industry", fields: [industryLid], references: [id])
|
|
55
|
+
jobTitle Lookup @relation("JobTitle", fields: [jobTitleLid], references: [id])
|
|
56
|
+
acceptableIncomeTypes Lookup[] @relation("AcceptableIncomeTypes")
|
|
57
|
+
|
|
58
|
+
@@map("applicant_employment")
|
|
59
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
model Expenditure {
|
|
2
|
+
id String @id @default(uuid())
|
|
3
|
+
pageValidFlag Boolean @default(false)
|
|
4
|
+
utilities Decimal
|
|
5
|
+
transport Decimal
|
|
6
|
+
subsistence Decimal
|
|
7
|
+
communication Decimal
|
|
8
|
+
health Decimal
|
|
9
|
+
groundRentOrServiceCharge Decimal
|
|
10
|
+
insurance Decimal
|
|
11
|
+
childCareForDependents Decimal
|
|
12
|
+
councilTax Decimal
|
|
13
|
+
clothingAndFootwear Decimal
|
|
14
|
+
vehicleInsurance Decimal
|
|
15
|
+
mortgagePaymentVehicle Decimal
|
|
16
|
+
other Decimal
|
|
17
|
+
totalMontlyExpenditure String?
|
|
18
|
+
applicantId String @unique @map("applicant_id")
|
|
19
|
+
createdAt DateTime @default(now()) @map("created_at")
|
|
20
|
+
updatedAt DateTime @updatedAt @map("updated_at")
|
|
21
|
+
|
|
22
|
+
// Relations
|
|
23
|
+
applicant Applicant @relation(fields: [applicantId], references: [id])
|
|
24
|
+
|
|
25
|
+
@@map("applicant_expenditure")
|
|
26
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
model IncomeSource {
|
|
2
|
+
id String @id @default(uuid())
|
|
3
|
+
employmentStatusLid String? @map("employment_status_lid")
|
|
4
|
+
incomeFromEmployment String?
|
|
5
|
+
incomeFromPension String?
|
|
6
|
+
incomeFromProperty String?
|
|
7
|
+
incomeFromSavings String?
|
|
8
|
+
applicantId String @unique @map("applicant_id")
|
|
9
|
+
createdAt DateTime @default(now()) @map("created_at")
|
|
10
|
+
updatedAt DateTime @updatedAt @map("updated_at")
|
|
11
|
+
|
|
12
|
+
// Relations
|
|
13
|
+
applicant Applicant @relation(fields: [applicantId], references: [id])
|
|
14
|
+
employmentStatus Lookup? @relation("IncomeSourceEmploymentStatus", fields: [employmentStatusLid], references: [id])
|
|
15
|
+
|
|
16
|
+
@@map("applicant_income_source")
|
|
17
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
model Income {
|
|
2
|
+
id String @id @default(uuid())
|
|
3
|
+
accountantsAddressLine1 String @map("accountants_address_line1")
|
|
4
|
+
accountantsAddressLine2 String @map("accountants_address_line2")
|
|
5
|
+
accountantsAddressLine3 String @map("accountants_address_line3")
|
|
6
|
+
accountantsCity String @default("") @map("accountants_city")
|
|
7
|
+
accountantsCountryLid String @map("accountants_country_lid")
|
|
8
|
+
accountantsEmail String @map("accountants_email")
|
|
9
|
+
accountantsPostCode String @map("accountants_post_code")
|
|
10
|
+
accountantsPractice String @map("accountants_practice")
|
|
11
|
+
accountantsTelephoneNumber String @map("accountants_telephone_number")
|
|
12
|
+
businessAddressLine1 String @map("business_address_line1")
|
|
13
|
+
businessAddressLine2 String @map("business_address_line2")
|
|
14
|
+
businessAddressLine3 String @map("business_address_line3")
|
|
15
|
+
businessCity String @default("") @map("business_city")
|
|
16
|
+
businessCountryLid String @map("business_country_lid")
|
|
17
|
+
businessPostCode String @map("business_post_code")
|
|
18
|
+
businessTelephoneNumber String @map("business_telephone_number")
|
|
19
|
+
businessTypeLid String @map("business_type_lid")
|
|
20
|
+
charteredCertifiedOrOtherLid String @map("chartered_certified_or_other_lid")
|
|
21
|
+
contactName String @map("contact_name")
|
|
22
|
+
currentYearEnd String @map("current_year_end")
|
|
23
|
+
dateEstablished String @map("date_established")
|
|
24
|
+
doYouHaveAccountant Boolean @map("do_you_have_accountant")
|
|
25
|
+
isBusinessAddressDifferent Boolean @map("is_business_address_different")
|
|
26
|
+
nameOfBusiness String @map("name_of_business")
|
|
27
|
+
natureOfBusiness String @map("nature_of_business")
|
|
28
|
+
netAssets1 Decimal @default(0.00) @map("net_assets1")
|
|
29
|
+
netAssets2 Decimal @default(0.00) @map("net_assets2")
|
|
30
|
+
netAssets3 Decimal @default(0.00) @map("net_assets3")
|
|
31
|
+
pageValidFlag Boolean @default(false) @map("page_valid_flag")
|
|
32
|
+
percentageOfShareholding Int @map("percentage_of_shareholding")
|
|
33
|
+
registeredAddressLine1 String @map("registered_address_line1")
|
|
34
|
+
registeredAddressLine2 String @map("registered_address_line2")
|
|
35
|
+
registeredAddressLine3 String @map("registered_address_line3")
|
|
36
|
+
registeredCity String @default("") @map("registered_city")
|
|
37
|
+
registeredCountryLid String @map("registered_country_lid")
|
|
38
|
+
registeredPostCode String @map("registered_post_code")
|
|
39
|
+
registeredTelephone String @map("registered_telephone")
|
|
40
|
+
selfEmployedDate String @map("self_employed_date")
|
|
41
|
+
turnover1 Decimal @default(0.00) @map("turnover1")
|
|
42
|
+
turnover2 Decimal @default(0.00) @map("turnover2")
|
|
43
|
+
turnover3 Decimal @default(0.00) @map("turnover3")
|
|
44
|
+
year1 Decimal @default(0.00) @map("year1")
|
|
45
|
+
year2 Decimal @default(0.00) @map("year2")
|
|
46
|
+
year3 Decimal @default(0.00) @map("year3")
|
|
47
|
+
yearEnd1 Int? @map("year_end1")
|
|
48
|
+
yearEnd2 Int? @map("year_end2")
|
|
49
|
+
yearEnd3 Int? @map("year_end3")
|
|
50
|
+
createdAt DateTime @default(now()) @map("created_at")
|
|
51
|
+
updatedAt DateTime @updatedAt @map("updated_at")
|
|
52
|
+
|
|
53
|
+
// Relations
|
|
54
|
+
accountantsCountry Lookup @relation("AccountantsCountry", fields: [accountantsCountryLid], references: [id])
|
|
55
|
+
businessCountry Lookup @relation("BusinessCountry", fields: [businessCountryLid], references: [id])
|
|
56
|
+
businessType Lookup @relation("BusinessType", fields: [businessTypeLid], references: [id])
|
|
57
|
+
charteredCertifiedOrOther Lookup @relation("CharteredCertifiedOrOther", fields: [charteredCertifiedOrOtherLid], references: [id])
|
|
58
|
+
registeredCountry Lookup @relation("RegisteredCountry", fields: [registeredCountryLid], references: [id])
|
|
59
|
+
applicants Applicant[] @relation("ApplicantIncome")
|
|
60
|
+
|
|
61
|
+
@@map("applicant_income")
|
|
62
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
model LoanCommitment {
|
|
2
|
+
id String @id @default(uuid())
|
|
3
|
+
applicantId String @map("applicant_id")
|
|
4
|
+
commitmentId String @map("commitment_id")
|
|
5
|
+
commitmentTypeLid String? @map("commitment_type_lid")
|
|
6
|
+
lenderName String @map("lender_name")
|
|
7
|
+
loanTypeLid String @map("loan_type_lid")
|
|
8
|
+
securityDetails String @map("security_details")
|
|
9
|
+
purpose String? @map("purpose")
|
|
10
|
+
doHaveSharedResponsibility Boolean @map("do_have_shared_responsibility")
|
|
11
|
+
sharedMortgage String @map("shared_mortgage")
|
|
12
|
+
remainingTerm String? @map("remaining_term")
|
|
13
|
+
startDate String @map("start_date")
|
|
14
|
+
outstandingBalance Decimal @map("outstanding_balance")
|
|
15
|
+
monthlyPayment Decimal @map("monthly_payment")
|
|
16
|
+
jointNames Boolean @map("joint_names")
|
|
17
|
+
createdAt DateTime @default(now()) @map("created_at")
|
|
18
|
+
updatedAt DateTime @updatedAt @map("updated_at")
|
|
19
|
+
|
|
20
|
+
// Relations
|
|
21
|
+
applicant Applicant @relation("ApplicantLoanCommitments", fields: [applicantId], references: [id])
|
|
22
|
+
commitmentType Lookup? @relation("CommitmentType", fields: [commitmentTypeLid], references: [id])
|
|
23
|
+
loanType Lookup @relation("LoanType", fields: [loanTypeLid], references: [id])
|
|
24
|
+
|
|
25
|
+
@@map("applicant_loan_commitments")
|
|
26
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
model MortgageCommitment {
|
|
2
|
+
id String @id @default(uuid())
|
|
3
|
+
applicantId String @map("applicant_id")
|
|
4
|
+
lenderName String @map("lender_name")
|
|
5
|
+
propertyValue Decimal @map("property_value")
|
|
6
|
+
repaymentTypeLid String @map("repayment_type_lid")
|
|
7
|
+
mortgageTypeLid String? @map("mortgage_type_lid")
|
|
8
|
+
fixedTerm String
|
|
9
|
+
originalLoanAmount Decimal
|
|
10
|
+
outstandingBalance Decimal @map("outstanding_balance")
|
|
11
|
+
startDate String
|
|
12
|
+
monthlyPayment Decimal @map("monthly_payment")
|
|
13
|
+
commitmentId String @map("commitment_id")
|
|
14
|
+
commitmentTypeLid String? @map("commitment_type_lid")
|
|
15
|
+
furtherAdvances Boolean
|
|
16
|
+
furtherAdvanceDetails String
|
|
17
|
+
accountUptoDate Boolean
|
|
18
|
+
accountUptoDateFailDetails String
|
|
19
|
+
accountInArrears Boolean
|
|
20
|
+
accountInArrearsDetails String
|
|
21
|
+
doHaveSharedResponsibility Boolean
|
|
22
|
+
sharedMortgage String
|
|
23
|
+
jointNames Boolean @map("joint_names")
|
|
24
|
+
createdAt DateTime @default(now()) @map("created_at")
|
|
25
|
+
updatedAt DateTime @updatedAt @map("updated_at")
|
|
26
|
+
|
|
27
|
+
// Relations
|
|
28
|
+
applicant Applicant @relation("ApplicantMortgageCommitments", fields: [applicantId], references: [id])
|
|
29
|
+
repaymentType Lookup @relation("RepaymentType", fields: [repaymentTypeLid], references: [id])
|
|
30
|
+
mortgageType Lookup? @relation("MortgageType", fields: [mortgageTypeLid], references: [id])
|
|
31
|
+
commitmentType Lookup? @relation("CommitmentType", fields: [commitmentTypeLid], references: [id])
|
|
32
|
+
|
|
33
|
+
@@map("applicant_mortgage_commitments")
|
|
34
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
model OtherIncome {
|
|
2
|
+
id String @id @default(uuid())
|
|
3
|
+
// Income Source 1
|
|
4
|
+
sourceDetails1 String?
|
|
5
|
+
amount1 Decimal @default(0.00)
|
|
6
|
+
payFrequency1Lid String? @map("pay_frequency1_lid")
|
|
7
|
+
guaranteed1 Boolean @default(false)
|
|
8
|
+
|
|
9
|
+
// Income Source 2
|
|
10
|
+
sourceDetails2 String?
|
|
11
|
+
amount2 Decimal @default(0.00)
|
|
12
|
+
payFrequency2Lid String? @map("pay_frequency2_lid")
|
|
13
|
+
guaranteed2 Boolean @default(false)
|
|
14
|
+
|
|
15
|
+
// Income Source 3
|
|
16
|
+
sourceDetails3 String?
|
|
17
|
+
amount3 Decimal @default(0.00)
|
|
18
|
+
payFrequency3Lid String? @map("pay_frequency3_lid")
|
|
19
|
+
guaranteed3 Boolean @default(false)
|
|
20
|
+
|
|
21
|
+
// Income Source 4
|
|
22
|
+
sourceDetails4 String?
|
|
23
|
+
amount4 Decimal @default(0.00)
|
|
24
|
+
payFrequency4Lid String? @map("pay_frequency4_lid")
|
|
25
|
+
guaranteed4 Boolean @default(false)
|
|
26
|
+
|
|
27
|
+
taxCredits Decimal @default(0.00)
|
|
28
|
+
maintenance Decimal @default(0.00)
|
|
29
|
+
otherBenefits Decimal @default(0.00)
|
|
30
|
+
grossPensionIncome Decimal @default(0.00)
|
|
31
|
+
privatePensionIncome Decimal @default(0.00)
|
|
32
|
+
statePensionIncome Decimal @default(0.00)
|
|
33
|
+
applicantId String @unique @map("applicant_id")
|
|
34
|
+
createdAt DateTime @default(now()) @map("created_at")
|
|
35
|
+
updatedAt DateTime @updatedAt @map("updated_at")
|
|
36
|
+
|
|
37
|
+
// Relations
|
|
38
|
+
applicant Applicant @relation(fields: [applicantId], references: [id])
|
|
39
|
+
payFrequency1 Lookup? @relation("PayFrequency1", fields: [payFrequency1Lid], references: [id])
|
|
40
|
+
payFrequency2 Lookup? @relation("PayFrequency2", fields: [payFrequency2Lid], references: [id])
|
|
41
|
+
payFrequency3 Lookup? @relation("PayFrequency3", fields: [payFrequency3Lid], references: [id])
|
|
42
|
+
payFrequency4 Lookup? @relation("PayFrequency4", fields: [payFrequency4Lid], references: [id])
|
|
43
|
+
|
|
44
|
+
@@map("applicant_other_income")
|
|
45
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
model PropertyIncome {
|
|
2
|
+
id String @id @default(uuid())
|
|
3
|
+
pageValidFlag Boolean @default(false) @map("page_valid_flag")
|
|
4
|
+
yearEnd1 String @map("year_end_1")
|
|
5
|
+
rentalIncome1 Decimal @map("rental_income_1")
|
|
6
|
+
netProfit1 Decimal @map("net_profit_1")
|
|
7
|
+
yearEnd2 String @map("year_end_2")
|
|
8
|
+
rentalIncome2 Decimal @map("rental_income_2")
|
|
9
|
+
netProfit2 Decimal @map("net_profit_2")
|
|
10
|
+
yearEnd3 String @map("year_end_3")
|
|
11
|
+
rentalIncome3 Decimal @map("rental_income_3")
|
|
12
|
+
netProfit3 Decimal @map("net_profit_3")
|
|
13
|
+
createdAt DateTime @default(now()) @map("created_at")
|
|
14
|
+
updatedAt DateTime @updatedAt @map("updated_at")
|
|
15
|
+
|
|
16
|
+
// Relations
|
|
17
|
+
applicants Applicant[] @relation("ApplicantPropertyIncome")
|
|
18
|
+
|
|
19
|
+
@@map("applicant_property_income")
|
|
20
|
+
}
|