1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 13:42:49 +01:00
invoiceninja/database/factories/PaymentFactory.php

16 lines
357 B
PHP
Raw Normal View History

2019-05-03 09:57:55 +02:00
<?php
use App\DataMapper\ClientSettings;
use App\DataMapper\CompanySettings;
use Faker\Generator as Faker;
$factory->define(App\Models\Payment::class, function (Faker $faker) {
return [
2019-05-03 10:28:48 +02:00
'is_deleted' => false,
2019-05-03 09:57:55 +02:00
'amount' => $faker->numberBetween(1,10),
'payment_date' => $faker->date(),
'transaction_reference' => $faker->text(10),
];
});