<?php

declare(strict_types=1);

namespace App\Events\QzTray;

use App\Models\QzCertificate;
use App\Models\User;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;

class CertificateGenerated
{
    use Dispatchable, SerializesModels;

    /**
     * Create a new event instance.
     */
    public function __construct(
        public QzCertificate $certificate,
        public ?User $user,
        public ?string $ipAddress
    ) {}
}
