mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Some experimental model tests.
This commit is contained in:
@@ -1,10 +1,16 @@
|
||||
<?php
|
||||
|
||||
|
||||
class AccountType extends Eloquent {
|
||||
class AccountType extends Eloquent
|
||||
{
|
||||
|
||||
public function accounts() {
|
||||
public static $factory
|
||||
= [
|
||||
'description' => 'string'
|
||||
];
|
||||
|
||||
public function accounts()
|
||||
{
|
||||
return $this->hasMany('Account');
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user