Files
mht.js/uniCloud-aliyun/database/CC_PolicyManagement.schema.json
2025-10-22 07:50:31 +08:00

56 lines
1.1 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.

// 文档教程: https://uniapp.dcloud.net.cn/uniCloud/schema
{
"bsonType": "object",
"required": [],
"permission": {
"read": false,
"create": false,
"update": false,
"delete": false
},
"properties": {
"_id": {
"description": "ID系统自动生成"
},
"PolicyName": {
"bsonType": "string",
"description": "策略名称",
"title": "策略名称",
"trim": "both",
"permission": {
"write": false,
"read": "doc._id == auth.uid"
}
},
"Strategy": {
"bsonType": "string",
"description": "策略方案",
"title": "策略方案",
"trim": "both",
"permission": {
"write": false,
"read": "doc._id == auth.uid"
}
},
"register_date": {
"bsonType": "timestamp",
"description": "创建日期",
"title": "创建日期",
"forceDefaultValue": {
"$env": "now",
"read": "doc._id == auth.uid"
}
},
"Operation": {
"bsonType": "string",
"description": "操作",
"title": "操作",
"trim": "both",
"permission": {
"write": false,
"read": "doc._id == auth.uid"
}
}
}
}