mirror of
https://github.com/robonen/education-project.git
synced 2026-03-20 02:44:31 +00:00
19 lines
307 B
PHP
19 lines
307 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests;
|
|
|
|
class StudentRequest extends ApiFormRequest
|
|
{
|
|
/**
|
|
* Get the validation rules that apply to the request.
|
|
*
|
|
* @return array
|
|
*/
|
|
public function rules()
|
|
{
|
|
return [
|
|
'class_id' => 'required|integer|gt:0',
|
|
];
|
|
}
|
|
}
|