opendb/collection/uni-stat-app-platforms/collection.json

58 lines
1.2 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"schema": {
"bsonType": "object",
"description": "提供应用的平台字典",
"required": [],
"permission": {
"read": false,
"create": false,
"update": false,
"delete": false
},
"properties": {
"_id": {
"description": "ID系统自动生成"
},
"code": {
"bsonType": "string",
"description": "平台代码,前端上报"
},
"name": {
"bsonType": "string",
"description": "平台名称,管理端显示"
},
"order": {
"bsonType": "int",
"description": "序号,前端页面排序使用",
"defaultValue": 0
},
"enable": {
"bsonType": "bool",
"description": "是否启动",
"defaultValue": true,
"enum": [{
"text": "否",
"value": false
}, {
"text": "是",
"value": true
}]
},
"create_time": {
"bsonType": "timestamp",
"description": "创建时间"
}
}
},
"index": [{
"IndexName": "index_search_platforms",
"MgoKeySchema": {
"MgoIndexKeys": [{
"Name": "code",
"Direction": "1"
}],
"MgoIsUnique": true
}
}]
}