From 137208c3fd99d569f179623390283475216a9d72 Mon Sep 17 00:00:00 2001 From: James Cole Date: Thu, 9 Jul 2015 21:59:02 +0200 Subject: [PATCH] Typical. --- app/Models/Account.php | 6 ++++++ app/Models/Bill.php | 2 ++ app/Models/Category.php | 1 + app/Models/PiggyBank.php | 1 + app/Models/Transaction.php | 2 ++ app/Models/TransactionJournal.php | 1 + 6 files changed, 13 insertions(+) diff --git a/app/Models/Account.php b/app/Models/Account.php index c51332af85..e94e1c9037 100644 --- a/app/Models/Account.php +++ b/app/Models/Account.php @@ -42,6 +42,12 @@ use Watson\Validating\ValidatingTrait; * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Account accountTypeIn($types) * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Account hasMetaValue($name, $value) * @property-read bool $joinedAccountTypes + * @property-read float $startBalance + * @property-read float $endBalance + * @property-read float $piggyBalance + * @property-read float $percentage + * @property-read float $difference + * @property-read \Carbon\Carbon $lastActivityDate */ class Account extends Model { diff --git a/app/Models/Bill.php b/app/Models/Bill.php index 42cc13ed6b..d3bd82ca78 100644 --- a/app/Models/Bill.php +++ b/app/Models/Bill.php @@ -39,6 +39,8 @@ use Illuminate\Database\Eloquent\Model; * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Bill whereSkip($value) * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Bill whereNameEncrypted($value) * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Bill whereMatchEncrypted($value) + * @property-read \Carbon\Carbon $nextExpectedMatch + * @property-read \Carbon\Carbon $lastFoundMatch */ class Bill extends Model { diff --git a/app/Models/Category.php b/app/Models/Category.php index 0612f2cf62..cd6d554be2 100644 --- a/app/Models/Category.php +++ b/app/Models/Category.php @@ -25,6 +25,7 @@ use Illuminate\Database\Eloquent\SoftDeletes; * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Category whereUserId($value) * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Category whereEncrypted($value) * @property-read float $spent + * @property-read \Carbon\Carbon $lastActivity */ class Category extends Model { diff --git a/app/Models/PiggyBank.php b/app/Models/PiggyBank.php index 1c03bd9002..1b4c52983c 100644 --- a/app/Models/PiggyBank.php +++ b/app/Models/PiggyBank.php @@ -37,6 +37,7 @@ use Illuminate\Database\Eloquent\SoftDeletes; * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\PiggyBank whereEncrypted($value) * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\PiggyBank whereRemindMe($value) * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\PiggyBank whereReminderSkip($value) + * @property-read \FireflyIII\Models\PiggyBankRepetition $currentRep */ class PiggyBank extends Model { diff --git a/app/Models/Transaction.php b/app/Models/Transaction.php index 55a818a8d5..c2b6240b99 100644 --- a/app/Models/Transaction.php +++ b/app/Models/Transaction.php @@ -30,6 +30,8 @@ use Watson\Validating\ValidatingTrait; * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Transaction whereAmount($value) * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Transaction after($date) * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Transaction before($date) + * @property-read float $before + * @property-read float $after */ class Transaction extends Model { diff --git a/app/Models/TransactionJournal.php b/app/Models/TransactionJournal.php index b9f78c9ca4..48d96de99e 100644 --- a/app/Models/TransactionJournal.php +++ b/app/Models/TransactionJournal.php @@ -67,6 +67,7 @@ use Watson\Validating\ValidatingTrait; * @property-read bool $joinedTransactionTypes * @property-read int $account_id * @property-read string $name + * @property-read string $symbol */ class TransactionJournal extends Model {