mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Management of links and first form for link storing #616
This commit is contained in:
@@ -16,6 +16,7 @@ namespace FireflyIII\Models;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* @property int $journalCount
|
||||
* Class LinkType
|
||||
*
|
||||
* @package FireflyIII\Models
|
||||
@@ -35,4 +36,8 @@ class LinkType extends Model
|
||||
'editable' => 'boolean',
|
||||
];
|
||||
|
||||
public function transactionJournalLinks() {
|
||||
return $this->hasMany(TransactionJournalLink::class);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user