<?php

namespace App\Domain\Attendance\Events;

use App\Domain\Attendance\Models\AttendanceRecord;
use App\Models\User;
use Illuminate\Contracts\Events\ShouldDispatchAfterCommit;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;

class AttendanceMarked implements ShouldDispatchAfterCommit
{
    use Dispatchable, SerializesModels;

    public function __construct(
        public AttendanceRecord $record,
        public User $actor,
    ) {}
}
