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

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

-- locale menu name
area: 'Area',

-- locale field
area: {
    uuid: "uuid",
    name: "name",
    code: "code",
    zoneId: "zoneId",
    type: "type",
    maxCount: "maxCount",
    speedLimit: "speedLimit",
    shapeType: "shapeType",
    shapeData: "shapeData",
    color: "color",
    priority: "priority",
    version: "version",
},

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

case 'area':
    return area;
