RecurringSession
Represents a recurring session template
Properties
createdAt
createdAt: Date;
Timestamp when created
dayOfWeek?
optional dayOfWeek: number;
Day of week for weekly recurrence (0-6, Sunday-Saturday)
duration
duration: number;
Duration of each session in minutes
endDate?
optional endDate: Date;
End date of the recurring series (null for ongoing)
exceptions
exceptions: Date[];
Specific dates to skip
frequency
frequency: RecurrenceType;
Recurrence frequency
id
id: string;
Unique identifier for the recurring session
interval
interval: number;
Interval between sessions (e.g., every 2 weeks)
isActive
isActive: boolean;
Whether the recurring session is active
skipHolidays
skipHolidays: boolean;
Whether to skip sessions on holidays
startDate
startDate: Date;
Start date of the recurring series
studentId
studentId: string;
ID of the student
timeSlot
timeSlot: string;
Time slot in "HH:mm" format
tutorId
tutorId: string;
ID of the tutor
updatedAt
updatedAt: Date;
Timestamp when last updated