= ca628fb009 feature: add role permission table for HR Manager
- Add TableHeader DTO
- Refactor Toggle component to have checked prop, as wire:model does not work
- add null collasing for php 8.5 strict compatibility in scope directive
- refactor card component so that actions stay on the right
- make button component scaled small on active and change color on hover
2026-05-11 07:17:03 +00:00

19 lines
328 B
PHP

<?php
declare(strict_types=1);
namespace App\Data\Ui\ManageRoles;
use Spatie\LaravelData\Data;
final class PermissionData extends Data
{
public function __construct(
public string $name,
public bool $view,
public bool $create,
public bool $update,
public bool $delete,
) {}
}