/
home
/
infinitibizsol
/
.trash
/
model.3
/
policy
/
File Upload :
llllll
Current File: /home/infinitibizsol/.trash/model.3/policy/policyAttachments.js
import mongoose from "mongoose"; const PolicyAttachments = new mongoose.Schema( { attachment_type: { type: String, required: false }, attachment_description: { type: String, required: false }, responsibility: { type: String, required: false }, additional_description: { 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("PolicyAttachments", PolicyAttachments);
Copyright ©2k19 -
Hexid
|
Tex7ure