<?php

namespace App\Domain\Financial\Events;

use App\Domain\Financial\Models\Wallet;
use App\Models\User;
use Illuminate\Contracts\Events\ShouldDispatchAfterCommit;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;

class WalletDeposited implements ShouldDispatchAfterCommit
{
    use Dispatchable, SerializesModels;

    public function __construct(
        public Wallet $wallet,
        public int $amount,
        public User $actor,
    ) {}
}
