/
home
/
infinitibizsol
/
.trash
/
model.3
/
policy
/
File Upload :
llllll
Current File: /home/infinitibizsol/.trash/model.3/policy/policyForm.js
import mongoose from "mongoose"; const PolicyForm = new mongoose.Schema( { form_name: { type: String, required: false }, form_no: { type: String, required: false }, from_edition: { type: String, required: false }, form_iteration: { type: String, required: false }, form_state: { type: String, required: false }, form_info: { type: String, required: false }, copyright_owner: { type: String, required: false }, copyright_owner_code: { type: String, required: false }, form_references: { type: String, required: false }, remove_form: { type: String, required: false }, //conflict 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("PolicyForm", PolicyForm);
Copyright ©2k19 -
Hexid
|
Tex7ure