changes 0328092025

This commit is contained in:
Simon Pocrnjič
2025-09-28 22:36:47 +02:00
parent b40ee9dcde
commit 7e8e0a479b
61 changed files with 4306 additions and 654 deletions
+8 -1
View File
@@ -2,6 +2,8 @@
namespace Database\Factories;
use App\Models\ClientCase;
use App\Models\ContractType;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
@@ -17,7 +19,12 @@ class ContractFactory extends Factory
public function definition(): array
{
return [
//
'reference' => $this->faker->optional()->bothify('REF-####'),
'start_date' => $this->faker->date(),
'end_date' => $this->faker->optional()->date(),
'client_case_id' => ClientCase::factory(),
'type_id' => ContractType::factory(),
'description' => $this->faker->optional()->sentence(),
];
}
}