belongsToMany(Career::class); } public function students() { return $this->hasMany(Student::class); } }