-- save taskPathTemplateNode record
-- mysql
insert into `sys_menu` ( `name`, `parent_id`, `route`, `component`, `type`, `sort`, `tenant_id`, `status`) values ( 'menu.taskPathTemplateNode', '0', '/system/taskPathTemplateNode', 'taskPathTemplateNode', '0' , '0', '1' , '1');

insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Query 路径节点明细表', '', '1', 'system:taskPathTemplateNode:list', '0', '1', '1');
insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Create 路径节点明细表', '', '1', 'system:taskPathTemplateNode:save', '1', '1', '1');
insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Update 路径节点明细表', '', '1', 'system:taskPathTemplateNode:update', '2', '1', '1');
insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Delete 路径节点明细表', '', '1', 'system:taskPathTemplateNode:remove', '3', '1', '1');

-- locale menu name
taskPathTemplateNode: 'TaskPathTemplateNode',

-- locale field
taskPathTemplateNode: {
    templateId: "templateId",
    templateCode: "templateCode",
    nodeOrder: "nodeOrder",
    nodeCode: "nodeCode",
    nodeName: "nodeName",
    nodeType: "nodeType",
    systemCode: "systemCode",
    systemName: "systemName",
    executeParams: "executeParams",
    resultSchema: "resultSchema",
    timeoutMinutes: "timeoutMinutes",
    mandatory: "mandatory",
    parallelExecutable: "parallelExecutable",
    preCondition: "preCondition",
    postCondition: "postCondition",
    nextNodeRules: "nextNodeRules",
},

-- ResourceContent
import taskPathTemplateNode from './taskPathTemplateNode';

case 'taskPathTemplateNode':
    return taskPathTemplateNode;
