Add get power set

This commit is contained in:
2023-11-10 09:43:27 +08:00
parent d176cc684b
commit cb49a3d0a7
14 changed files with 209 additions and 126 deletions

View File

@@ -0,0 +1,14 @@
package top.fatweb.api.converter.permission
import top.fatweb.api.entity.permission.Element
import top.fatweb.api.vo.permission.ElementVo
object ElementConverter {
fun elementToElementVo(element: Element) = ElementVo(
id = element.id,
name = element.name,
powerId = element.powerId,
parentId = element.parentId,
menuId = element.menuId
)
}