firefly-iii/app/models/TransactionType.php
2014-12-13 21:59:02 +01:00

21 lines
407 B
PHP

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