update api ticket type

This commit is contained in:
Wian Drs
2026-06-25 17:11:48 +07:00
parent ad472a9880
commit af1c98b38b
29 changed files with 1097 additions and 34 deletions
@@ -0,0 +1,55 @@
<?php
namespace App\Http\Requests\Audit;
use Illuminate\Contracts\Validation\ValidationRule;
use Illuminate\Foundation\Http\FormRequest;
class AuditLogFilterRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*/
public function authorize(): bool
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array<string, ValidationRule|array<mixed>|string>
*/
public function rules(): array
{
return [
'module' => [
'nullable',
'string'
],
'action' => [
'nullable',
'string'
],
'user_id' => [
'nullable',
'integer'
],
'tenant_id' => [
'nullable',
'integer'
],
'per_page' => [
'nullable',
'integer',
'min:1',
'max:100'
]
];
}
}