mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-06 12:45:30 +00:00
Added php doc.
This commit is contained in:
@@ -34,7 +34,6 @@ use Watson\Validating\ValidatingTrait;
|
||||
* @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Account hasMetaValue($name, $value)
|
||||
* @property string $startBalance
|
||||
* @property string $endBalance
|
||||
*
|
||||
*/
|
||||
class Account extends Model
|
||||
{
|
||||
|
@@ -27,6 +27,7 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
* @property-read Account $account
|
||||
* @property-read Collection|PiggyBankRepetition[] $piggyBankRepetitions
|
||||
* @property-read Collection|PiggyBankEvent[] $piggyBankEvents
|
||||
* @property string $reminder
|
||||
*/
|
||||
class PiggyBank extends Model
|
||||
{
|
||||
|
@@ -15,6 +15,21 @@ use Illuminate\Database\Eloquent\Model;
|
||||
* Class Rule
|
||||
*
|
||||
* @package FireflyIII\Models
|
||||
* @property integer $id
|
||||
* @property \Carbon\Carbon $created_at
|
||||
* @property \Carbon\Carbon $updated_at
|
||||
* @property string $deleted_at
|
||||
* @property integer $user_id
|
||||
* @property integer $rule_group_id
|
||||
* @property integer $order
|
||||
* @property string $title
|
||||
* @property string $description
|
||||
* @property boolean $active
|
||||
* @property boolean $stop_processing
|
||||
* @property-read \FireflyIII\User $user
|
||||
* @property-read \FireflyIII\Models\RuleGroup $ruleGroup
|
||||
* @property-read \Illuminate\Database\Eloquent\Collection|\FireflyIII\Models\RuleAction[] $ruleActions
|
||||
* @property-read \Illuminate\Database\Eloquent\Collection|\FireflyIII\Models\RuleTrigger[] $ruleTriggers
|
||||
*/
|
||||
class Rule extends Model
|
||||
{
|
||||
|
@@ -15,6 +15,17 @@ use Illuminate\Database\Eloquent\Model;
|
||||
* Class RuleAction
|
||||
*
|
||||
* @package FireflyIII\Models
|
||||
* @property integer $id
|
||||
* @property \Carbon\Carbon $created_at
|
||||
* @property \Carbon\Carbon $updated_at
|
||||
* @property integer $rule_id
|
||||
* @property integer $order
|
||||
* @property boolean $active
|
||||
* @property boolean $stop_processing
|
||||
* @property string $action_field
|
||||
* @property string $action
|
||||
* @property string $action_value
|
||||
* @property-read \FireflyIII\Models\Rule $rule
|
||||
*/
|
||||
class RuleAction extends Model
|
||||
{
|
||||
|
@@ -15,6 +15,17 @@ use Illuminate\Database\Eloquent\Model;
|
||||
* Class RuleGroup
|
||||
*
|
||||
* @package FireflyIII\Models
|
||||
* @property integer $id
|
||||
* @property \Carbon\Carbon $created_at
|
||||
* @property \Carbon\Carbon $updated_at
|
||||
* @property string $deleted_at
|
||||
* @property integer $user_id
|
||||
* @property integer $order
|
||||
* @property string $title
|
||||
* @property string $description
|
||||
* @property boolean $active
|
||||
* @property-read \FireflyIII\User $user
|
||||
* @property-read \Illuminate\Database\Eloquent\Collection|\FireflyIII\Models\Rule[] $rules
|
||||
*/
|
||||
class RuleGroup extends Model
|
||||
{
|
||||
|
@@ -15,6 +15,18 @@ use Illuminate\Database\Eloquent\Model;
|
||||
* Class RuleTrigger
|
||||
*
|
||||
* @package FireflyIII\Models
|
||||
* @property integer $id
|
||||
* @property \Carbon\Carbon $created_at
|
||||
* @property \Carbon\Carbon $updated_at
|
||||
* @property integer $rule_id
|
||||
* @property integer $order
|
||||
* @property string $title
|
||||
* @property string $trigger_field
|
||||
* @property string $trigger_type
|
||||
* @property string $trigger_value
|
||||
* @property boolean $active
|
||||
* @property boolean $stop_processing
|
||||
* @property-read \FireflyIII\Models\Rule $rule
|
||||
*/
|
||||
class RuleTrigger extends Model
|
||||
{
|
||||
|
18
app/User.php
18
app/User.php
@@ -9,6 +9,24 @@ use Zizaco\Entrust\Traits\EntrustUserTrait;
|
||||
* Class User
|
||||
*
|
||||
* @package FireflyIII
|
||||
* @property integer $id
|
||||
* @property \Carbon\Carbon $created_at
|
||||
* @property \Carbon\Carbon $updated_at
|
||||
* @property string $email
|
||||
* @property string $password
|
||||
* @property string $remember_token
|
||||
* @property string $reset
|
||||
* @property boolean $blocked
|
||||
* @property string $blocked_code
|
||||
* @property-read \Illuminate\Database\Eloquent\Collection|\FireflyIII\Models\Account[] $accounts
|
||||
* @property-read \Illuminate\Database\Eloquent\Collection|\FireflyIII\Models\Attachment[] $attachments
|
||||
* @property-read \Illuminate\Database\Eloquent\Collection|\FireflyIII\Models\Tag[] $tags
|
||||
* @property-read \Illuminate\Database\Eloquent\Collection|\FireflyIII\Models\Bill[] $bills
|
||||
* @property-read \Illuminate\Database\Eloquent\Collection|\FireflyIII\Models\Budget[] $budgets
|
||||
* @property-read \Illuminate\Database\Eloquent\Collection|\FireflyIII\Models\Category[] $categories
|
||||
* @property-read \Illuminate\Database\Eloquent\Collection|\FireflyIII\Models\Preference[] $preferences
|
||||
* @property-read \Illuminate\Database\Eloquent\Collection|\FireflyIII\Models\TransactionJournal[] $transactionjournals
|
||||
* @property-read \Illuminate\Database\Eloquent\Collection|\FireflyIII\Models\Role[] $roles
|
||||
*/
|
||||
class User extends Authenticatable
|
||||
{
|
||||
|
Reference in New Issue
Block a user