*/ class ProjectCostLineFactory extends Factory { /** * @return array */ public function definition(): array { return [ 'cost_snapshot_id' => ProjectCostSnapshot::factory(), 'category' => ProjectCostLine::CATEGORY_FILAMENT, 'description' => 'PLA black', 'quantity' => '100.000', 'quantity_unit' => 'g', 'unit_rate' => '20.000000', 'waste_quantity' => '0.000', 'line_total' => '2.0000', ]; } }