<?php

namespace App\Modules\HR\Recruitment\Events;

use App\Modules\HR\Recruitment\Models\RecruitmentOfferLetter;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;

class RecruitmentOfferLetterStatusChanged
{
    use Dispatchable;
    use SerializesModels;

    public function __construct(
        public readonly RecruitmentOfferLetter $offerLetter,
        public readonly string $action,
        public readonly ?string $fromStatus,
        public readonly string $toStatus,
    ) {}
}
