Optimize code
This commit is contained in:
20
src/main/kotlin/top/fatweb/api/vo/permission/MenuVo.kt
Normal file
20
src/main/kotlin/top/fatweb/api/vo/permission/MenuVo.kt
Normal file
@@ -0,0 +1,20 @@
|
||||
package top.fatweb.api.vo.permission
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema
|
||||
|
||||
@Schema(description = "菜单返回参数")
|
||||
data class MenuVo(
|
||||
val id: Long?,
|
||||
|
||||
@Schema(description = "菜单名", example = "System")
|
||||
val name: String?,
|
||||
|
||||
@Schema(description = "URL", example = "/system")
|
||||
val url: String?,
|
||||
|
||||
@Schema(description = "权限 ID")
|
||||
val powerId: Long?,
|
||||
|
||||
@Schema(description = "父 ID")
|
||||
val parentId: Long?
|
||||
)
|
||||
Reference in New Issue
Block a user