31 lines
932 B
JavaScript
31 lines
932 B
JavaScript
'use strict'
|
|
const { Model } = require('sequelize')
|
|
module.exports = (sequelize, DataTypes) => {
|
|
class PropertyOwnershipIncomeConsidered extends Model {
|
|
|
|
}
|
|
PropertyOwnershipIncomeConsidered.init(
|
|
{
|
|
loan_no_id: { type: DataTypes.INTEGER },
|
|
losid: { type: DataTypes.STRING },
|
|
applicant_id: { type: DataTypes.INTEGER },
|
|
name_of_the_loan_applicants: { type: DataTypes.STRING },
|
|
applicant_type: { type: DataTypes.STRING },
|
|
income_considered: { type: DataTypes.STRING },
|
|
property_owner: { type: DataTypes.STRING },
|
|
is_active : { type: DataTypes.INTEGER },
|
|
createdby: { type: DataTypes.INTEGER },
|
|
updatedby: { type: DataTypes.INTEGER },
|
|
},
|
|
{
|
|
sequelize,
|
|
tableName: 'property_ownership_income_considered',
|
|
modelName: 'PropertyOwnershipIncomeConsidered',
|
|
}
|
|
)
|
|
|
|
|
|
|
|
return PropertyOwnershipIncomeConsidered
|
|
}
|