User availability logic

Hi all,

I would like to know the best way of creating an scheduling app for a school,

I have:

  • A data type called Availability with a date range field and a teacher field (Type User)
  • A data type called class with a date range field and a teacher field (Type User)

In order to create a class I have set 2 x Date/Time picker in order to create the date range (Start Date + End date)

And a dropdown menu with the available teachers for that time slot,

What would be the best way to proceed in order to create several classes inside a defined availability for a teacher?

Let´s say, a teacher has an availability from 8am to 12am, and I want to include for different classes (with different durations)

Thank you!

This topic was automatically closed after 70 days. New replies are no longer allowed.