forked from CSI-KJSCE/BOS-React-
final changes
This commit is contained in:
8
backend/models/DepartmentEmail.js
Normal file
8
backend/models/DepartmentEmail.js
Normal file
@@ -0,0 +1,8 @@
|
||||
const mongoose = require("mongoose");
|
||||
|
||||
const DepartmentEmailSchema = new mongoose.Schema({
|
||||
department: String,
|
||||
emails: [String]
|
||||
});
|
||||
|
||||
module.exports = mongoose.model("DepartmentEmail", DepartmentEmailSchema);
|
||||
Reference in New Issue
Block a user