feat: ozon sync

This commit is contained in:
2024-09-02 19:19:41 +03:00
parent 82236a7750
commit d24be8fb7d
8 changed files with 337 additions and 39 deletions

View File

@@ -27,7 +27,7 @@ class OzonProduct(BaseModel):
product_id: Mapped[int] = mapped_column(ForeignKey('products.id'), primary_key=True)
product: Mapped["Product"] = relationship()
ozon_product_id: Mapped[int] = mapped_column(nullable=False)
class YandexProduct(BaseModel):
__tablename__ = 'yandex_products'