applicant-site/app/Http/Requests/admin/Catalog/Direction/UpdateEntranceExaminationRe...

26 lines
692 B
PHP
Raw Normal View History

2024-02-17 11:30:32 +03:00
<?php
namespace App\Http\Requests\admin\Catalog\Direction;
use Illuminate\Foundation\Http\FormRequest;
class UpdateEntranceExaminationRequest extends FormRequest
{
public function authorize(): bool
{
2024-02-19 10:51:20 +03:00
return true;
2024-02-17 11:30:32 +03:00
}
public function rules(): array
{
return [
2024-02-19 10:51:20 +03:00
'direction_id' => 'required|numeric|int|max:1000',
'examination_type_id' => 'required|numeric|int|max:1000',
'subject_id' => 'required|numeric|int|max:1000',
'subject_type_id' => 'required|numeric|int|max:1000',
'scores' => 'required|numeric|int|max:1000',
'position' => 'required|numeric|int|max:1000',
2024-02-17 11:30:32 +03:00
];
}
}