const mongoose = require('mongoose');
const Schema = mongoose.Schema;
const UserSchema = new Schema({
    firstname: { type: String },
    familyname: { type: String },
    email: { type: String },
    phonenumber: { type: String },
},
    {
        timestamps: true,
    });
module.exports = mongoose.model('user', UserSchema, 'users');