Sindbad~EG File Manager

Current Path : /home/infinitibizsol/.trash/node_modules.8/.cache/esm/
Upload File :
Current File : /home/infinitibizsol/.trash/node_modules.8/.cache/esm/45b9a5f5742cf765.js

let mongoose;_742‍.x([["default",()=>_742‍.o]]);_742‍.w("mongoose",[["default",["mongoose"],function(v){mongoose=v}]]);

const Notes = new mongoose.Schema(
  {
    title: { type: String, required: true },
    comments: { type: String, required: true },
    create_task: { type: Boolean, default: true },
    add_to_important_notes: { type: Boolean, default: false },
    contact_id: {
      type: mongoose.Schema.ObjectId,
      ref: "Contact",
    },
    created_by: {
      type: mongoose.Schema.ObjectId,
      ref: "User",
      required: true,
    },
    deleted: {
      type: Boolean,
      default: false,
    },
    createdOn: { type: Date, default: Date.now },
    modifiedOn: { type: Date, default: Date.now },
  },
  {
    toJSON: { virtuals: true },
    toObject: { virtuals: true },
  }
);

_742‍.d(mongoose.model("Notes", Notes));

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists