更新数据库,增加apifox实体json
This commit is contained in:
45
schoolNewsServ/.doc/apifox/domain/dto/TbSysRole.json
Normal file
45
schoolNewsServ/.doc/apifox/domain/dto/TbSysRole.json
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "TbSysRole",
|
||||
"description": "系统角色信息",
|
||||
"type": "object",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "BaseDTO.json"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"roleID": {
|
||||
"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": ["roleID", "name"]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user