|
24 | 24 | * @method static Builder|BudgetItem query() |
25 | 25 | * |
26 | 26 | * @mixin Eloquent |
| 27 | + * |
| 28 | + * @property int $id |
| 29 | + * @property int $budget_plan_id |
| 30 | + * @property string|null $short_name |
| 31 | + * @property string|null $name |
| 32 | + * @property \Cknow\Money\Money $value |
| 33 | + * @property \App\Models\Enums\BudgetType $budget_type |
| 34 | + * @property bool $is_group |
| 35 | + * @property string $description |
| 36 | + * @property int|null $position |
| 37 | + * @property int|null $parent_id |
| 38 | + * @property \Illuminate\Support\Carbon|null $created_at |
| 39 | + * @property \Illuminate\Support\Carbon|null $updated_at |
| 40 | + * @property-read \Staudenmeir\LaravelAdjacencyList\Eloquent\Collection<int, \App\Models\BudgetItem> $children |
| 41 | + * @property-read int|null $children_count |
| 42 | + * @property-read \Staudenmeir\LaravelAdjacencyList\Eloquent\Collection<int, BudgetItem> $orderedChildren |
| 43 | + * @property-read int|null $ordered_children_count |
| 44 | + * @property-read \App\Models\BudgetItem|null $parent |
| 45 | + * @property-read int $depth |
| 46 | + * @property-read string $path |
| 47 | + * @property-read string $position_path |
| 48 | + * @property-read \Staudenmeir\LaravelAdjacencyList\Eloquent\Collection<int, \App\Models\BudgetItem> $ancestors The model's recursive parents. |
| 49 | + * @property-read int|null $ancestors_count |
| 50 | + * @property-read \Staudenmeir\LaravelAdjacencyList\Eloquent\Collection<int, \App\Models\BudgetItem> $ancestorsAndSelf The model's recursive parents and itself. |
| 51 | + * @property-read int|null $ancestors_and_self_count |
| 52 | + * @property-read \Staudenmeir\LaravelAdjacencyList\Eloquent\Collection<int, \App\Models\BudgetItem> $bloodline The model's ancestors, descendants and itself. |
| 53 | + * @property-read int|null $bloodline_count |
| 54 | + * @property-read \Staudenmeir\LaravelAdjacencyList\Eloquent\Collection<int, \App\Models\BudgetItem> $childrenAndSelf The model's direct children and itself. |
| 55 | + * @property-read int|null $children_and_self_count |
| 56 | + * @property-read \Staudenmeir\LaravelAdjacencyList\Eloquent\Collection<int, \App\Models\BudgetItem> $descendants The model's recursive children. |
| 57 | + * @property-read int|null $descendants_count |
| 58 | + * @property-read \Staudenmeir\LaravelAdjacencyList\Eloquent\Collection<int, \App\Models\BudgetItem> $descendantsAndSelf The model's recursive children and itself. |
| 59 | + * @property-read int|null $descendants_and_self_count |
| 60 | + * @property-read \Staudenmeir\LaravelAdjacencyList\Eloquent\Collection<int, \App\Models\BudgetItem> $parentAndSelf The model's direct parent and itself. |
| 61 | + * @property-read int|null $parent_and_self_count |
| 62 | + * @property-read \App\Models\BudgetItem|null $rootAncestor The model's topmost parent. |
| 63 | + * @property-read \Staudenmeir\LaravelAdjacencyList\Eloquent\Collection<int, \App\Models\BudgetItem> $siblings The parent's other children. |
| 64 | + * @property-read int|null $siblings_count |
| 65 | + * @property-read \Staudenmeir\LaravelAdjacencyList\Eloquent\Collection<int, \App\Models\BudgetItem> $siblingsAndSelf All the parent's children. |
| 66 | + * @property-read int|null $siblings_and_self_count |
| 67 | + * |
| 68 | + * @method static \Staudenmeir\LaravelAdjacencyList\Eloquent\Collection<int, static> all($columns = ['*']) |
| 69 | + * @method static \Staudenmeir\LaravelAdjacencyList\Eloquent\Builder<static>|BudgetItem breadthFirst() |
| 70 | + * @method static \Staudenmeir\LaravelAdjacencyList\Eloquent\Builder<static>|BudgetItem depthFirst() |
| 71 | + * @method static \Staudenmeir\LaravelAdjacencyList\Eloquent\Builder<static>|BudgetItem doesntHaveChildren() |
| 72 | + * @method static \Staudenmeir\LaravelAdjacencyList\Eloquent\Collection<int, static> get($columns = ['*']) |
| 73 | + * @method static \Staudenmeir\LaravelAdjacencyList\Eloquent\Builder<static>|BudgetItem getExpressionGrammar() |
| 74 | + * @method static \Staudenmeir\LaravelAdjacencyList\Eloquent\Builder<static>|BudgetItem hasChildren() |
| 75 | + * @method static \Staudenmeir\LaravelAdjacencyList\Eloquent\Builder<static>|BudgetItem hasParent() |
| 76 | + * @method static \Staudenmeir\LaravelAdjacencyList\Eloquent\Builder<static>|BudgetItem isLeaf() |
| 77 | + * @method static \Staudenmeir\LaravelAdjacencyList\Eloquent\Builder<static>|BudgetItem isRoot() |
| 78 | + * @method static \Staudenmeir\LaravelAdjacencyList\Eloquent\Builder<static>|BudgetItem tree($maxDepth = null) |
| 79 | + * @method static \Staudenmeir\LaravelAdjacencyList\Eloquent\Builder<static>|BudgetItem treeOf(\Illuminate\Database\Eloquent\Model|callable $constraint, $maxDepth = null) |
| 80 | + * @method static \Staudenmeir\LaravelAdjacencyList\Eloquent\Builder<static>|BudgetItem whereBudgetPlanId($value) |
| 81 | + * @method static \Staudenmeir\LaravelAdjacencyList\Eloquent\Builder<static>|BudgetItem whereBudgetType($value) |
| 82 | + * @method static \Staudenmeir\LaravelAdjacencyList\Eloquent\Builder<static>|BudgetItem whereCreatedAt($value) |
| 83 | + * @method static \Staudenmeir\LaravelAdjacencyList\Eloquent\Builder<static>|BudgetItem whereDepth($operator, $value = null) |
| 84 | + * @method static \Staudenmeir\LaravelAdjacencyList\Eloquent\Builder<static>|BudgetItem whereDescription($value) |
| 85 | + * @method static \Staudenmeir\LaravelAdjacencyList\Eloquent\Builder<static>|BudgetItem whereId($value) |
| 86 | + * @method static \Staudenmeir\LaravelAdjacencyList\Eloquent\Builder<static>|BudgetItem whereIsGroup($value) |
| 87 | + * @method static \Staudenmeir\LaravelAdjacencyList\Eloquent\Builder<static>|BudgetItem whereName($value) |
| 88 | + * @method static \Staudenmeir\LaravelAdjacencyList\Eloquent\Builder<static>|BudgetItem whereParentId($value) |
| 89 | + * @method static \Staudenmeir\LaravelAdjacencyList\Eloquent\Builder<static>|BudgetItem wherePosition($value) |
| 90 | + * @method static \Staudenmeir\LaravelAdjacencyList\Eloquent\Builder<static>|BudgetItem whereShortName($value) |
| 91 | + * @method static \Staudenmeir\LaravelAdjacencyList\Eloquent\Builder<static>|BudgetItem whereUpdatedAt($value) |
| 92 | + * @method static \Staudenmeir\LaravelAdjacencyList\Eloquent\Builder<static>|BudgetItem whereValue($value) |
| 93 | + * @method static \Staudenmeir\LaravelAdjacencyList\Eloquent\Builder<static>|BudgetItem withGlobalScopes(array $scopes) |
| 94 | + * @method static \Staudenmeir\LaravelAdjacencyList\Eloquent\Builder<static>|BudgetItem withRelationshipExpression($direction, callable $constraint, $initialDepth, $from = null, $maxDepth = null) |
27 | 95 | */ |
28 | 96 | class BudgetItem extends Model |
29 | 97 | { |
|
0 commit comments