mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-01 04:59:25 -06:00
22 lines
460 B
PHP
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');
|
|
}
|
|
|
|
}
|