<?php

namespace App\Domain\Financial\Events;

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

class PaymentReceived implements ShouldDispatchAfterCommit
{
    use Dispatchable, SerializesModels;

    public function __construct(
        public Payment $payment,
        public User $actor,
    ) {}
}
