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

insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Query 编码规则子表', '128', '1', 'system:serialRuleItem:list', '0', '1', '1');
insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Create 编码规则子表', '128', '1', 'system:serialRuleItem:save', '1', '1', '1');
insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Update 编码规则子表', '128', '1', 'system:serialRuleItem:update', '2', '1', '1');
insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Delete 编码规则子表', '128', '1', 'system:serialRuleItem:remove', '3', '1', '1');

-- locale menu name
serialRuleItem: 'SerialRuleItem',

-- locale field
serialRuleItem: {
    ruleId: "ruleId",
    wkType: "wkType",
    feildValue: "feildValue",
    len: "len",
    lenStr: "lenStr",
    sort: "sort",
},

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

case 'serialRuleItem':
    return serialRuleItem;
