24 lines
838 B
Python
24 lines
838 B
Python
from sqlalchemy import Column, String, Integer
|
|
from config.database import Base
|
|
|
|
|
|
class TestEut(Base):
|
|
"""
|
|
产品管理表
|
|
"""
|
|
|
|
__tablename__ = 'test_eut'
|
|
|
|
id = Column(Integer, primary_key=True, autoincrement=True, nullable=False, comment='产品ID')
|
|
test_order_id = Column(Integer, nullable=True, comment='订单ID')
|
|
test_flow_id = Column(Integer, nullable=True, comment='流程ID')
|
|
test_eut_type_id = Column(Integer, nullable=True, comment='产品类别ID')
|
|
sn = Column(String(20), nullable=False, comment='sn号')
|
|
batch_no = Column(String(20), nullable=True, comment='批次号')
|
|
version = Column(String(20), nullable=True, comment='版本号')
|
|
sample_appearance = Column(Integer, nullable=True, comment='外观')
|
|
memo = Column(String(200), nullable=True, comment='备注说明')
|
|
|
|
|
|
|