mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-26 06:21:14 +08:00
update opendb-department
This commit is contained in:
parent
42b09d2b5b
commit
274e5897ac
@ -21,7 +21,7 @@
|
||||
"bsonType": "string",
|
||||
"description": "部门名称",
|
||||
"title": "部门名称",
|
||||
"trim":"both"
|
||||
"trim": "both"
|
||||
},
|
||||
"level": {
|
||||
"bsonType": "int",
|
||||
@ -30,9 +30,9 @@
|
||||
"sort": {
|
||||
"bsonType": "int",
|
||||
"description": "部门在当前层级下的顺序,由小到大",
|
||||
"title":"显示顺序"
|
||||
"title": "显示顺序"
|
||||
},
|
||||
"manager_uid":{
|
||||
"manager_uid": {
|
||||
"bsonType": "string",
|
||||
"description": "部门主管的userid, 参考`uni-id-users` 表",
|
||||
"foreignKey": "uni-id-users._id"
|
||||
@ -43,6 +43,10 @@
|
||||
"forceDefaultValue": {
|
||||
"$env": "now"
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"bsonType": "int",
|
||||
"description": "部门状态,0-正常、1-禁用"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@opendb/opendb-department",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.1",
|
||||
"description": "部门表",
|
||||
"keywords": ["部门", "组织机构"],
|
||||
"opendb": {
|
||||
|
Loading…
Reference in New Issue
Block a user