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.
23 lines
1.2 KiB
23 lines
1.2 KiB
from sqlalchemy import Column, Integer, String, Text
|
|
from config.database import Base
|
|
|
|
|
|
class Metaprocessconfig(Base):
|
|
"""
|
|
流程配置表
|
|
"""
|
|
__tablename__ = 'meta_process_config'
|
|
|
|
pdc_id = Column(Integer, primary_key=True, autoincrement=True, comment='流程定义主键')
|
|
db_type = Column(String(10), nullable=False, default='', comment='数据库类型')
|
|
ac_target = Column(String(1), nullable=False, default='0', comment='采集对象(0 字表 1过程)')
|
|
taskDefinitionJson = Column(Text, nullable=False, comment='节点数据')
|
|
taskRelationJson = Column(String(2000), nullable=True, comment='节点位置')
|
|
locations = Column(String(500), nullable=False, default='', comment='更新者')
|
|
name = Column(String(50), nullable=True, comment='流程定义名')
|
|
tenantCode = Column(String(50), nullable=True, comment='租户代码')
|
|
executionType = Column(String(10), nullable=False, default='N', comment='执行类型')
|
|
description = Column(String(200), nullable=True, comment='描述')
|
|
globalParams = Column(String(50), nullable=True, comment='全局参数')
|
|
timeout = Column(String(50), nullable=True, comment='超时设置')
|
|
releaseState = Column(String(50), nullable=True, comment='发布状态')
|