feat: client endpoints for clients page

This commit is contained in:
2025-10-04 18:12:13 +04:00
parent 66b50fb951
commit 986712d5b7
12 changed files with 268 additions and 0 deletions

View File

@ -23,6 +23,14 @@ class CreatedAtMixin:
)
class LastModifiedAtMixin:
last_modified_at: Mapped[datetime] = mapped_column(
DateTime(timezone=True),
default=lambda: datetime.now(timezone.utc),
nullable=False,
)
class PriceMixin:
price: Mapped[float] = mapped_column(Numeric(12, 2), comment="Стоимость")