2019-05-03 09:57:55 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use App\DataMapper\ClientSettings;
|
|
|
|
use App\DataMapper\CompanySettings;
|
2019-08-19 08:50:33 +02:00
|
|
|
use App\Models\Payment;
|
2019-05-03 09:57:55 +02:00
|
|
|
use Faker\Generator as Faker;
|
|
|
|
|
|
|
|
$factory->define(App\Models\Payment::class, function (Faker $faker) {
|
|
|
|
return [
|
2020-03-21 06:37:30 +01:00
|
|
|
'is_deleted' => false,
|
|
|
|
'amount' => $faker->numberBetween(1, 10),
|
|
|
|
'date' => $faker->date(),
|
|
|
|
'transaction_reference' => $faker->text(10),
|
|
|
|
'type_id' => Payment::TYPE_CREDIT_CARD,
|
2020-09-06 11:38:10 +02:00
|
|
|
'status_id' => Payment::STATUS_COMPLETED,
|
2019-05-03 09:57:55 +02:00
|
|
|
];
|
|
|
|
});
|