<?php

namespace Ignite\Core\Events;

use Illuminate\Queue\SerializesModels;
use Ignite\Core\Contracts\Entities\Participant;

class ParticipantCreated
{
    use SerializesModels;

    /**
     * @var Participant
     */
    public $participant;

    /**
     * Create a new event instance.
     *
     * @param Participant $participant
     */
    public function __construct(Participant $participant)
    {
        $this->participant = $participant;
    }
}
