Build [v1.5.0] - Box Management & Label Printing
This commit is contained in:
@@ -41,6 +41,9 @@ class Item(Base):
|
||||
min_quantity = Column(Float, default=1.0)
|
||||
image_url = Column(String, 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)
|
||||
|
||||
@@ -52,6 +55,10 @@ class AuditLog(Base):
|
||||
user_id = Column(Integer, ForeignKey("users.id"))
|
||||
action = Column(String) # e.g., 'CHECK_IN', 'CHECK_OUT', 'CREATE_ITEM'
|
||||
target_item_id = Column(Integer, nullable=True)
|
||||
target_item_name = Column(String, nullable=True)
|
||||
target_item_pn = Column(String, nullable=True)
|
||||
target_item_barcode = Column(String, nullable=True)
|
||||
target_snapshot = Column(Text, nullable=True) # Full JSON snapshot
|
||||
quantity_change = Column(Float, nullable=True)
|
||||
uuid = Column(String, unique=True, index=True, nullable=True)
|
||||
details = Column(Text, nullable=True) # For reasons, sync notes, etc.
|
||||
|
||||
Reference in New Issue
Block a user