mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-16 03:32:05 -06:00
19 lines
353 B
PHP
19 lines
353 B
PHP
<?php namespace FireflyIII\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class PiggyBankEvent extends Model
|
|
{
|
|
|
|
public function piggyBank()
|
|
{
|
|
return $this->belongsTo('FireflyIII\Models\PiggyBank');
|
|
}
|
|
|
|
public function transactionJournal()
|
|
{
|
|
return $this->belongsTo('FireflyIII\Models\TransactionJournal');
|
|
}
|
|
|
|
}
|