academicYear logic

This commit is contained in:
amNobodyyy
2025-01-27 23:34:51 +05:30
parent 805d866190
commit 4466b33dff
9 changed files with 138 additions and 88 deletions

View File

@@ -8,7 +8,8 @@ const AppointmentSchema = new mongoose.Schema({
courseId: { type: String, required: true },
courseName: { type: String, required: true },
task: { type: String, required: true },
examPeriod: { type: String, required: true }, // New field for exam period
examPeriod: { type: String, required: true },
academicYear: {type: String, required: true},
});
module.exports = mongoose.model("Appointment", AppointmentSchema);