36 lines
1.1 KiB
JavaScript
36 lines
1.1 KiB
JavaScript
'use strict'
|
|
const { Model } = require('sequelize')
|
|
module.exports = (sequelize, DataTypes) => {
|
|
class ValidationPoint extends Model {
|
|
|
|
}
|
|
ValidationPoint.init(
|
|
{
|
|
pd_id: { type: DataTypes.INTEGER },
|
|
stock_validated: { type: DataTypes.STRING },
|
|
collateral_coverage: { type: DataTypes.STRING },
|
|
collection_efficiency: { type: DataTypes.STRING },
|
|
loan_dox: { type: DataTypes.STRING },
|
|
disbursement: { type: DataTypes.STRING },
|
|
top20_exposure: { type: DataTypes.STRING },
|
|
sanction_letters: { type: DataTypes.STRING },
|
|
provisioning: { type: DataTypes.STRING },
|
|
restructuring_loan: { type: DataTypes.STRING },
|
|
emi_date: { type: DataTypes.STRING },
|
|
cash_checked: { type: DataTypes.STRING },
|
|
fd_details: { type: DataTypes.STRING },
|
|
loan_management: { type: DataTypes.STRING },
|
|
createdby: { type: DataTypes.INTEGER },
|
|
updatedby: { type: DataTypes.INTEGER }
|
|
|
|
},
|
|
{
|
|
sequelize,
|
|
tableName: 'credit_validation_points',
|
|
modelName: 'ValidationPoint',
|
|
}
|
|
)
|
|
|
|
|
|
return ValidationPoint
|
|
} |