更新数据库,增加apifox实体json

This commit is contained in:
2025-10-06 16:19:35 +08:00
parent 1970865acb
commit a3e8687b31
20 changed files with 936 additions and 29 deletions

View File

@@ -0,0 +1,50 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "TbSysDept",
"description": "系统部门信息",
"type": "object",
"allOf": [
{
"$ref": "BaseDTO.json"
},
{
"type": "object",
"properties": {
"deptID": {
"type": "string",
"description": "部门ID",
"example": "1234567890123456789"
},
"parentID": {
"type": "string",
"description": "父部门ID",
"example": "1234567890123456789"
},
"name": {
"type": "string",
"description": "部门名称",
"minLength": 1,
"maxLength": 50,
"example": "技术部"
},
"description": {
"type": "string",
"description": "部门描述",
"maxLength": 200,
"example": "技术开发部门"
},
"creator": {
"type": "string",
"description": "创建人",
"example": "admin"
},
"updater": {
"type": "string",
"description": "更新人",
"example": "admin"
}
},
"required": ["deptID", "name"]
}
]
}