const mongoose = require("mongoose");
const ProductSchema = new mongoose.Schema(
    { 
        name: {
            type: String
        }, 
        price: {
            type: Number,
            default:0
        }, 
        subcatagoryid: {
            type: String
        }, 
        subsubcatagoryid: {
            type: String
        },
        addedby: {
            type: String
        }, 
        image: {
            type: Array,
            default: "image"
        },
        options:{
            type:Object
        },
    }
);

module.exports = mongoose.model("Products", ProductSchema);
