<?php

declare(strict_types=1);

namespace App\Domain\Replication\Events;

use App\Domain\Replication\Models\ReplicationSetup;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;

class ReplicationLagDetected
{
    use Dispatchable, SerializesModels;

    public function __construct(
        public readonly ReplicationSetup $setup,
        public readonly array $slaveData,
    ) {}
}
