<?php

namespace Database\Factories\Media;

use App\Models\Media\Picture;
use Illuminate\Database\Eloquent\Factories\Factory;

class PictureFactory extends Factory
{
    protected $model = Picture::class;

    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition(): array
    {
        return [
            'src' => $this->faker->imageUrl(1440, 860),
            'alt' => $this->faker->sentence(3),
            'category_id' => $this->faker->numberBetween(1, 10),
            'product_id' => $this->faker->numberBetween(1, 50),
            'banner_id' => $this->faker->numberBetween(1, 10)
        ];
    }
}
