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

53 lines
1.2 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "TbSysPermission",
"description": "系统权限信息",
"type": "object",
"allOf": [
{
"$ref": "BaseDTO.json"
},
{
"type": "object",
"properties": {
"permissionID": {
"type": "string",
"description": "权限ID",
"example": "1234567890123456789"
},
"name": {
"type": "string",
"description": "权限名称",
"minLength": 1,
"maxLength": 50,
"example": "用户管理"
},
"description": {
"type": "string",
"description": "权限描述",
"maxLength": 200,
"example": "用户管理权限"
},
"code": {
"type": "string",
"description": "权限编码",
"minLength": 1,
"maxLength": 50,
"example": "user:manage"
},
"creator": {
"type": "string",
"description": "创建人",
"example": "admin"
},
"updater": {
"type": "string",
"description": "更新人",
"example": "admin"
}
},
"required": ["permissionID", "name", "code"]
}
]
}