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

insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Query 路径模板主表', '', '1', 'system:taskPathTemplate:list', '0', '1', '1');
insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Create 路径模板主表', '', '1', 'system:taskPathTemplate:save', '1', '1', '1');
insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Update 路径模板主表', '', '1', 'system:taskPathTemplate:update', '2', '1', '1');
insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Delete 路径模板主表', '', '1', 'system:taskPathTemplate:remove', '3', '1', '1');

-- locale menu name
taskPathTemplate: 'TaskPathTemplate',

-- locale field
taskPathTemplate: {
    templateCode: "templateCode",
    templateName: "templateName",
    sourceType: "sourceType",
    targetType: "targetType",
    conditionExpression: "conditionExpression",
    conditionDesc: "conditionDesc",
    version: "version",
    isCurrent: "isCurrent",
    effectiveTime: "effectiveTime",
    expireTime: "expireTime",
    priority: "priority",
    timeoutMinutes: "timeoutMinutes",
    maxRetryTimes: "maxRetryTimes",
    retryIntervalSeconds: "retryIntervalSeconds",
    remark: "remark",
    createdBy: "createdBy",
    updatedBy: "updatedBy",
    createdTime: "createdTime",
    updatedTime: "updatedTime",
},

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

case 'taskPathTemplate':
    return taskPathTemplate;
