mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-23 04:46:44 +00:00
21 lines
339 B
PHP
21 lines
339 B
PHP
![]() |
<?php
|
||
|
|
||
|
|
||
|
class Transaction extends Eloquent
|
||
|
{
|
||
|
|
||
|
public function account()
|
||
|
{
|
||
|
return $this->belongsTo('Account');
|
||
|
}
|
||
|
|
||
|
public function transactionJournal()
|
||
|
{
|
||
|
return $this->belongsTo('TransactionJournal');
|
||
|
}
|
||
|
|
||
|
public function components()
|
||
|
{
|
||
|
return $this->belongsToMany('Component');
|
||
|
}
|
||
|
}
|