<?php

namespace App\Events;

use App\Models\LeaveApplication;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;

class LeaveStatusUpdatedEvent
{
    use Dispatchable, SerializesModels;

    public function __construct(
        public LeaveApplication $leaveApplication,
        public string $status,
        public ?string $notes = null
    ) {}
}
