@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use App\Models\Investor;
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
use Illuminate\Support\Str;
|
||||
|
||||
/** @extends Factory<Investor> */
|
||||
class InvestorFactory extends Factory
|
||||
{
|
||||
protected $model = Investor::class;
|
||||
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
'source_system' => 'example',
|
||||
'external_id' => (string) Str::uuid(),
|
||||
'data_classification' => 'internal',
|
||||
'legal_name' => 'Investidor fictício de teste',
|
||||
'investor_type' => 'institutional',
|
||||
'status' => 'prospect',
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user