I have 3 tables: company <-> users <-> invoice.
company
users
invoice
A company hasMany users.
hasMany
A user belongsTo
belongsTo
You can also do this in the Course class, so when you use ->with('chapters'), it automatically loads the videos too:
public function chapters() { return $this->hasMany('Moubarmij\Models\Chapter')->with('videos'); }