const mongoose = require("mongoose");

const PortfolioSchema = new mongoose.Schema({
    title: {
        type: String,
        required: true,
        trim: true
    },
    description: {
        type: String,
        required: true,
        trim: true
    },
    image: {
        type: String,
        required: true
    }
},{ timestamps: true });

module.exports = mongoose.model("Portfolio", PortfolioSchema);
