singleloginsystem/app/Livewire/Forms/CreateRoleForm.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

17 lines
304 B
PHP

<?php
declare(strict_types=1);
namespace App\Livewire\Forms;
use Livewire\Attributes\Validate;
class CreateRoleForm extends AssignAppToRoleForm
{
#[Validate('required|string|max:255|min:3')]
public string $name = '';
#[Validate('required|integer|min:0')]
public int $priority = 0;
}