const mongoose = require('mongoose');

const Schema = mongoose.Schema;

const modelOtp = new Schema(
    {
        email: { type: String, required: true },
        otp: { type: String, required: true },
    },
    {
        timestamps: true,
    },
);

module.exports = mongoose.model('otp', modelOtp);
