import mongoose from "mongoose";

const userSchema=new mongoose.Schema({
    UserId:{type:String,required:true,unique:true},
    username:{type:String,required:true},
    email:{type:String,unique:true,required:true},
    password:{type:String,required:true}
})

export default mongoose.model("user",userSchema);