text: const mongoose = require('mongoose');
  
  const { Schema, model } = mongoose;
  
  const commentSchema = new Schema({
      __v: { type: Number, select: false },
      content: { type: String, required: true },
      commentator: { type: Schema.Types.ObjectId, ref: 'User', required: true, select: false },
      questionId: { type: String, select: true },
      answerId: { type: String, select: true },
      rootCommentId: { type: String, select: true },
      replyTo: { type: Schema.Types.ObjectId, ref: 'User' }
  });
  
  module.exports = model('Comment', commentSchema);