mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-29 02:11:12 -06:00
29 lines
821 B
PHP
29 lines
821 B
PHP
<?php
|
|
|
|
|
|
/**
|
|
* AccountType
|
|
*
|
|
* @property integer $id
|
|
* @property \Carbon\Carbon $created_at
|
|
* @property \Carbon\Carbon $updated_at
|
|
* @property string $description
|
|
* @property-read \Illuminate\Database\Eloquent\Collection|\Account[] $accounts
|
|
* @method static \Illuminate\Database\Query\Builder|\AccountType whereId($value)
|
|
* @method static \Illuminate\Database\Query\Builder|\AccountType whereCreatedAt($value)
|
|
* @method static \Illuminate\Database\Query\Builder|\AccountType whereUpdatedAt($value)
|
|
* @method static \Illuminate\Database\Query\Builder|\AccountType whereDescription($value)
|
|
*/
|
|
class AccountType extends Eloquent
|
|
{
|
|
|
|
public static $factory
|
|
= [
|
|
'description' => 'string'
|
|
];
|
|
|
|
public function accounts()
|
|
{
|
|
return $this->hasMany('Account');
|
|
}
|
|
}
|