hasMany(Student::class); } public function tasks() { return $this->hasMany(StudentTask::class); } }