hasOne(SchoolClass::class, 'classroom_teacher'); } public function timetables() { return $this->hasMany(Timetable::class); } }