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
= {'budget_transactions': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'current_balance': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'description': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'is_active': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'is_income': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'is_periodic': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'name': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'omit_from_graphs': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'planned_transactions': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'scheduled_transactions': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'starting_balance': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}¶
-
budget_transactions
¶
-
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
-
planned_transactions
¶
-
scheduled_transactions
¶
-
starting_balance
¶ starting balance for periodic budgets
-