const { sequelize } = require('../config/database');

// Import models
const User = require('./User');
const Portfolio = require('./Portfolio');
const Service = require('./Service');
const Contact = require('./Contact');
const SiteSettings = require('./SiteSettings');
const Banner = require('./Banner');

// Define associations here if needed
// For example:
// Service.belongsToMany(Portfolio, { through: 'ServicePortfolio' });
// Portfolio.belongsToMany(Service, { through: 'ServicePortfolio' });

// Export models and sequelize instance
module.exports = {
  sequelize,
  User,
  Portfolio,
  Service,
  Contact,
  SiteSettings,
  Banner
};