mirror of
https://github.com/Karaka-Management/oms-Workflow.git
synced 2026-01-11 06:48:41 +00:00
197 lines
6.4 KiB
JSON
197 lines
6.4 KiB
JSON
{
|
|
"workflow_template": {
|
|
"name": "workflow_template",
|
|
"fields": {
|
|
"workflow_template_id": {
|
|
"name": "workflow_template_id",
|
|
"type": "INT",
|
|
"null": false,
|
|
"primary": true,
|
|
"autoincrement": true
|
|
},
|
|
"workflow_template_name": {
|
|
"name": "workflow_template_name",
|
|
"type": "VARCHAR(255)",
|
|
"default": null,
|
|
"null": true
|
|
},
|
|
"workflow_template_type": {
|
|
"name": "workflow_template_type",
|
|
"type": "INT",
|
|
"null": false
|
|
},
|
|
"workflow_template_status": {
|
|
"name": "workflow_template_status",
|
|
"type": "INT",
|
|
"null": false
|
|
},
|
|
"workflow_template_desc": {
|
|
"name": "workflow_template_desc",
|
|
"type": "TEXT",
|
|
"default": null,
|
|
"null": true
|
|
},
|
|
"workflow_template_descRaw": {
|
|
"name": "workflow_template_descRaw",
|
|
"type": "TEXT",
|
|
"default": null,
|
|
"null": true
|
|
},
|
|
"workflow_template_schema": {
|
|
"name": "workflow_template_schema",
|
|
"type": "TEXT",
|
|
"default": null,
|
|
"null": true
|
|
},
|
|
"workflow_template_module": {
|
|
"name": "workflow_template_module",
|
|
"type": "VARCHAR(190)",
|
|
"null": true,
|
|
"default": null,
|
|
"foreignTable": "module",
|
|
"foreignKey": "module_id"
|
|
},
|
|
"workflow_template_media": {
|
|
"name": "workflow_template_media",
|
|
"type": "INT",
|
|
"null": true,
|
|
"default": null,
|
|
"foreignTable": "media",
|
|
"foreignKey": "media_id"
|
|
},
|
|
"workflow_template_created_at": {
|
|
"name": "workflow_template_created_at",
|
|
"type": "DATETIME",
|
|
"null": false
|
|
},
|
|
"workflow_template_created_by": {
|
|
"name": "workflow_template_created_by",
|
|
"type": "INT",
|
|
"null": false,
|
|
"foreignTable": "account",
|
|
"foreignKey": "account_id"
|
|
}
|
|
}
|
|
},
|
|
"workflow_instance": {
|
|
"name": "workflow_instance",
|
|
"fields": {
|
|
"workflow_instance_id": {
|
|
"name": "workflow_instance_id",
|
|
"type": "INT",
|
|
"null": false,
|
|
"primary": true,
|
|
"autoincrement": true
|
|
},
|
|
"workflow_instance_title": {
|
|
"name": "workflow_instance_title",
|
|
"type": "VARCHAR(255)",
|
|
"null": false
|
|
},
|
|
"workflow_instance_status": {
|
|
"name": "workflow_instance_status",
|
|
"type": "INT",
|
|
"null": false
|
|
},
|
|
"workflow_instance_data": {
|
|
"name": "workflow_instance_data",
|
|
"type": "TEXT",
|
|
"null": false
|
|
},
|
|
"workflow_instance_int": {
|
|
"name": "workflow_instance_int",
|
|
"type": "INT",
|
|
"null": false
|
|
},
|
|
"workflow_instance_ref": {
|
|
"name": "workflow_instance_ref",
|
|
"type": "INT",
|
|
"null": false
|
|
},
|
|
"workflow_instance_template": {
|
|
"name": "workflow_instance_template",
|
|
"type": "INT",
|
|
"null": false,
|
|
"foreignTable": "workflow_template",
|
|
"foreignKey": "workflow_template_id"
|
|
},
|
|
"workflow_instance_created_at": {
|
|
"name": "workflow_instance_created_at",
|
|
"type": "DATETIME",
|
|
"null": false
|
|
},
|
|
"workflow_instance_end": {
|
|
"name": "workflow_instance_end",
|
|
"type": "DATETIME",
|
|
"null": true,
|
|
"default": null
|
|
},
|
|
"workflow_instance_created_by": {
|
|
"name": "workflow_instance_created_by",
|
|
"type": "INT",
|
|
"null": false,
|
|
"foreignTable": "account",
|
|
"foreignKey": "account_id"
|
|
}
|
|
}
|
|
},
|
|
"workflow_step": {
|
|
"name": "workflow_step",
|
|
"fields": {
|
|
"workflow_step_id": {
|
|
"name": "workflow_step_id",
|
|
"type": "INT",
|
|
"null": false,
|
|
"primary": true,
|
|
"autoincrement": true
|
|
},
|
|
"workflow_step_order": {
|
|
"name": "workflow_step_order",
|
|
"type": "INT",
|
|
"null": false
|
|
},
|
|
"workflow_step_status": {
|
|
"name": "workflow_step_status",
|
|
"type": "INT",
|
|
"null": false
|
|
},
|
|
"workflow_step_comment": {
|
|
"name": "workflow_step_comment",
|
|
"type": "TEXT",
|
|
"null": false
|
|
},
|
|
"workflow_step_data": {
|
|
"name": "workflow_step_data",
|
|
"type": "TEXT",
|
|
"null": false
|
|
},
|
|
"workflow_step_instance": {
|
|
"name": "workflow_step_instance",
|
|
"type": "INT",
|
|
"null": false,
|
|
"foreignTable": "workflow_instance",
|
|
"foreignKey": "workflow_instance_id"
|
|
},
|
|
"workflow_step_media": {
|
|
"name": "workflow_step_media",
|
|
"type": "INT",
|
|
"null": true,
|
|
"default": null,
|
|
"foreignTable": "media",
|
|
"foreignKey": "media_id"
|
|
},
|
|
"workflow_step_created_at": {
|
|
"name": "workflow_step_created_at",
|
|
"type": "DATETIME",
|
|
"null": false
|
|
},
|
|
"workflow_step_created_by": {
|
|
"name": "workflow_step_created_by",
|
|
"type": "INT",
|
|
"null": false,
|
|
"foreignTable": "account",
|
|
"foreignKey": "account_id"
|
|
}
|
|
}
|
|
}
|
|
} |