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

insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Query 物料表', '57', '1', 'manager:matnr:list', '0', '1', '1');
insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Create 物料表', '57', '1', 'manager:matnr:save', '1', '1', '1');
insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Update 物料表', '57', '1', 'manager:matnr:update', '2', '1', '1');
insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Delete 物料表', '57', '1', 'manager:matnr:remove', '3', '1', '1');

-- locale menu name
matnr: 'Matnr',

-- locale field
matnr: {
    shipperId: "shipperId",
    name: "name",
    code: "code",
    groupId: "groupId",
    erpCode: "erpCode",
    spec: "spec",
    model: "model",
    weight: "weight",
    color: "color",
    size: "size",
    desc: "desc",
    nromNum: "nromNum",
    unit: "unit",
    purchaseUnit: "purchaseUnit",
    stockUnit: "stockUnit",
    stockLeval: "stockLeval",
    isLabelMange: "isLabelMange",
},

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

case 'matnr':
    return matnr;
