// Models index file
// Import and export all models here

import Admin from "./Admin.js";
import Project from "./Project.js";

// Export all models
export default {
  Admin,
  Project,
};

// Example User model:
/*
import mongoose from 'mongoose';

const userSchema = new mongoose.Schema({
  name: {
    type: String,
    required: [true, 'Name is required'],
    trim: true,
  },
  email: {
    type: String,
    required: [true, 'Email is required'],
    unique: true,
    lowercase: true,
    trim: true,
    match: [/^\S+@\S+\.\S+$/, 'Please provide a valid email'],
  },
  password: {
    type: String,
    required: [true, 'Password is required'],
    minlength: [6, 'Password must be at least 6 characters'],
    select: false, // Don't return password by default
  },
}, {
  timestamps: true, // Adds createdAt and updatedAt
});

export default mongoose.model('User', userSchema);
*/
