<?php

declare(strict_types=1);

namespace Builder\Core\Foundation\Events;

use Builder\Core\Foundation\Contracts\BuilderAccessible;
use Builder\Core\Foundation\Resources\ResourceDefinition;
use Illuminate\Database\Eloquent\Model;

final class ResourceRecordCreated
{
    public function __construct(
        public readonly ResourceDefinition $definition,
        public readonly Model $record,
        public readonly BuilderAccessible $user,
    ) {}
}
