'use strict' const { Model } = require('sequelize') module.exports = (sequelize, DataTypes) => { class CreditGeneralBusinessInformation extends Model { } CreditGeneralBusinessInformation.init( { pd_id: { type: DataTypes.INTEGER }, company_name: { type: DataTypes.STRING }, business_entity_type: { type: DataTypes.STRING }, select_business_activity_type: { type: DataTypes.STRING }, area_of_sale: { type: DataTypes.STRING }, seasonality: { type: DataTypes.STRING }, low_sale_month_reason: { type: DataTypes.STRING }, low_sale_month: { type: DataTypes.STRING }, common_remarks: { type: DataTypes.STRING }, createdby: { type: DataTypes.INTEGER }, updatedby: { type: DataTypes.INTEGER }, name_of_the_company: { type: DataTypes.STRING }, // new }, { sequelize, tableName: 'credit_general_business_information', modelName: 'CreditGeneralBusinessInformation', } ) return CreditGeneralBusinessInformation }