更新数据库,增加apifox实体json
This commit is contained in:
50
schoolNewsServ/.doc/apifox/domain/dto/TbSysDept.json
Normal file
50
schoolNewsServ/.doc/apifox/domain/dto/TbSysDept.json
Normal 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"]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user