<?php

namespace Database\Factories;

use App\Models\Cutting;
use App\Models\CuttingMaterial;
use App\Models\RawMaterialPrice;
use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends Factory<CuttingMaterial>
 */
class CuttingMaterialFactory extends Factory
{
    public function definition(): array
    {
        return [
            'cutting_id' => Cutting::factory(),
            'raw_material_price_id' => RawMaterialPrice::factory(),
            'material_usage' => fake()->randomFloat(4, 1, 25),
        ];
    }
}
