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

insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Query 子流程步骤模板', '', '1', 'system:flowStepTemplate:list', '0', '1', '1');
insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Create 子流程步骤模板', '', '1', 'system:flowStepTemplate:save', '1', '1', '1');
insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Update 子流程步骤模板', '', '1', 'system:flowStepTemplate:update', '2', '1', '1');
insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Delete 子流程步骤模板', '', '1', 'system:flowStepTemplate:remove', '3', '1', '1');

-- locale menu name
flowStepTemplate: 'FlowStepTemplate',

-- locale field
flowStepTemplate: {
    flowId: "flowId",
    flowCode: "flowCode",
    stepOrder: "stepOrder",
    stepCode: "stepCode",
    stepName: "stepName",
    stepType: "stepType",
    actionType: "actionType",
    actionConfig: "actionConfig",
    inputMapping: "inputMapping",
    outputMapping: "outputMapping",
    conditionExpression: "conditionExpression",
    skipOnFail: "skipOnFail",
    retryEnabled: "retryEnabled",
    retryConfig: "retryConfig",
    timeoutSeconds: "timeoutSeconds",
},

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

case 'flowStepTemplate':
    return flowStepTemplate;
