text: const mongoose = require("mongoose");
  
  const clientSchema = mongoose.Schema({
      _id : mongoose.Schema.Types.ObjectId,
      name: String,
      password: String,
      correo: String,
      login: String,
      admin: Boolean,
      pedidos: [{type: mongoose.Schema.ObjectId,ref: "Pedido", required: false}]
  });
  
  module.exports = mongoose.model("Client", clientSchema);