hasMany('FireflyIII\Models\Account'); } /** * @return HasMany */ public function attachments(): HasMany { return $this->hasMany('FireflyIII\Models\Attachment'); } /** * @return HasMany */ public function bills(): HasMany { return $this->hasMany('FireflyIII\Models\Bill'); } /** * @return HasMany */ public function budgets(): HasMany { return $this->hasMany('FireflyIII\Models\Budget'); } /** * @return HasMany */ public function categories(): HasMany { return $this->hasMany('FireflyIII\Models\Category'); } /** * @return HasMany */ public function exportjobs(): HasMany { return $this->hasMany('FireflyIII\Models\ExportJob'); } /** * @return HasManyThrough */ public function piggyBanks(): HasManyThrough { return $this->hasManyThrough('FireflyIII\Models\PiggyBank', 'FireflyIII\Models\Account'); } /** * @return HasMany */ public function preferences(): HasMany { return $this->hasMany('FireflyIII\Models\Preference'); } /** * @return HasMany */ public function ruleGroups(): HasMany { return $this->hasMany('FireflyIII\Models\RuleGroup'); } /** * @return HasMany */ public function rules(): HasMany { return $this->hasMany('FireflyIII\Models\Rule'); } /** * @return HasMany */ public function tags(): HasMany { return $this->hasMany('FireflyIII\Models\Tag'); } /** * @return HasMany */ public function transactionjournals(): HasMany { return $this->hasMany('FireflyIII\Models\TransactionJournal'); } /** * @return HasManyThrough */ public function transactions(): HasManyThrough { return $this->hasManyThrough('FireflyIII\Models\Transaction', 'FireflyIII\Models\TransactionJournal'); } }