Sindbad~EG File Manager
let mongoose;_a9b.x([["default",()=>_a9b.o]]);_a9b.w("mongoose",[["default",["mongoose"],function(v){mongoose=v}]]);
const AdditionalContact = new mongoose.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.Schema.ObjectId,
ref: "Contact",
},
createdOn: { type: Date, default: Date.now },
modifiedOn: { type: Date, default: Date.now },
},
{
toJSON: { virtuals: true },
toObject: { virtuals: true },
}
);
_a9b.d(mongoose.model("AdditionalContact", AdditionalContact));
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists