diff --git a/collection/opendb-admin-menus/collection.json b/collection/opendb-admin-menus/collection.json index 016a657..ec95631 100644 --- a/collection/opendb-admin-menus/collection.json +++ b/collection/opendb-admin-menus/collection.json @@ -9,6 +9,9 @@ "_id": { "description": "存储文档 ID,系统自动生成" }, + "menu_id": { + "description": "菜单项的ID,不可重复" + }, "name": { "bsonType": "string", "description": "菜单名称" @@ -33,9 +36,9 @@ "bsonType": "array", "description": "菜单权限列表" }, - "status": { - "bsonType": "string", - "description": "菜单状态0禁用、1启用" + "enable": { + "bsonType": "bool", + "description": "是否启用菜单,true启用、false禁用" }, "create_date": { "bsonType": "timestamp",