From 3068111152ec17653cbb64294b25575486c520b8 Mon Sep 17 00:00:00 2001 From: suseendhiran17 <58357088+suseendhiran17@users.noreply.github.com> Date: Fri, 1 Jul 2022 12:02:42 +0530 Subject: [PATCH] susee , applicant & entityDet update api --- app/models/ApplicantsDetails.js | 1 + app/models/EntityDetails.js | 1 + app/routes/routes.js | 8 ++++++++ 3 files changed, 10 insertions(+) diff --git a/app/models/ApplicantsDetails.js b/app/models/ApplicantsDetails.js index a2358ba..9655fc8 100644 --- a/app/models/ApplicantsDetails.js +++ b/app/models/ApplicantsDetails.js @@ -17,6 +17,7 @@ module.exports = (sequelize, DataTypes) => { ApplicantsDetails.init( { loan_no_id: { type: DataTypes.INTEGER }, + pan_no: { type: DataTypes.STRING }, losid: { type: DataTypes.STRING }, name: { type: DataTypes.STRING }, entity_type: { type: DataTypes.STRING }, diff --git a/app/models/EntityDetails.js b/app/models/EntityDetails.js index 3321c72..72ac255 100644 --- a/app/models/EntityDetails.js +++ b/app/models/EntityDetails.js @@ -18,6 +18,7 @@ module.exports = (sequelize, DataTypes) => { { loan_no_id: { type: DataTypes.INTEGER }, + pan_no: { type: DataTypes.STRING }, losid: { type: DataTypes.STRING }, senp_sep: { type: DataTypes.STRING }, cat_of_sep: { type: DataTypes.STRING }, diff --git a/app/routes/routes.js b/app/routes/routes.js index 5b3f163..024a60f 100644 --- a/app/routes/routes.js +++ b/app/routes/routes.js @@ -485,6 +485,10 @@ router.post("/createEntityDetails", Entitycontroller.createEntityDetails); * type: integer * description: * example: 1 +* pan_no: +* type: string +* description: +* example: * losid: * type: string * description: @@ -872,6 +876,10 @@ router.post("/createApplicantDetails", Entitycontroller.createApplicantDetails); * type: integer * description: * example: 1 +* pan_no: +* type: string +* description: +* example: * losid: * type: string * description: