Exam Table/Model/Controller
This commit is contained in:
@@ -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',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user