ETest-Vue-FastAPI/ruoyi-fastapi-backend/module_admin/system/entity/do/test_flow_do.py

22 lines
708 B
Python

from sqlalchemy import Integer, String, DateTime, Column
from config.database import Base
class TestFlow(Base):
"""
测试流程表
"""
__tablename__ = 'test_flow'
id = Column(Integer, primary_key=True, autoincrement=True, nullable=False, comment='主键ID')
name = Column(String(20), nullable=False, comment='流程名称')
creator = Column(Integer, nullable=True, comment='创建人')
create_time = Column(DateTime, nullable=True, comment='创建时间')
update_by = Column(Integer, nullable=True, comment='更新人')
update_time = Column(DateTime, nullable=True, comment='修改时间')
memo = Column(String(200), nullable=True, comment='备注说明')