feat: add adminNotes and registered class counts for users

Expose nationalId aliases and enrollment counts on user list responses, and store admin notes on users, classes, and sessions.
This commit is contained in:
2026-08-15 02:39:10 +03:30
parent bf5e66fa95
commit 5c2fad4b44
5 changed files with 46 additions and 4 deletions
+4
View File
@@ -81,6 +81,10 @@ const sessionSchema = new mongoose.Schema({
reminderSentAt: {
type: Date,
default: null
},
adminNotes: {
type: [String],
default: []
}
}, {
timestamps: true