text: const mongoose = require("mongoose");
  
  // Create Schema
  const UserSchema = new mongoose.Schema({
    firstName: {
      type: String,
      required: false,
    },
    lastName: {
      type: String,
      required: false,
    },
    email: {
      type: String,
      required: true,
    },
    hash: {
      type: String,
      required: true,
    },
    salt: {
      type: String,
      required: true,
    },
    createdOn: {
      type: Date,
      default: Date.now,
    },
  });
  
  const User = mongoose.model("users", UserSchema);
  
  module.exports = User;
  