Files
schoolNews/schoolNewsServ/.doc/apifox/domain/dto/TbSysMenu.json

73 lines
1.8 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "TbSysMenu",
"description": "系统菜单信息",
"type": "object",
"allOf": [
{
"$ref": "BaseDTO.json"
},
{
"type": "object",
"properties": {
"menuID": {
"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": "用户管理菜单"
},
"url": {
"type": "string",
"description": "菜单URL",
"example": "/user/manage"
},
"icon": {
"type": "string",
"description": "菜单图标",
"example": "user"
},
"orderNum": {
"type": "integer",
"description": "菜单顺序",
"minimum": 0,
"example": 1
},
"type": {
"type": "integer",
"description": "菜单类型(0-目录,1-菜单,2-按钮)",
"enum": [0, 1, 2],
"example": 1
},
"creator": {
"type": "string",
"description": "创建人",
"example": "admin"
},
"updater": {
"type": "string",
"description": "更新人",
"example": "admin"
}
},
"required": ["menuID", "name", "type"]
}
]
}