From 7ce677f5aeeb70e822a03c75db272923ac3cf2d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B4=94=E7=BA=A2=E4=BF=9D?= Date: Sun, 10 Jan 2021 10:19:08 +0800 Subject: [PATCH] add department_id to user collection --- collection/uni-id-users/collection.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/collection/uni-id-users/collection.json b/collection/uni-id-users/collection.json index 8e078b8..073c8f2 100644 --- a/collection/uni-id-users/collection.json +++ b/collection/uni-id-users/collection.json @@ -110,6 +110,17 @@ "description": "头像地址", "trim":"both" }, + "department_id": { + "bsonType": "string", + "description": "部门ID", + "title": "部门", + "enumType": "tree", + "enum": { + "collection": "opendb-department", + "orderby": "name asc", + "field": "_id as value, name as text" + } + }, "role": { "bsonType": "array", "title": "角色",