add department_id to user collection

This commit is contained in:
崔红保 2021-01-10 10:19:08 +08:00
parent 37a23abe6f
commit 7ce677f5ae

View File

@ -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": "角色",