Added the missing documentation to the account property of the CurrentAccount data model.

This commit is contained in:
依瑪貓 2023-03-22 20:40:43 +08:00
parent 5a9e08f2c4
commit 979eea606a

View File

@ -36,6 +36,7 @@ class CurrentAccount:
:param account: The account. :param account: The account.
""" """
self.account: Account | None = account self.account: Account | None = account
"""The actual account."""
self.id: int = -1 if account is None else account.id self.id: int = -1 if account is None else account.id
"""The ID.""" """The ID."""
self.code: str = "" if account is None else account.code self.code: str = "" if account is None else account.code