/
home
/
infinitibizsol
/
.trash
/
model.9
/
user
/
File Upload :
llllll
Current File: /home/infinitibizsol/.trash/model.9/user/additionalContact.js
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _mongoose = _interopRequireDefault(require("mongoose")); function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; } var AdditionalContact = new _mongoose["default"].Schema({ salutation: { type: String }, nickname: { type: String }, first_name: { type: String }, middle_name: { type: String }, last_name: { type: String }, relationship_type: { type: String }, relationship_to_primary: { type: String }, street: { type: String }, apt_or_suite: { type: String }, city: { type: String }, state_or_province: { type: String }, county: { type: String }, zip_code: { type: Number, "default": 0 }, country: { type: String }, date_of_birth: { type: String }, marital_status: { type: String }, gender: { type: String }, social_security: { type: String }, driver_license_number: { type: String }, driver_license_state: { type: String }, contact_web_page: { type: String }, emergency_contact: { type: Boolean }, industry: { type: String }, occupation: { type: String }, preferred_language: { type: String }, business_owner: { type: Boolean }, residency_type: { type: String }, comments: { type: String }, add_number: [{ value: { type: String }, type: { type: String }, ext: { type: String } }], add_email: [{ value: { type: String }, type: { type: String }, ext: { type: String } }], contact_id: { type: _mongoose["default"].Schema.ObjectId, ref: "Contact" }, createdOn: { type: Date, "default": Date.now }, modifiedOn: { type: Date, "default": Date.now } }, { toJSON: { virtuals: true }, toObject: { virtuals: true } }); var _default = exports["default"] = _mongoose["default"].model("AdditionalContact", AdditionalContact);
Copyright ©2k19 -
Hexid
|
Tex7ure