biweeklybudget.models.budget_model module¶
-
class
biweeklybudget.models.budget_model.
Budget
(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base
,biweeklybudget.models.base.ModelAsDict
-
_sa_class_manager
= {'current_balance': <sqlalchemy.orm.attributes.InstrumentedAttribute object at 0x7f8004a962f0>, 'description': <sqlalchemy.orm.attributes.InstrumentedAttribute object at 0x7f8004a96170>, 'id': <sqlalchemy.orm.attributes.InstrumentedAttribute object at 0x7f8004a81e30>, 'is_active': <sqlalchemy.orm.attributes.InstrumentedAttribute object at 0x7f8004a963b0>, 'is_income': <sqlalchemy.orm.attributes.InstrumentedAttribute object at 0x7f8004a96470>, 'is_periodic': <sqlalchemy.orm.attributes.InstrumentedAttribute object at 0x7f8004a81fb0>, 'name': <sqlalchemy.orm.attributes.InstrumentedAttribute object at 0x7f8004a960b0>, 'omit_from_graphs': <sqlalchemy.orm.attributes.InstrumentedAttribute object at 0x7f8004a96530>, 'starting_balance': <sqlalchemy.orm.attributes.InstrumentedAttribute object at 0x7f8004a96230>}¶
-
current_balance
¶ current balance for standing budgets
-
description
¶ description
-
id
¶ Primary Key
-
is_active
¶ whether active or historical
-
is_income
¶ whether this is an Income budget (True) or expense (False).
-
is_periodic
¶ Whether the budget is standing (long-running) or periodic (resets each pay period or budget cycle)
-
name
¶ name of the budget
-
omit_from_graphs
¶ whether or not to omit this budget from spending graphs
-
starting_balance
¶ starting balance for periodic budgets
-