text: import mongoose from 'mongoose';
  
  /**
   * Schema de User modelado para o MongoDB
   */
  const UserSchema = new mongoose.Schema(
    {
      name: {
        type: String,
        required: true,
      },
      email: {
        type: String,
        required: true,
      },
      password_hash: {
        type: String,
        required: true,
      },
    },
    {
      timestamps: true,
    }
  );
  
  export default mongoose.model('User', UserSchema);
  