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

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

-- locale menu name
flowStepInstance: 'FlowStepInstance',

-- locale field
flowStepInstance: {
    flowInstanceId: "flowInstanceId",
    flowInstanceNo: "flowInstanceNo",
    stepOrder: "stepOrder",
    stepCode: "stepCode",
    stepName: "stepName",
    stepType: "stepType",
    stepTemplateId: "stepTemplateId",
    executeResult: "executeResult",
    errorCode: "errorCode",
    errorMessage: "errorMessage",
    startTime: "startTime",
    endTime: "endTime",
    durationSeconds: "durationSeconds",
    inputData: "inputData",
    outputData: "outputData",
    retryTimes: "retryTimes",
},

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

case 'flowStepInstance':
    return flowStepInstance;
