const mongoose = require("mongoose")

const User_schema = new mongoose.Schema({
    names: { type: String, required: true },
    email: { type: String, required: true },
    password: { type: String, required: true },
    role: { type: String, default: "user" },
    created_At: { type: Date, default: Date.now },
})

module.exports = mongoose.model("User", User_schema)