29 lines
905 B
JavaScript
29 lines
905 B
JavaScript
'use strict'
|
|
const { Model } = require('sequelize')
|
|
module.exports = (sequelize, DataTypes) => {
|
|
class LoanEligibilityNorms2 extends Model {
|
|
|
|
}
|
|
LoanEligibilityNorms2.init(
|
|
{
|
|
policy_parameter_master_id : { type: DataTypes.INTEGER },
|
|
'Vintage_(Yrs)' : { type: DataTypes.STRING },
|
|
'Doctors_(%)' : { type: DataTypes.STRING },
|
|
'Other_SEP_(%)' : { type: DataTypes.STRING },
|
|
'Vintage_(Yrs)_for_Bracket_calculation' : { type: DataTypes.STRING },
|
|
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_norms2',
|
|
modelName: 'LoanEligibilityNorms2',
|
|
}
|
|
)
|
|
return LoanEligibilityNorms2
|
|
}
|