final changes
This commit is contained in:
16
backend/models/Meeting.js
Normal file
16
backend/models/Meeting.js
Normal file
@@ -0,0 +1,16 @@
|
||||
const mongoose = require("mongoose");
|
||||
|
||||
const meetingSchema = new mongoose.Schema({
|
||||
program: String,
|
||||
department: String,
|
||||
subject: String,
|
||||
body: String,
|
||||
agenda: [String],
|
||||
date: String,
|
||||
startTime: String,
|
||||
endTime: String,
|
||||
recipients: [String],
|
||||
attachments: [{ filename: String, path: String }],
|
||||
});
|
||||
|
||||
module.exports = mongoose.model("Meeting", meetingSchema);
|
||||
Reference in New Issue
Block a user