测试:强化业务模型元数据契约

This commit is contained in:
焦龙言
2026-07-24 20:25:02 +08:00
parent f6e9566f70
commit f814f916a5
2 changed files with 496 additions and 2 deletions
@@ -387,7 +387,7 @@ class BizPalletEvent(Base):
event_id = Column(BigInteger, primary_key=True, nullable=False, autoincrement=True, comment='事件ID')
pallet_id = Column(BigInteger, ForeignKey('biz_pallet.pallet_id'), nullable=False, comment='托盘ID')
event_seq = Column(BigInteger, nullable=False, comment='托盘内事件序号')
event_seq = Column(Integer, nullable=False, comment='托盘内事件序号')
event_type = Column(String(32), nullable=False, comment='事件类型')
source_type = Column(String(32), nullable=False, comment='来源类型')
source_id = Column(BigInteger, nullable=False, comment='来源记录ID')