<?php

namespace App\Campaigns;

readonly class PerformanceAdvice
{
    public function __construct(
        public PerformanceVerdict $status,
        public string $reason,
        public string $source,
        public ?string $confidence = null,
        public ?string $model = null,
        public ?string $lastError = null,
        public ?string $aiStatus = null,
        public array $nextActions = [],
        /** @var array{problem: string, flow: string, content: string, headline?: string, section?: string, cta?: string}|null */
        public ?array $landingSuggestion = null,
        /** @var array<string, mixed>|null */
        public ?array $review = null,
    ) {}
}
