Rename table t_element to t_func
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package top.fatweb.api.vo.permission
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema
|
||||
import top.fatweb.api.vo.permission.base.ElementVo
|
||||
import top.fatweb.api.vo.permission.base.FuncVo
|
||||
import top.fatweb.api.vo.permission.base.MenuVo
|
||||
import top.fatweb.api.vo.permission.base.ModuleVo
|
||||
import top.fatweb.api.vo.permission.base.OperationVo
|
||||
@@ -20,9 +20,9 @@ data class PowerSetVo(
|
||||
@Schema(description = "菜单列表")
|
||||
val menuList: List<MenuVo>?,
|
||||
|
||||
@Schema(description = "页面元素列表")
|
||||
val elementList: List<ElementVo>?,
|
||||
|
||||
@Schema(description = "功能列表")
|
||||
val funcList: List<FuncVo>?,
|
||||
|
||||
@Schema(description = "操作列表")
|
||||
val operationList: List<OperationVo>?
|
||||
)
|
||||
|
||||
@@ -3,7 +3,7 @@ package top.fatweb.api.vo.permission
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer
|
||||
import io.swagger.v3.oas.annotations.media.Schema
|
||||
import top.fatweb.api.vo.permission.base.ElementVo
|
||||
import top.fatweb.api.vo.permission.base.FuncVo
|
||||
import top.fatweb.api.vo.permission.base.MenuVo
|
||||
import top.fatweb.api.vo.permission.base.ModuleVo
|
||||
import top.fatweb.api.vo.permission.base.OperationVo
|
||||
@@ -38,9 +38,9 @@ data class RoleWithPowerVo(
|
||||
@Schema(description = "菜单列表")
|
||||
val menus: List<MenuVo>?,
|
||||
|
||||
@Schema(description = "页面元素列表")
|
||||
val elements: List<ElementVo>?,
|
||||
|
||||
@Schema(description = "功能列表")
|
||||
val funcs: List<FuncVo>?,
|
||||
|
||||
@Schema(description = "操作列表")
|
||||
val operations: List<OperationVo>?
|
||||
)
|
||||
|
||||
@@ -59,9 +59,9 @@ data class UserWithPowerInfoVo(
|
||||
@Schema(description = "菜单列表")
|
||||
val menus: List<MenuVo>?,
|
||||
|
||||
@Schema(description = "页面元素列表")
|
||||
val elements: List<ElementVo>?,
|
||||
|
||||
@Schema(description = "功能列表")
|
||||
val funcs: List<FuncVo>?,
|
||||
|
||||
@Schema(description = "操作列表")
|
||||
val operations: List<OperationVo>?
|
||||
)
|
||||
@@ -3,16 +3,16 @@ package top.fatweb.api.vo.permission.base
|
||||
import io.swagger.v3.oas.annotations.media.Schema
|
||||
|
||||
/**
|
||||
* Element value object
|
||||
* Function value object
|
||||
*
|
||||
* @author FatttSnake, fatttsnake@gmail.com
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Schema(description = "页面元素返回参数")
|
||||
data class ElementVo(
|
||||
@Schema(description = "功能返回参数")
|
||||
data class FuncVo(
|
||||
val id: Long?,
|
||||
|
||||
@Schema(description = "元素名", example = "AddButton")
|
||||
@Schema(description = "功能名", example = "AddButton")
|
||||
val name: String?,
|
||||
|
||||
@Schema(description = "父 ID")
|
||||
@@ -8,16 +8,16 @@ import io.swagger.v3.oas.annotations.media.Schema
|
||||
* @author FatttSnake, fatttsnake@gmail.com
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Schema(description = "功能返回参数")
|
||||
@Schema(description = "操作返回参数")
|
||||
data class OperationVo(
|
||||
val id: Long?,
|
||||
|
||||
@Schema(description = "功能名", example = "Add User")
|
||||
@Schema(description = "操作名", example = "Add User")
|
||||
val name: String?,
|
||||
|
||||
@Schema(description = "功能编码", example = "system:user:add")
|
||||
@Schema(description = "操作编码", example = "system:user:add")
|
||||
val code: String?,
|
||||
|
||||
@Schema(description = "页面元素 ID")
|
||||
val elementId: Long?
|
||||
@Schema(description = "功能 ID")
|
||||
val funcId: Long?
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user