fix: removed unused DealStatusEnum
This commit is contained in:
		@@ -21,19 +21,6 @@ if TYPE_CHECKING:
 | 
				
			|||||||
    )
 | 
					    )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@unique
 | 
					 | 
				
			||||||
class DealStatusEnum(IntEnum):
 | 
					 | 
				
			||||||
    CREATED = 0
 | 
					 | 
				
			||||||
    AWAITING_ACCEPTANCE = 1
 | 
					 | 
				
			||||||
    READY_FOR_WORK = 2
 | 
					 | 
				
			||||||
    PACKAGING = 3
 | 
					 | 
				
			||||||
    AWAITING_SHIPMENT = 4
 | 
					 | 
				
			||||||
    IN_DELIVERY = 5
 | 
					 | 
				
			||||||
    AWAITING_PAYMENT = 6
 | 
					 | 
				
			||||||
    COMPLETED = 7
 | 
					 | 
				
			||||||
    CANCELLED = 8
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
class DealPriceCategory(BaseModel):
 | 
					class DealPriceCategory(BaseModel):
 | 
				
			||||||
    __tablename__ = 'deal_price_category'
 | 
					    __tablename__ = 'deal_price_category'
 | 
				
			||||||
    deal_id: Mapped[int] = mapped_column(ForeignKey('deals.id'), primary_key=True, unique=True)
 | 
					    deal_id: Mapped[int] = mapped_column(ForeignKey('deals.id'), primary_key=True, unique=True)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user