Files
Investidor-V2/database/factories/ProjectFactory.php
nala 250ac35fd1
tests / ci (push) Canceled after 0s
first commit
2026-09-28 10:01:09 +02:00

28 lines
693 B
PHP

<?php
namespace Database\Factories;
use App\Models\Project;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;
/** @extends Factory<Project> */
class ProjectFactory extends Factory
{
protected $model = Project::class;
public function definition(): array
{
return [
'source_system' => 'example',
'external_id' => (string) Str::uuid(),
'data_classification' => 'internal',
'code' => 'EXAMPLE-'.Str::uuid(),
'name' => 'Projecto fictício de teste',
'status' => 'draft',
'budget_amount' => '1000.00',
'budget_currency' => 'MZN',
];
}
}