<?php

namespace App\Events;

use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;

class PricesUpdatedEvent
{
    use Dispatchable, SerializesModels;

    public function __construct(
        /** Number of new price records inserted this poll */
        public readonly int $insertedCount,
        /** Whether this was a full metadata refresh */
        public readonly bool $fullRefresh,
    ) {}
}
