opendb/collection/uni-id-score-cashout/collection.json

48 lines
867 B
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
{
"name": "积分兑换现金",
"bsonType": "object",
"required": [],
"permission": {
"read": true,
"create": false,
"update": false,
"delete": false
},
"properties": {
"_id": {
"description": "ID系统自动生成"
},
"user_id": {
"bsonType": "string",
"title": "申请人",
"description": "用户id参考uni-id-users表",
"foreignKey": "uni-id-users._id"
},
"amount": {
"bsonType": "int",
"title": "数量"
},
"balance": {
"bsonType": "int",
"title": "余额"
},
"service": {
"bsonType": "double",
"title": "手续费"
},
"money": {
"bsonType": "int",
"title": "金额",
"trim": "both"
},
"create_date": {
"bsonType": "timestamp",
"title": "创建时间",
"defaultValue": {
"$env": "now"
}
}
}
}