opendb/collection/opendb-mall-comments/collection.json

34 lines
824 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.

{
"schema": {
"bsonType": "object",
"required": ["goods_id", "user_id", "comment_content"],
"properties": {
"_id": {
"description": "存储文档 ID文章 ID系统自动生成"
},
"goods_id": {
"bsonType": "string",
"description": "分类 id参考`opendb-mall-categories`表"
},
"user_id": {
"bsonType": "string",
"description": "商品的唯一货号"
},
"comment_content": {
"bsonType": "string",
"description": "评论内容"
},
"comment_date": {
"bsonType": "timestamp",
"description": "评论发表时间"
},
"comment_ip": {
"bsonType": "string",
"description": "评论发表时 IP 地址"
}
}
},
"data": [],
"index": []
}