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 0x7f8f70758530>, 'description': <sqlalchemy.orm.attributes.InstrumentedAttribute object at 0x7f8f707583b0>, 'id': <sqlalchemy.orm.attributes.InstrumentedAttribute object at 0x7f8f707580b0>, 'is_active': <sqlalchemy.orm.attributes.InstrumentedAttribute object at 0x7f8f707585f0>, 'is_income': <sqlalchemy.orm.attributes.InstrumentedAttribute object at 0x7f8f707586b0>, 'is_periodic': <sqlalchemy.orm.attributes.InstrumentedAttribute object at 0x7f8f70758230>, 'name': <sqlalchemy.orm.attributes.InstrumentedAttribute object at 0x7f8f707582f0>, 'omit_from_graphs': <sqlalchemy.orm.attributes.InstrumentedAttribute object at 0x7f8f70758770>, 'starting_balance': <sqlalchemy.orm.attributes.InstrumentedAttribute object at 0x7f8f70758470>}¶
-
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
-