'use strict' const { Model } = require('sequelize') module.exports = (sequelize, DataTypes) => { class EmiTracking extends Model { } EmiTracking.init( { los_id: { type: DataTypes.STRING }, month_1: { type: DataTypes.DATE }, month_2: { type: DataTypes.DATE }, month_3: { type: DataTypes.DATE }, month_4: { type: DataTypes.DATE }, month_5: { type: DataTypes.DATE }, month_6: { type: DataTypes.DATE }, is_active: { type: DataTypes.INTEGER } }, { sequelize, tableName: 'emi_tracking_months', modelName: 'EmiTracking', } ) return EmiTracking }