<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;
use App\Models\ProductVariant;

class ProductVariantFactory extends Factory
{
    /**
     * The name of the factory's corresponding model.
     *
     * @var string
     */
    protected $model = ProductVariant::class;

    /**
     * Define the model's default state.
     */
    public function definition(): array
    {
        return [
            'producto_id' => fake()->word(),
            'color_id' => fake()->word(),
            'size_id' => fake()->word(),
            'stock' => fake()->numberBetween(-10000, 10000),
            'sku' => fake()->regexify('[A-Za-z0-9]{50}'),
        ];
    }
}
