mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-22 06:23:12 -06:00
20 lines
315 B
PHP
20 lines
315 B
PHP
<?php namespace FireflyIII\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class TransactionGroup extends Model
|
|
{
|
|
|
|
public function transactionjournals()
|
|
{
|
|
return $this->belongsToMany('TransactionJournal');
|
|
}
|
|
|
|
public function user()
|
|
{
|
|
return $this->belongsTo('User');
|
|
}
|
|
|
|
|
|
}
|