models.recycled
Represents an account model that has been recycled.
Module Contents
Classes
Represents an accounting model that has been recycled. |
- class models.recycled.Recycled
Bases:
python_accounting.mixins.IsolatingMixin,models.base.BaseRepresents an accounting model that has been recycled.
- recycled_id: sqlalchemy.orm.Mapped[int]
The id of the model that has been recycled.
- Type:
(int)
- restored_at: sqlalchemy.orm.Mapped[datetime.datetime]
The time the model was restored.
- Type:
(datetime, optional)
- subject: sqlalchemy.orm.Mapped[Recyclable]
The model that was recycled/restored.
- Type:
- __repr__() str