<?php

namespace App\Core\Product\Events;

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

class AccountCreated
{
    use Dispatchable, SerializesModels;

    /**
     * Olayla ilgili veriler
     */
    public array $params;

    /**
     * İşlem sonucu
     */
    public mixed $result;

    /**
     * Oluşturucu
     *
     * @param  array  $params  İşlem parametreleri
     * @param  mixed  $result  İşlem sonucu
     */
    public function __construct(array $params, mixed $result)
    {
        $this->params = $params;
        $this->result = $result;
    }
}
