'array', 'score' => 'decimal:2', 'status' => 'integer', ]; } public function template(): BelongsTo { return $this->belongsTo(QuestionnaireTemplate::class, 'questionnaire_template_id'); } public function customer(): BelongsTo { return $this->belongsTo(Customer::class); } }