Add initial Code
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled

This commit is contained in:
2025-10-20 08:57:51 +02:00
parent d204098d8e
commit 8703e5ff40
449 changed files with 34565 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
class LineItemFactory extends Factory
{
public function definition(): array
{
return [
'position' => $this->faker->numberBetween(1, 10),
'title' => $this->faker->words(3, true),
'description' => $this->faker->sentence(),
'quantity' => $this->faker->numberBetween(1, 10),
'unit' => $this->faker->randomElement(['Stück', 'Stunden', 'Tage', 'pauschal']),
'price' => $this->faker->randomFloat(2, 10, 500),
];
}
}