Files
backend/app/Http/Requests/V3/Dashboard/Harim/PanjareVahed/GetRejectRequest.php
2025-09-15 08:47:31 +03:30

30 lines
645 B
PHP

<?php
namespace App\Http\Requests\V3\Dashboard\Harim\PanjareVahed;
use Illuminate\Contracts\Validation\ValidationRule;
use Illuminate\Foundation\Http\FormRequest;
class GetRejectRequest 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>
*/
public function rules(): array
{
return [
'request_id' => 'required|exists:harims,panjare_vahed_id',
];
}
}