<?php

namespace Database\Factories;

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

class RawMaterialPriceFactory extends Factory
{
    public function definition(): array
    {
        return [
            'raw_material_id' => RawMaterial::factory(),
            'variant' => fake()->words(2, true),
            'price' => fake()->numberBetween(1000, 500000),
            'stock' => fake()->numberBetween(0, 1000),
        ];
    }
}
