123
This commit is contained in:
@@ -24,11 +24,14 @@ class MarketplaceProduct(BaseSiproModel):
|
||||
product_id: Mapped[int] = mapped_column(ForeignKey("products.id"))
|
||||
product: Mapped["Product"] = relationship()
|
||||
|
||||
third_additional_article: Mapped[str] = mapped_column()
|
||||
|
||||
|
||||
class SupplierProduct(BaseSiproModel):
|
||||
__tablename__ = 'supplier_products'
|
||||
id: Mapped[int] = mapped_column(primary_key=True)
|
||||
supplier_stock: Mapped[int] = mapped_column()
|
||||
sold_today: Mapped[int] = mapped_column()
|
||||
supplier_id: Mapped[int] = mapped_column()
|
||||
|
||||
product_id: Mapped[int] = mapped_column(ForeignKey("products.id"))
|
||||
|
||||
Reference in New Issue
Block a user