1
0
mirror of https://github.com/robonen/education-project.git synced 2026-03-20 10:54:31 +00:00

Merge branch 'task' into timetable

# Conflicts:
#	app/Http/Controllers/Users/StudentController.php
#	app/Models/Teacher.php
#	composer.lock
#	routes/api.php
This commit is contained in:
ashen-1-dev
2020-12-16 20:43:13 +07:00
24 changed files with 562 additions and 56 deletions

View File

@@ -0,0 +1,27 @@
<?php
namespace App\Http\Requests;
class TaskRequest extends ApiFormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'banktask_id' => 'required|exists:bank_tasks,id',
'deadline' => 'required'
];
}
}