models.currency
Represents a Currency as used in Transactions.
Module Contents
Classes
Represents a Currency in terms of a label and an ISO Currency Code. |
- class models.currency.Currency
Bases:
python_accounting.mixins.IsolatingMixin,python_accounting.models.RecyclableRepresents a Currency in terms of a label and an ISO Currency Code.
- __mapper_args__
- id: sqlalchemy.orm.Mapped[int]
The primary key of the Category database record.
- Type:
(int)
- name: sqlalchemy.orm.Mapped[str]
The label of the Currency.
- Type:
(str)
- code: sqlalchemy.orm.Mapped[str]
The ISO 4217 currency code symbol.
- Type:
(str)
- __repr__() str