/
home
/
infinitibizsol
/
.trash
/
model
/
File Upload :
llllll
Current File: /home/infinitibizsol/.trash/model/personalInfo.js
import mongoose from "mongoose"; const PersonalInformation = new mongoose.Schema({ salutation: { type: String, default: "" }, first_name: { type: String, default: "" }, middle_name: { type: String, default: "" }, last_name: { type: String, default: "" }, nickname: { type: String, default: "" }, date_of_birth: { type: String, default: "" }, marital_status: { type: String, default: "" }, gender: { type: String, default: "" }, social_security: { type: String, default: "" }, preferred_language: { type: String, default: "" }, residency_type: { type: String, default: "" }, business_owner: { type: String, default: "" }, industry: { type: String, default: "" }, occupation: { type: String, default: "" }, driver_license_number: { type: String, default: "" }, driver_license_state: { type: String, default: "" }, contact_id: { type: mongoose.Schema.ObjectId, ref: "Contact", }, user_id: { type: mongoose.Schema.ObjectId, ref: "User", }, createdOn: { type: Date, default: Date.now }, modifiedOn: { type: Date, default: Date.now }, }); export default mongoose.model("PersonalInformation", PersonalInformation);
Copyright ©2k19 -
Hexid
|
Tex7ure