smc_cet_creditpd_backend/app/models/SizeAndGeographicalResearch.js
suseendhiran17 74a23df6bb susee
2022-04-29 10:25:08 +05:30

29 lines
871 B
JavaScript

'use strict'
const { Model } = require('sequelize')
module.exports = (sequelize, DataTypes) => {
class SizeAndGeographicalResearch extends Model {
}
SizeAndGeographicalResearch.init(
{
pd_id: { type: DataTypes.INTEGER },
aum_book: { type: DataTypes.STRING },
geographical_details: { type: DataTypes.STRING },
branches_employees: { type: DataTypes.STRING },
portfolio_concentration: { type: DataTypes.STRING },
business_competitors: { type: DataTypes.STRING },
estimated_market: { type: DataTypes.STRING },
createdby: { type: DataTypes.INTEGER },
updatedby: { type: DataTypes.INTEGER }
},
{
sequelize,
tableName: 'credit_size_and_geographical_reach',
modelName: 'SizeAndGeographicalResearch',
}
)
return SizeAndGeographicalResearch
}