'integer', 'score' => 'integer', 'passed' => 'boolean', ]; } /** * Get the user that owns this screening. */ public function user(): BelongsTo { return $this->belongsTo(User::class); } /** * Get all answers for this screening. */ public function answers(): HasMany { return $this->hasMany(ScreeningAnswer::class); } /** * Get all sessions that reference this screening. */ public function sessions(): HasMany { return $this->hasMany(Session::class); } }