Added documentation to the properties of the AccountOption data model.
This commit is contained in:
parent
56e972c371
commit
71af74fc8a
@ -127,9 +127,13 @@ class AccountOption:
|
|||||||
:param account: The account.
|
:param account: The account.
|
||||||
"""
|
"""
|
||||||
self.__account: Account = account
|
self.__account: Account = account
|
||||||
|
"""The account."""
|
||||||
self.id: str = account.id
|
self.id: str = account.id
|
||||||
|
"""The account ID."""
|
||||||
self.code: str = account.code
|
self.code: str = account.code
|
||||||
|
"""The account code."""
|
||||||
self.is_in_use: bool = False
|
self.is_in_use: bool = False
|
||||||
|
"""True if this account is in use, or False otherwise."""
|
||||||
|
|
||||||
def __str__(self) -> str:
|
def __str__(self) -> str:
|
||||||
"""Returns the string representation of the account option.
|
"""Returns the string representation of the account option.
|
||||||
|
Loading…
Reference in New Issue
Block a user