'use strict' const { Model } = require('sequelize') module.exports = (sequelize, DataTypes) => { class ProductInformation extends Model { } ProductInformation.init( { pd_id: { type: DataTypes.INTEGER }, equipment_list: { type: DataTypes.STRING }, tot_product_invoice_value: { type: DataTypes.INTEGER }, vendor_list: { type: DataTypes.STRING }, createdby: { type: DataTypes.INTEGER }, updatedby: { type: DataTypes.INTEGER } }, { sequelize, tableName: 'sales_product_information', modelName: 'ProductInformation', } ) return ProductInformation }