feat: crappy reordering
This commit is contained in:
@@ -10,7 +10,9 @@ from .marketplace import BaseMarketplace
|
||||
from .shipping_warehouse import ShippingWarehouse
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from . import DealBillRequest, ServicePriceCategory
|
||||
from . import (DealBillRequest, ServicePriceCategory,
|
||||
# DealGroup
|
||||
)
|
||||
|
||||
|
||||
# @unique
|
||||
@@ -89,6 +91,13 @@ class Deal(BaseModel):
|
||||
category: Mapped[Optional["ServicePriceCategory"]] = relationship('ServicePriceCategory',
|
||||
secondary=DealPriceCategory.__table__,
|
||||
lazy='joined')
|
||||
# group: Mapped[Optional["DealGroup"]] = relationship(
|
||||
# 'DealGroup',
|
||||
# secondary='deal_relations',
|
||||
# lazy='joined',
|
||||
# uselist=False,
|
||||
# back_populates='deals'
|
||||
# )
|
||||
|
||||
|
||||
class DealStatusHistory(BaseModel):
|
||||
|
||||
Reference in New Issue
Block a user