firefly-iii/app/models/TransactionCurrency.php
2014-12-20 15:00:53 +01:00

21 lines
466 B
PHP

<?php
use Illuminate\Database\Eloquent\Model as Eloquent;
use Illuminate\Database\Eloquent\SoftDeletingTrait;
use Watson\Validating\ValidatingTrait;
/**
* Class TransactionCurrency
*/
class TransactionCurrency extends Eloquent
{
use SoftDeletingTrait, ValidatingTrait;
/**
* @return \Illuminate\Database\Eloquent\Relations\HasMany
*/
public function transactionJournals()
{
return $this->hasMany('TransactionJournal');
}
}