mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-09-20 19:43:03 +08:00
f5bc3f86ff
新增parent_id 父id,用于多级分类
30 lines
667 B
JSON
30 lines
667 B
JSON
{
|
||
"schema": {
|
||
"bsonType": "object",
|
||
"required": ["name", "description", "create_date"],
|
||
"properties": {
|
||
"_id": {
|
||
"description": "存储文档 ID(文章 ID),系统自动生成"
|
||
},
|
||
"parent_id": {
|
||
"bsonType": "string",
|
||
"description": "父ID,用于多级分类"
|
||
},
|
||
"name": {
|
||
"bsonType": "string",
|
||
"description": "类别名称"
|
||
},
|
||
"description": {
|
||
"bsonType": "string",
|
||
"description": "类别描述"
|
||
},
|
||
"create_date": {
|
||
"bsonType": "timestamp",
|
||
"description": "创建时间"
|
||
}
|
||
}
|
||
},
|
||
"data": [],
|
||
"index": []
|
||
}
|