feat(phase1): add photo fields to Item model
This commit is contained in:
@@ -50,10 +50,15 @@ class Item(Base):
|
||||
quantity = Column(Float, default=0.0)
|
||||
min_quantity = Column(Float, default=1.0)
|
||||
image_url = Column(String, nullable=True)
|
||||
|
||||
|
||||
# Photo fields for item onboarding
|
||||
photo_path = Column(String, nullable=True)
|
||||
photo_thumbnail_path = Column(String, nullable=True)
|
||||
photo_upload_date = Column(DateTime, nullable=True)
|
||||
|
||||
# Generic box/container association for multi-item OCR scanning
|
||||
box_label = Column(String, index=True, nullable=True)
|
||||
|
||||
|
||||
# Full AI metadata
|
||||
labels_data = Column(Text, nullable=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user