<?php

namespace App\Events;

use App\Models\Election;
use App\Models\ElectionCandidate;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;

class CandidateRejected
{
    use Dispatchable, InteractsWithSockets, SerializesModels;

    public function __construct(
        public ElectionCandidate $candidate,
        public Election $election,
    ) {}
}
