<?php

namespace App\Events;

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

class ApplicationDecisionMade
{
    use Dispatchable, SerializesModels;

    /**
     * Create a new event instance.
     */
    public function __construct(
        public AdoptionApplication $application,
        public string $decision,
        public ?string $notes = null,
        public bool $sendEmail = true,
        public ?string $emailContent = null
    ) {}
}
