model with course and course schedule