Exam Table/Model/Controller

This commit is contained in:
Your Name
2021-08-04 14:01:21 +02:00
parent 38efe1af1b
commit 42e06d1005
18 changed files with 278 additions and 0 deletions
+4
View File
@@ -31,6 +31,10 @@ class ExamTyperatingQuestion extends Model
'text' => 'required',
];
public $hasMany = [
'exam_answers' => 'GermanAirlinesVa\Schooling\Models\ExamTyperatingAnswer',
];
public $belongsTo = [
'typerating' => 'GermanAirlinesVa\Schooling\Models\Typerating',
];