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

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

-- locale menu name
warehouse: 'Warehouse',

-- locale field
warehouse: {
    name: "name",
    code: "code",
    factory: "factory",
    address: "address",
    longitude: "longitude",
    latgitude: "latgitude",
    length: "length",
    width: "width",
    height: "height",
},

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

case 'warehouse':
    return warehouse;
