"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ContactUs = void 0;
const mongoose_1 = require("mongoose");
const ContactUsSchema = new mongoose_1.Schema({
    user: {
        type: mongoose_1.Types.ObjectId,
        ref: 'User',
    },
    name: {
        type: String,
        required: true
    },
    email: {
        type: String,
        required: true
    },
    phone: String,
    message: String
}, { versionKey: false, timestamps: true });
exports.ContactUs = (0, mongoose_1.model)('ContactUs', ContactUsSchema, 'contact-us');
