From 71af74fc8a8613c9b2c6d194f2fb0082890e0e9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Thu, 9 Mar 2023 22:47:46 +0800 Subject: [PATCH] Added documentation to the properties of the AccountOption data model. --- src/accounting/transaction/forms.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/accounting/transaction/forms.py b/src/accounting/transaction/forms.py index 671163a..d4a32a5 100644 --- a/src/accounting/transaction/forms.py +++ b/src/accounting/transaction/forms.py @@ -127,9 +127,13 @@ class AccountOption: :param account: The account. """ self.__account: Account = account + """The account.""" self.id: str = account.id + """The account ID.""" self.code: str = account.code + """The account code.""" self.is_in_use: bool = False + """True if this account is in use, or False otherwise.""" def __str__(self) -> str: """Returns the string representation of the account option.