You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

20 lines
971 B

from sqlalchemy import Column, Integer, String, DateTime, Boolean, Text
from config.database import Base
from datetime import datetime
class FlowApproval(Base):
"""
流程审批表
"""
__tablename__ = 'flow_approval'
id = Column(String(50), primary_key=True, comment='id')
businessType = Column(String(50), default='', comment='业务审批模块')
businessId = Column(String(255), default='', comment='业务id串')
applicant = Column(String(50), default=None, comment='申请人')
applyTime = Column(String(50), default=None, comment='审批时间')
approver = Column(String(50), default=None, comment='下一步审批人')
nextStep = Column(Integer, default=None, comment="下一步编号")
status = Column(String(10), default=None, comment='状态')
approvalFlow = Column(Text, default=None, comment='审批流') # [{审批人:‘’,审批时间:‘’,'审批结果':‘’,审批意见:''},{}]数组