30 lines
932 B
JavaScript
30 lines
932 B
JavaScript
'use strict'
|
|
const { Model } = require('sequelize')
|
|
module.exports = (sequelize, DataTypes) => {
|
|
class LoanEligibilityNorms4 extends Model {
|
|
|
|
}
|
|
LoanEligibilityNorms4.init(
|
|
{
|
|
policy_parameter_master_id : { type: DataTypes.INTEGER },
|
|
Program : { type: DataTypes.STRING },
|
|
Max : { type: DataTypes.INTEGER },
|
|
Min : { type: DataTypes.INTEGER },
|
|
Min_Loan_Eligibility : { type: DataTypes.INTEGER },
|
|
Max_with_deviation : { type: DataTypes.INTEGER },
|
|
is_active : { type: DataTypes.INTEGER },
|
|
createdAt : { type: DataTypes.DATE },
|
|
updatedAt : { type: DataTypes.DATE },
|
|
createdby : { type: DataTypes.INTEGER },
|
|
updatedby : { type: DataTypes.INTEGER }
|
|
|
|
},
|
|
{
|
|
sequelize,
|
|
tableName: 'loan_eligibility_norms4',
|
|
modelName: 'LoanEligibilityNorms4',
|
|
}
|
|
)
|
|
return LoanEligibilityNorms4
|
|
}
|