text: const mongoose = require('mongoose');
  
  const adminSchema = mongoose.Schema({
      _id: mongoose.Schema.Types.ObjectId,
      name: { type: String, required: true },
      email: { type: String, required: true, unique: true, match: /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/ },
      password: { type: String, required: true }
  });
  
  module.exports = mongoose.model('Admin', adminSchema);