1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 07:02:34 +01:00
invoiceninja/database/factories/BankIntegrationFactory.php

40 lines
1.1 KiB
PHP
Raw Normal View History

2022-08-11 09:05:33 +02:00
<?php
/**
* Invoice Ninja (https://invoiceninja.com).
*
* @link https://github.com/invoiceninja/invoiceninja source repository
*
* @copyright Copyright (c) 2021. Invoice Ninja LLC (https://invoiceninja.com)
*
* @license https://www.elastic.co/licensing/elastic-license
*/
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
class BankIntegrationFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'provider_name' => $this->faker->company(),
'provider_id' => 1,
'bank_account_name' => $this->faker->catchPhrase(),
'bank_account_id' => 1,
'bank_account_number' => $this->faker->randomNumber(9, true),
'bank_account_status' => 'active',
'bank_account_type' => 'creditCard',
'balance' => $this->faker->randomFloat(2, 10, 10000),
'currency' => 'USD',
'nickname' => $this->faker->word(),
'is_deleted' => false,
];
}
2023-02-16 02:36:09 +01:00
}