44 lines
790 B
JSON
44 lines
790 B
JSON
{
|
|
"bsonType": "object",
|
|
"permission": {
|
|
"create": true,
|
|
"delete": false,
|
|
"read": false,
|
|
"update": false
|
|
},
|
|
"properties": {
|
|
"_id": {
|
|
"description": "ID,系统自动生成"
|
|
},
|
|
"parent_id": {
|
|
"bsonType": "string",
|
|
"description": "父级ID"
|
|
},
|
|
"user_id": {
|
|
"bsonType": "string",
|
|
"description": "用户ID,参考uni-id-users表"
|
|
},
|
|
"content": {
|
|
"bsonType": "string",
|
|
"description": "操作内容"
|
|
},
|
|
"like_count": {
|
|
"bsonType": "int",
|
|
"description": "点赞数"
|
|
},
|
|
"create_time": {
|
|
"bsonType": "timestamp",
|
|
"description": "创建时间"
|
|
},
|
|
"update_time": {
|
|
"bsonType": "timestamp",
|
|
"description": "更新时间"
|
|
},
|
|
"status": {
|
|
"bsonType": "int",
|
|
"description": "状态"
|
|
}
|
|
},
|
|
"required": ["content"]
|
|
}
|