<?php

namespace App\Domain\POS\Events;

use App\Domain\POS\Models\POSTransaction;
use App\Models\User;
use Illuminate\Contracts\Events\ShouldDispatchAfterCommit;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;

class POSTransactionCompleted implements ShouldDispatchAfterCommit
{
    use Dispatchable, SerializesModels;

    public function __construct(
        public POSTransaction $transaction,
        public User $actor,
    ) {}
}
