*/ class AccountFactory extends Factory { /** * Define the model's default state. * * @return array */ public function definition(): array { return [ 'reference' => $this->faker->uuid(), 'description' => $this->faker->sentence(4), 'type_id' => \App\Models\AccountType::factory(), 'active' => 1, 'initial_amount' => 0, 'balance_amount' => 0, ]; } }