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

ответ при создании

This commit is contained in:
nikden13
2020-12-13 16:31:06 +07:00
parent 2e2942e42c
commit c93ffe8b0f
10 changed files with 63 additions and 17 deletions
+5
View File
@@ -24,4 +24,9 @@ class Teacher extends Model
return $this->hasMany(Timetable::class);
}
public function user()
{
return $this->belongsTo(User::class);
}
}