morphTo('restrictable'); } /** * Get the role assigned to this entity permission. */ public function role(): BelongsTo { return $this->belongsTo(Role::class); } }