mirror of
https://github.com/robonen/education-project.git
synced 2026-03-20 10:54:31 +00:00
index метод
This commit is contained in:
@@ -13,6 +13,11 @@ class Timetable extends Model
|
||||
'updated_at',
|
||||
];
|
||||
|
||||
protected $hidden = [
|
||||
'created_at',
|
||||
'updated_at',
|
||||
];
|
||||
|
||||
public function teacher()
|
||||
{
|
||||
return $this->belongsTo(Teacher::class);
|
||||
|
||||
Reference in New Issue
Block a user