biweeklybudget.models.scheduled_transaction module¶
-
class
biweeklybudget.models.scheduled_transaction.
ScheduledTransaction
(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base
,biweeklybudget.models.base.ModelAsDict
-
_sa_class_manager
= <ClassManager of <class 'biweeklybudget.models.scheduled_transaction.ScheduledTransaction'> at 7f30b185e4f0>¶
-
account_id
¶ ID of the account the transaction is against
-
amount
¶ Amount of the transaction
-
budget_id
¶ ID of the budget the transaction is against
-
date
¶ Denotes a scheduled transaction that will happen once on the given date
-
day_of_month
¶ Denotes a scheduled transaction that happens on the same day of each month
-
description
¶ description
-
id
¶ Primary Key
-
is_active
¶ whether the scheduled transaction is enabled or disabled
-
notes
¶ notes
-
num_per_period
¶ Denotes a scheduled transaction that happens N times per pay period
-
recurrence_str
¶ Return a string describing the recurrence interval. This is a string of the format
YYYY-mm-dd
,N per period
orN(st|nd|rd|th)
whereN
is an integer.Returns: string describing recurrence interval Return type: str
-