text: const mongoose = require("mongoose");
  
  const Product = mongoose.Schema({
    name: {
      type: String,
      required: true,
    },
    price: {
      type: String,
      required: true,
    },
    category: {
      type: String,
      required: true,
    },
    quantity: {
      type: String,
      required: true,
    },
    replace: {
      type: String,
      required: true,
    },
    description: {
      type: String,
      required: true,
    },
    imageurl: {
      type: String,
      required: true,
    },
    imageurl1: {
      type: String,
      required: true,
    },
    createdat: {
      type: String,
      required: true,
    },
    updatedat: {
      type: String,
      required: true,
    },
  });
  
  module.exports = mongoose.model("Product", Product);
  