<?php

namespace Database\Factories;

use App\Models\ProductConfigOptionGroup;
use Illuminate\Database\Eloquent\Factories\Factory;

class ProductConfigOptionGroupFactory extends Factory
{
    protected $model = ProductConfigOptionGroup::class;

    public function definition(): array
    {
        return [
            'name' => $this->faker->words(2, true),
            'description' => $this->faker->sentence(),
            'hidden' => $this->faker->boolean(20), // %20 olasılıkla gizli
            'order' => $this->faker->numberBetween(1, 10),
        ];
    }
}
