mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-27 15:01:15 +08:00
add department_id to user collection
This commit is contained in:
parent
37a23abe6f
commit
7ce677f5ae
@ -110,6 +110,17 @@
|
|||||||
"description": "头像地址",
|
"description": "头像地址",
|
||||||
"trim":"both"
|
"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": {
|
"role": {
|
||||||
"bsonType": "array",
|
"bsonType": "array",
|
||||||
"title": "角色",
|
"title": "角色",
|
||||||
|
Loading…
Reference in New Issue
Block a user