<?php

namespace App\Domain\Financial\Events;

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

class CashSessionClosed implements ShouldDispatchAfterCommit
{
    use Dispatchable, SerializesModels;

    public function __construct(
        public CashSession $cashSession,
        public User $actor,
    ) {}
}
