-- 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 物料信息表', '', '1', 'manager:matnr:list', '0', '1', '1');
insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Create 物料信息表', '', '1', 'manager:matnr:save', '1', '1', '1');
insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Update 物料信息表', '', '1', 'manager:matnr:update', '2', '1', '1');
insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Delete 物料信息表', '', '1', 'manager:matnr:remove', '3', '1', '1');

-- locale menu name
matnr: 'Matnr',

-- locale field
matnr: {
    name: "name",
    code: "code",
    shipperId: "shipperId",
    groupId: "groupId",
    batchRegularId: "batchRegularId",
    platCode: "platCode",
    spec: "spec",
    model: "model",
    weight: "weight",
    color: "color",
    size: "size",
    describle: "describle",
    nromNum: "nromNum",
    unit: "unit",
    purchaseUnit: "purchaseUnit",
    stockUnit: "stockUnit",
    stockLeval: "stockLeval",
    isLabelMange: "isLabelMange",
    safetyQty: "safetyQty",
    minQty: "minQty",
    maxQty: "maxQty",
    stagnate: "stagnate",
    validity: "validity",
    validityWarr: "validityWarr",
    flagCheck: "flagCheck",
},

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

case 'matnr':
    return matnr;
