CrawlAlertSeverity::class, 'context' => 'array', 'is_resolved' => 'boolean', 'resolved_at' => 'datetime', ]; } public function run(): BelongsTo { return $this->belongsTo(CrawlRun::class, 'run_id'); } public function rule(): BelongsTo { return $this->belongsTo(CrawlRule::class, 'rule_id'); } }