= c680c1ae6e Feat: implement role and app management
- Added services (`RoleService`, `AppRoleService`, `AppsPermissionService`) to handle role creation, app assignments, and permissions.
- Introduced new Livewire forms for creating roles and assigning apps (`CreateRoleForm`, `AssignAppToRoleForm`).
- Built dynamic Blade views for role and app management, including modals and reusable components.
- Removed outdated `fluxui-development` skill documentation.
2026-05-19 11:13:35 +00:00

19 lines
393 B
PHP

<?php
declare(strict_types=1);
namespace App\Data\Role;
use Spatie\LaravelData\Attributes\DataCollectionOf;
use Spatie\LaravelData\{Data, DataCollection};
final class RoleData extends Data
{
public function __construct(
public int $id,
public string $name,
#[DataCollectionOf(class: RoleAppData::class), ]
public ?DataCollection $apps = null
) {}
}