add all controllers logic

This commit is contained in:
root
2026-03-11 17:53:15 -04:00
parent 3e6c577085
commit 2ef71cc92b
421 changed files with 12009 additions and 5211 deletions
@@ -0,0 +1,21 @@
<?php
namespace App\Http\Requests\Staff;
use App\Http\Requests\ApiFormRequest;
class StaffUpdateRequest extends ApiFormRequest
{
public function rules(): array
{
return [
'firstname' => ['nullable', 'string', 'max:100'],
'lastname' => ['nullable', 'string', 'max:100'],
'email' => ['nullable', 'email', 'max:150'],
'phone' => ['nullable', 'string', 'max:20'],
'role_name' => ['nullable', 'string', 'max:100'],
'school_year' => ['nullable', 'string', 'max:20'],
'status' => ['nullable', 'string', 'max:40'],
];
}
}