32 lines
1.0 KiB
JavaScript
32 lines
1.0 KiB
JavaScript
'use strict'
|
|
const { Model } = require('sequelize')
|
|
module.exports = (sequelize, DataTypes) => {
|
|
class Covid19Questions extends Model {
|
|
|
|
}
|
|
Covid19Questions.init(
|
|
{
|
|
pd_id: { type: DataTypes.INTEGER },
|
|
business_impacted_by_covid19: { type: DataTypes.STRING },
|
|
business_impacted_by_covid19_Yes: { type: DataTypes.STRING },
|
|
business_impacted_by_covid19_No: { type: DataTypes.STRING },
|
|
avail_loan_moratorium_facility: { type: DataTypes.STRING },
|
|
avail_any_loan: { type: DataTypes.STRING },
|
|
avail_any_loan_Yes: { type: DataTypes.STRING },
|
|
sales_or_revenue_amt: { type: DataTypes.STRING },
|
|
mentioned_turover_validated: { type: DataTypes.STRING },
|
|
mentioned_turover_validated_Yes: { type: DataTypes.STRING },
|
|
createdby: { type: DataTypes.INTEGER },
|
|
updatedby: { type: DataTypes.INTEGER }
|
|
|
|
},
|
|
{
|
|
sequelize,
|
|
tableName: 'credit_covid_19_questions',
|
|
modelName: 'Covid19Questions',
|
|
}
|
|
)
|
|
|
|
|
|
return Covid19Questions
|
|
} |