model

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintBudgetCategoryGroups

func PrintBudgetCategoryGroups(budgetCategoryGroups []*BudgetCategoryGroup, printHiddenCategories bool)

Types

type Budget

type Budget struct {
	ID   string
	Name string
}

type BudgetCategory

type BudgetCategory struct {
	ID               string
	Name             string
	BudgetedDollars  int64
	BudgetedCents    int16
	AvailableDollars int64
	AvailableCents   int16
	Hidden           bool
}

type BudgetCategoryGroup

type BudgetCategoryGroup struct {
	Name       string
	Categories []*BudgetCategory
	Hidden     bool
}

func (*BudgetCategoryGroup) AllCategoriesHidden added in v0.4.1

func (bcg *BudgetCategoryGroup) AllCategoriesHidden() bool

AllCategoriesHidden determines if all of the categories within this group are hidden

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL