24 lines
492 B
PHP
24 lines
492 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\Cutting;
|
|
use App\Models\CuttingMaterialCombination;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
/**
|
|
* @extends Factory<CuttingMaterialCombination>
|
|
*/
|
|
class CuttingMaterialCombinationFactory extends Factory
|
|
{
|
|
protected $model = CuttingMaterialCombination::class;
|
|
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'cutting_id' => Cutting::factory(),
|
|
'user_id' => null,
|
|
];
|
|
}
|
|
}
|