mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-26 22:41:15 +08:00
chore: uni-id-roles add title
This commit is contained in:
parent
9352f77ca1
commit
6be766bcb2
@ -2,32 +2,38 @@
|
||||
"schema": {
|
||||
"bsonType": "object",
|
||||
"required": [
|
||||
"role_id",
|
||||
"permission"
|
||||
"role_id"
|
||||
],
|
||||
"properties": {
|
||||
"_id": {
|
||||
"description": "存储文档 ID,系统自动生成"
|
||||
},
|
||||
"role_id": {
|
||||
"title": "唯一ID",
|
||||
"bsonType": "string",
|
||||
"description": "角色唯一标识,不可修改,不允许重复"
|
||||
},
|
||||
"role_name": {
|
||||
"title": "名称",
|
||||
"bsonType": "string",
|
||||
"description": "角色名称"
|
||||
},
|
||||
"permission": {
|
||||
"title": "权限",
|
||||
"bsonType": "array",
|
||||
"description": "角色拥有的权限列表"
|
||||
},
|
||||
"comment": {
|
||||
"title": "备注",
|
||||
"bsonType": "string",
|
||||
"description": "备注"
|
||||
},
|
||||
"create_date": {
|
||||
"bsonType": "timestamp",
|
||||
"description": "创建时间"
|
||||
"description": "创建时间",
|
||||
"forceDefaultValue": {
|
||||
"$env": "now"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user