Sindbad~EG File Manager

Current Path : /home/infinitibizsol/.trash/model.3/contact/
Upload File :
Current File : /home/infinitibizsol/.trash/model.3/contact/expireDates.js

import mongoose from "mongoose";

const ExpireDates = new mongoose.Schema(
  {
    x_date: { type: String, required: false },
    line_of_business: { type: String, required: false },
    expiration_premium: { type: String, required: false },
    term: { type: String, required: false },
    related_policy: { type: String, required: false },
    x_date_description: { type: String, required: false },
    contact_id: {
      type: mongoose.Schema.ObjectId,
      ref: "Contact",
    },
    deleted: {
      type: Boolean,
      default: false,
    },

    createdOn: { type: Date, default: Date.now },
    modifiedOn: { type: Date, default: Date.now },
  },
  {
    toJSON: { virtuals: true },
    toObject: { virtuals: true },
  }
);

export default mongoose.model("ExpireDates", ExpireDates);

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