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

insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Query 库位信息表', '78', '1', 'manager:loc:list', '0', '1', '1');
insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Create 库位信息表', '78', '1', 'manager:loc:save', '1', '1', '1');
insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Update 库位信息表', '78', '1', 'manager:loc:update', '2', '1', '1');
insert into `sys_menu` ( `name`, `parent_id`, `type`, `authority`, `sort`, `tenant_id`, `status`) values ( 'Delete 库位信息表', '78', '1', 'manager:loc:remove', '3', '1', '1');

-- locale menu name
loc: 'Loc',

-- locale field
loc: {
    areaId: "areaId",
    code: "code",
    type: "type",
    name: "name",
    flagLogic: "flagLogic",
    fucAtrrs: "fucAtrrs",
    barcode: "barcode",
    unit: "unit",
    size: "size",
    row: "row",
    col: "col",
    lev: "lev",
    channel: "channel",
    maxParts: "maxParts",
    maxPack: "maxPack",
    flagLabelMange: "flagLabelMange",
    locAttrs: "locAttrs",
},

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

case 'loc':
    return loc;
