<?php

namespace App\Events\Feedback;

use App\Models\Objects\NirObject;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;

class FeedbackFormSubmitted {
    use Dispatchable, InteractsWithSockets, SerializesModels;

    public NirObject $object;
    public string $mailto;

    public function __construct(NirObject $object, string $mailto) {
        $this->object = $object;
        $this->mailto = $mailto;
    }
}
