text: const mongoose = require("mongoose");
  const Schema = mongoose.Schema;
  
  const RoleSchema = new Schema(
    {
      name: {
        type: String,
        trim: true,
      },
    },
    { timestamps: true }
  );
  
  const Role = mongoose.models.Role || mongoose.model("Role", RoleSchema);
  
  exports.Role = Role;
  exports.RoleSchema = RoleSchema;
  