2024-10-04 09:50:07 +05:00

13 lines
480 B
Python

from typing import Optional
class DeliveryEntity:
def __init__(self, delivery_id: Optional[int], count: int, storage_accessories_id: int, step_id: int):
self.id = delivery_id
self.count = count
self.storage_accessories_id = storage_accessories_id
self.step_id = step_id
def __repr__(self):
return f"<DeliveryEntity(id={self.id}, count={self.count}, storage_accessories_id={self.storage_accessories_id}, step_id={self.step_id})>"