<?php

namespace Database\Factories;

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

class CuttingMaterialFactory extends Factory
{
    public function definition(): array
    {
        return [
            'user_id' => User::factory(),
            'cutting_id' => Cutting::factory(),
            'raw_material_price_id' => RawMaterialPrice::factory(),
            'material_usage' => fake()->numberBetween(1, 100),
            'material_result' => fake()->numberBetween(0, 100),
        ];
    }
}
