26 lines
692 B
PHP
26 lines
692 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests\admin\Catalog\Direction;
|
|
|
|
use Illuminate\Foundation\Http\FormRequest;
|
|
|
|
class UpdateEntranceExaminationRequest extends FormRequest
|
|
{
|
|
public function authorize(): bool
|
|
{
|
|
return true;
|
|
}
|
|
|
|
public function rules(): array
|
|
{
|
|
return [
|
|
'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',
|
|
];
|
|
}
|
|
}
|