<?php

namespace Lucent\Record\Event;

use Illuminate\Foundation\Events\Dispatchable;
use Lucent\Edge\Edge;
use Lucent\Record\Record;

class RecordCreated
{
    use Dispatchable;

    /**
     * @param Record $record
     * @param Edge[] $edges
     */
    public function __construct(
        public Record $record,
        public array $edges,
    )
    {
    }
}