<?php

declare(strict_types=1);

namespace {{ tree.getFullNameSpaceOfFile(file, entity, action) }};

{% for dependency in dependencyzz %}
use {{ dependency }};{% endfor %}
use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends Factory<{{ helper.getClassName(helper.findFile('Model'), entity, action) }}>
 *
 * @method {{ helper.getClassName(helper.findFile('Model'), entity, action) }} CreateOne($Map = [])
 * @method {{ helper.getClassName(helper.findFile('Model'), entity, action) }} makeOne($Map = [])
 */
class {{ helper.getClassName(file, entity, action) }} extends Factory
{
    /**
     * The name of the factory's corresponding model.
     *
     * @var string
     */
    protected $model = {{ helper.getClassName(helper.findFile('Model'), entity, action) }}::class;

    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        static $Index = 0;
        $Index += 1;

        return [
{% for item in itemzz %}
            {{ item }},
{% endfor %}
        ];
    }
}
