mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 15:13:29 +01:00
40 lines
1.1 KiB
PHP
40 lines
1.1 KiB
PHP
<?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,
|
|
];
|
|
}
|
|
}
|