singleloginsystem/app/Data/Role/CreateRoleData.php
= cd29191c7b Feat: add role priority management
- Added `priority` column to `roles` table with migration and model updates.
- Introduced priority management methods in `RoleService` and validation logic for updates.
- Enhanced access-manager UI to display and edit role priorities via a modal.
- Updated related data classes and views to support and handle the new priority field.
2026-05-25 06:35:21 +00:00

16 lines
234 B
PHP

<?php
declare(strict_types=1);
namespace App\Data\Role;
use Spatie\LaravelData\Data;
final class CreateRoleData extends Data
{
public function __construct(
public string $name,
public int $priority,
) {}
}