mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-26 06:21:14 +08:00
add department_id to user collection
This commit is contained in:
parent
37a23abe6f
commit
7ce677f5ae
@ -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": "角色",
|
||||
|
Loading…
Reference in New Issue
Block a user