inital commit

This commit is contained in:
2026-06-24 18:29:01 +06:00
commit f401802bf7
3918 changed files with 553085 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
<?php
namespace App\Http\Requests;
class PermissionCreateRequest extends BaseRequest
{
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
"employee_id" => "required",
"userRole" => "required",
];
}
public function messages()
{
return [
'employee_id' => 'Select an employee.',
'userRole' => 'Select permission.'
];
}
}