From 2c0d33d060f52dd1501db029de4675480acdce2c Mon Sep 17 00:00:00 2001 From: wangyaqi Date: Mon, 26 Oct 2020 11:35:12 +0800 Subject: [PATCH] chore: opendb-admin-menus menu_id & enable --- collection/opendb-admin-menus/collection.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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",