'integer', 'sort_order' => 'integer', ]; } /** * Get the category that owns this question group. */ public function category(): BelongsTo { return $this->belongsTo(Category::class); } /** * Get all questions for this question group. */ public function questions(): HasMany { return $this->hasMany(Question::class); } }