Skip to content

Refine timetable model#346

Merged
ngjunsiang merged 5 commits intoweeklyfrom
feat/timetable-model
Feb 5, 2026
Merged

Refine timetable model#346
ngjunsiang merged 5 commits intoweeklyfrom
feat/timetable-model

Conversation

@sparsetable
Copy link

@sparsetable sparsetable commented Feb 5, 2026

As per recommendations in #326 and discussion from our previous meeting.

  1. Use InternalModel and integer id for WeekDay, TimeSlot and VenueTimeSlot.
  2. LessonGroup, TimetableEntry and Timetable CampusIDs have been labelled appropriately for the object they tag. TimetableEntry changed to a 16-character UUID.
  3. Venue --> TimetableVenue. Timetable --> TimetableEntry.
  4. Timetable model added containing start date, end date and filename metadata. Usage of filename to identify allocation has been updated to referencing timetable.id

Resource also updated to satisfy typechecker.

@sparsetable sparsetable self-assigned this Feb 5, 2026
Copy link
Contributor

@ngjunsiang ngjunsiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ngjunsiang ngjunsiang merged commit 25356fd into weekly Feb 5, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants