mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-30 12:43:57 -06:00
30 lines
893 B
PHP
30 lines
893 B
PHP
<?php
|
|
|
|
|
|
/**
|
|
* TransactionCurrency
|
|
*
|
|
* @property integer $id
|
|
* @property \Carbon\Carbon $created_at
|
|
* @property \Carbon\Carbon $updated_at
|
|
* @property string $code
|
|
* @property-read \Illuminate\Database\Eloquent\Collection|\TransactionJournal[] $transactionJournals
|
|
* @method static \Illuminate\Database\Query\Builder|\TransactionCurrency whereId($value)
|
|
* @method static \Illuminate\Database\Query\Builder|\TransactionCurrency whereCreatedAt($value)
|
|
* @method static \Illuminate\Database\Query\Builder|\TransactionCurrency whereUpdatedAt($value)
|
|
* @method static \Illuminate\Database\Query\Builder|\TransactionCurrency whereCode($value)
|
|
*/
|
|
class TransactionCurrency extends Eloquent
|
|
{
|
|
|
|
public static $factory
|
|
= [
|
|
'code' => 'string'
|
|
];
|
|
|
|
public function transactionJournals()
|
|
{
|
|
return $this->hasMany('TransactionJournal');
|
|
}
|
|
|
|
}
|