1
0
mirror of https://github.com/robonen/education-project.git synced 2026-06-20 01:55:17 +00:00

index метод

This commit is contained in:
nikden13
2020-12-09 13:42:28 +07:00
parent 3c93886fef
commit 1765cf44d0
3 changed files with 29 additions and 3 deletions
+5
View File
@@ -13,6 +13,11 @@ class Subject extends Model
'name',
];
protected $hidden = [
'created_at',
'updated_at',
];
public function banktasks()
{
return $this->hasMany(BankTask::class);