<?php

namespace App\Services\Forecasting;

use Carbon\CarbonInterface;

/**
 * The output of WeeklyForecastModel::predict().
 *
 * direction is derived from magnitudePence vs FLAT_THRESHOLD by the
 * model itself, so the harness never re-derives it.
 */
final readonly class WeeklyPrediction
{
    public function __construct(
        public CarbonInterface $targetMonday,
        public float $magnitudePence,
        public string $direction,
    ) {}
}
