firefly-iii/app/models/TransactionType.php

23 lines
461 B
PHP
Raw Normal View History

<?php
2014-12-06 05:12:55 -06:00
use Illuminate\Database\Eloquent\SoftDeletingTrait;
use Watson\Validating\ValidatingTrait;
2014-12-20 08:00:53 -06:00
use \Illuminate\Database\Eloquent\Model as Eloquent;
2014-12-13 14:59:02 -06:00
/**
* Class TransactionType
*/
2014-12-06 05:12:55 -06:00
class TransactionType extends Eloquent
2014-07-30 00:14:00 -05:00
{
2014-12-06 05:12:55 -06:00
use SoftDeletingTrait, ValidatingTrait;
2014-08-10 11:22:42 -05:00
/**
* @return \Illuminate\Database\Eloquent\Relations\HasMany
*/
2014-08-10 02:57:30 -05:00
public function transactionJournals()
{
return $this->hasMany('TransactionJournal');
}
2015-01-01 23:16:49 -06:00
}