feat: add models module (#109)

* feat: add models module

* docs: add models module
This commit is contained in:
d3vyce
2026-03-04 15:14:55 +01:00
committed by GitHub
parent 05b5a2c876
commit e732e54518
4 changed files with 429 additions and 0 deletions

22
docs/reference/models.md Normal file
View File

@@ -0,0 +1,22 @@
# `models`
Here's the reference for the SQLAlchemy model mixins provided by the `models` module.
You can import them directly from `fastapi_toolsets.models`:
```python
from fastapi_toolsets.models import (
UUIDMixin,
CreatedAtMixin,
UpdatedAtMixin,
TimestampMixin,
)
```
## ::: fastapi_toolsets.models.UUIDMixin
## ::: fastapi_toolsets.models.CreatedAtMixin
## ::: fastapi_toolsets.models.UpdatedAtMixin
## ::: fastapi_toolsets.models.TimestampMixin