belongsTo(Role::class); } public function courses(){ return $this->hasMany(Course::class); } }