Sindbad~EG File Manager

Current Path : /home/infinitibizsol/.trash/model/
Upload File :
Current File : /home/infinitibizsol/.trash/model/employer.js

import mongoose from "mongoose";

const Employer = new mongoose.Schema({
  company: { type: String, required: false },
  title: { type: String, required: false },
  street: { type: String, required: false },
  apt_or_suite: { type: String, required: false },
  city: { type: String, required: false },
  state_or_province: { type: String, required: false },
  country: { type: String, required: false },
  zip_code: { type: String, required: false },
  employer_web_page: { type: String, required: false },
  industry: { type: String, required: false },
  occupation: { type: String, required: false },
  employed_from: { type: String, required: false },
  employed_to: { type: String, required: false },
  employee_first_name: { type: String, required: false },
  employee_last_name: { type: String, required: false },
  add_number: { value: { type: String }, type: { type: String } },
  add_email: { value: { type: String }, type: { type: String } },
  comments: { type: String, required: false },
  line_of_business: { type: String, required: false },
  expiration_premium: { type: String, required: false },
  term: { type: Array, 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 },
});

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

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