<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\DeliverableFile>
 */
class DeliverableFileFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition()
    {
        return [
            'url' => $this->faker->imageUrl,
            'milestone_id' => $this->faker->numberBetween(1, 5),
            'type' => $this->faker->randomElement(['file','image','link']),
        ];
    }
}
