<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Category>
 */
class CategoryFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition(): array
    {
        return [
            'category_id' => $this->faker->randomNumber(3, true),
            'category_name' => $this->faker->words(3, true),
            'subcategory_id' => $this->faker->randomNumber(4, true),
            'subcategory_name' => $this->faker->words(3, true)
        ];
    }
}
