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

22 lines
460 B
PHP

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