mirror of
https://github.com/nihonbuzz/nihonbuzz-academy.git
synced 2026-01-27 02:41:58 +07:00
feat: implement Phase 7 (Course Player v2, Furigana, XP System, Integrated Vocab)
This commit is contained in:
@@ -23,4 +23,9 @@ class Lesson extends Model
|
||||
{
|
||||
return $this->belongsTo(Module::class);
|
||||
}
|
||||
|
||||
public function vocabularies()
|
||||
{
|
||||
return $this->belongsToMany(Vocabulary::class, 'lesson_vocabulary');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user