mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-09-20 19:43:03 +08:00
43 lines
897 B
JSON
43 lines
897 B
JSON
{
|
||
"schema": {
|
||
"bsonType": "object",
|
||
"required": [
|
||
"permission_id"
|
||
],
|
||
"properties": {
|
||
"_id": {
|
||
"description": "存储文档 ID,系统自动生成"
|
||
},
|
||
"permission_id": {
|
||
"bsonType": "string",
|
||
"description": "权限唯一标识,不可修改,不允许重复"
|
||
},
|
||
"permission_name": {
|
||
"bsonType": "string",
|
||
"description": "权限名称"
|
||
},
|
||
"comment": {
|
||
"bsonType": "string",
|
||
"description": "备注"
|
||
},
|
||
"create_date": {
|
||
"bsonType": "timestamp",
|
||
"description": "创建时间"
|
||
}
|
||
}
|
||
},
|
||
"index": [
|
||
{
|
||
"IndexName": "permission_id",
|
||
"MgoKeySchema": {
|
||
"MgoIndexKeys": [
|
||
{
|
||
"Name": "permission_id",
|
||
"Direction": "1"
|
||
}
|
||
],
|
||
"MgoIsUnique": true
|
||
}
|
||
}
|
||
]
|
||
} |