belongsTo(Submission::class); } public function item(): BelongsTo { return $this->belongsTo(ChecklistItem::class, 'checklist_item_id'); } public function numericValue(): ?float { return is_numeric($this->value) ? (float) $this->value : null; } }