update collection/opendb-mall-categories/collection.json.

This commit is contained in:
崔红保 2020-10-26 15:57:54 +08:00 committed by Gitee
parent 5136de5baa
commit 8063fd59bc

View File

@ -1,22 +1,27 @@
{
"schema": {
"bsonType": "object",
"required": ["name", "description", "create_date"],
"required": ["name", "create_date"],
"properties": {
"_id": {
"description": "存储文档 ID文章 ID系统自动生成"
},
"name": {
"bsonType": "string",
"description": "类别名称"
"description": "类别名称",
"title":"类别名称"
},
"description": {
"bsonType": "string",
"description": "类别描述"
"description": "类别描述",
"title":"类别描述"
},
"create_date": {
"bsonType": "timestamp",
"description": "创建时间"
"description": "创建时间",
"defaultValue": {
"$env": "now"
}
}
}
},