mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-08 23:24:07 -06:00
23 lines
455 B
PHP
23 lines
455 B
PHP
<?php
|
|
use Carbon\Carbon;
|
|
use League\FactoryMuffin\Facade;
|
|
|
|
// TODO better factory.
|
|
|
|
Facade::define(
|
|
'RecurringTransaction',
|
|
[
|
|
|
|
'user_id' => 'factory|User',
|
|
'name' => 'string',
|
|
'match' => 'string',
|
|
'amount_max' => 100,
|
|
'amount_min' => 50,
|
|
'date' => new Carbon,
|
|
'active' => 'boolean',
|
|
'automatch' => 'boolean',
|
|
'repeat_freq' => 'monthly',
|
|
'skip' => 'boolean',
|
|
|
|
]
|
|
); |