create and fix

This commit is contained in:
2025-08-26 17:11:48 +03:30
parent 53e35d3783
commit cb8b9683a3
7 changed files with 121 additions and 82 deletions

View File

@@ -0,0 +1,30 @@
<?php
namespace App\Http\Requests\V3\Dashboard\Harim\PanjareVahed;
use Illuminate\Contracts\Validation\ValidationRule;
use Illuminate\Foundation\Http\FormRequest;
class GetAccessRouteRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*/
public function authorize(): bool
{
return false;
}
/**
* Get the validation rules that apply to the request.
*
* @return array<string, ValidationRule|array|string>
*/
public function rules(): array
{
return [
'panjarevahed_id'=> 'required|string',
'polygon' => 'required|string',
];
}
}