model_file:GWM

This commit is contained in:
sriramv 2023-03-21 14:34:36 +05:30
parent ee798c66f2
commit f82bf5255b
2 changed files with 6 additions and 6 deletions

View File

@ -7,15 +7,15 @@ module.exports = (sequelize, DataTypes) => {
CreditExistingLoanObligation.init(
{
pd_id: { type: DataTypes.INTEGER },
loan_type: { type: DataTypes.INTEGER },
loan_type: { type: DataTypes.STRING },
loan_amount: { type: DataTypes.INTEGER },
lender_name: { type: DataTypes.STRING },
loan_taken_by: { type: DataTypes.STRING },
instalment_amount: { type: DataTypes.INTEGER },
instalment_amount: { type: DataTypes.STRING },
instalment_frequency: { type: DataTypes.STRING },
original_tenure_months: { type: DataTypes.INTEGER },
current_tenure_months: { type: DataTypes.INTEGER },
elapsed_tenure_months: { type: DataTypes.INTEGER },
original_tenure_months: { type: DataTypes.STRING },
current_tenure_months: { type: DataTypes.STRING },
elapsed_tenure_months: { type: DataTypes.STRING },
common_remarks: { type: DataTypes.STRING },
createdby: { type: DataTypes.INTEGER },
updatedby: { type: DataTypes.INTEGER }

View File

@ -10,7 +10,7 @@ module.exports = (sequelize, DataTypes) => {
company_name: { type: DataTypes.STRING },
stakeholder_length: { type: DataTypes.STRING },
stakeholder_name: { type: DataTypes.STRING },
share_holding: { type: DataTypes.STRING },
share_holding: { type: DataTypes.INTEGER },
vintage_in_current_biz: { type: DataTypes.STRING },
previous_experience_details: { type: DataTypes.INTEGER },
total_work_exp: { type: DataTypes.INTEGER },