'integer', 'question_id' => 'integer', ]; } /** * Get the session that owns this answer. */ public function session(): BelongsTo { return $this->belongsTo(Session::class); } /** * Get the question that this answer belongs to. */ public function question(): BelongsTo { return $this->belongsTo(Question::class); } }