update versionv2-v3for road observation

This commit is contained in:
2025-02-23 15:33:18 +03:30
parent eb68ed266a
commit 080f0e2212
5 changed files with 190 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<?php
namespace App\Http\Requests\V3\RoadObservation;
use Illuminate\Foundation\Http\FormRequest;
class VerifyBySupervisorRequest 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, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
*/
public function rules(): array
{return [
'verify' => ['required', 'in:1,2'],
'description' => ['nullable', 'string'],
];
}
}