67 lines
1.2 KiB
JSON
67 lines
1.2 KiB
JSON
// 文档教程: https://uniapp.dcloud.net.cn/uniCloud/schema
|
||
{
|
||
"bsonType": "object",
|
||
"required": [],
|
||
"permission": {
|
||
"read": true,
|
||
"create": true,
|
||
"update": true,
|
||
"delete": true
|
||
},
|
||
"properties": {
|
||
"_id": {
|
||
"description": "ID,系统自动生成"
|
||
},
|
||
"comment": {
|
||
"bsonType": "string",
|
||
"description": "备注",
|
||
"title": "备注",
|
||
"trim": "both",
|
||
"permission": {
|
||
"write": false,
|
||
"read": false
|
||
}
|
||
},
|
||
"Area_name": {
|
||
"bsonType": "string",
|
||
"description": "区域名称",
|
||
"title": "区域名称",
|
||
"trim": "both",
|
||
"permission": {
|
||
"write": false,
|
||
"read": "doc._id == auth.uid"
|
||
}
|
||
},
|
||
"SpotNumber": {
|
||
"bsonType": "int",
|
||
"description": "点位数",
|
||
"title": "点位数",
|
||
"trim": "both",
|
||
"permission": {
|
||
"write": false,
|
||
"read": "doc._id == auth.uid"
|
||
}
|
||
},
|
||
"Notes": {
|
||
"bsonType": "string",
|
||
"description": "备注说明",
|
||
"title": "备注说明",
|
||
"trim": "both",
|
||
"permission": {
|
||
"write": false,
|
||
"read": "doc._id == auth.uid"
|
||
}
|
||
},
|
||
"Operation": {
|
||
"bsonType": "string",
|
||
"description": "操作",
|
||
"title": "操作",
|
||
"trim": "both",
|
||
"permission": {
|
||
"write": false,
|
||
"read": "doc._id == auth.uid"
|
||
}
|
||
}
|
||
}
|
||
}
|