Added documentation to the properties of the AccountOption data model.

This commit is contained in:
依瑪貓 2023-03-09 22:47:46 +08:00
parent 56e972c371
commit 71af74fc8a

View File

@ -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.