<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Product>
 */
class ProductFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition(): array
    {
        return [
            'name' => fake()->name(),
            'category_id' => 1,
            'brand_id' => 1,
            'slug' => fake()->slug(),
            'rating' => fake()->numberBetween(1, 5),
            'about' => fake()->sentence(),
            'description' => fake()->paragraph(),
            'care_instruction' => fake()->paragraph()
        ];
    }
}
