/
home
/
infinitibizsol
/
.trash
/
model.3
/
policy
/
File Upload :
llllll
Current File: /home/infinitibizsol/.trash/model.3/policy/generalLiabilityUnderwriting.js
import mongoose from "mongoose"; const GeneralLiabilityUnderwriting = new mongoose.Schema( { medical_facilities: { type: Boolean, required: false }, radioactive_exposure_code: { type: Boolean, required: false }, hazardous_material_involved: { type: Boolean, required: false }, operation_change: { type: Boolean, required: false }, loaned_machinery: { type: Boolean, required: false }, water_exposure: { type: Boolean, required: false }, parking_facilities_ownership: { type: Boolean, required: false }, parking_change_reason: { type: Boolean, required: false }, recreation_facilities_provided: { type: Boolean, required: false }, swimming_pool_premises: { type: Boolean, required: false }, sporting_social_events_sponsored: { type: Boolean, required: false }, structural_alteration_contemplated: { type: Boolean, required: false }, demolition_exposure_contemplated: { type: Boolean, required: false }, question: [ { title: { type: String, required: false }, response_number: { type: String, required: false }, high_impact: { type: Boolean, required: false }, response: { type: String, required: false }, }, ], policy_id: { type: mongoose.Schema.ObjectId, ref: "Policy", }, createdOn: { type: Date, default: Date.now }, modifiedOn: { type: Date, default: Date.now }, }, { toJSON: { virtuals: true }, toObject: { virtuals: true }, } ); export default mongoose.model( "GeneralLiabilityUnderwriting", GeneralLiabilityUnderwriting );
Copyright ©2k19 -
Hexid
|
Tex7ure