*/ class BankAccountFactory extends Factory { /** * The name of the factory's corresponding model. */ protected $model = BankAccount::class; /** * Define the model's default state. * * @return array */ public function definition(): array { return [ 'company_id' => 1, 'type' => BankAccountType::Depository, 'number' => $this->faker->unique()->numerify(str_repeat('#', 12)), 'enabled' => false, ]; } }