firefly-iii/app/models/TransactionCurrency.php
2014-11-22 07:34:08 +01:00

30 lines
1.0 KiB
PHP

<?php
use Illuminate\Database\Eloquent\Model as Eloquent;
/**
* 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)
* @property-read \Illuminate\Database\Eloquent\Collection|\TransactionJournal[] $transactionJournals
*/
class TransactionCurrency extends Eloquent
{
/**
* @return \Illuminate\Database\Eloquent\Relations\HasMany
*/
public function transactionJournals()
{
return $this->hasMany('TransactionJournal');
}
}