This commit is contained in:
2023-11-16 17:33:49 +08:00
parent ab9425f4c2
commit d0897e57e0
145 changed files with 604 additions and 304 deletions

View File

@@ -10,6 +10,12 @@ import top.fatweb.api.vo.PageVo
import top.fatweb.api.vo.permission.RoleVo
import top.fatweb.api.vo.permission.RoleWithPowerVo
/**
* Role converter
*
* @author FatttSnake
* @since 1.0.0
*/
object RoleConverter {
fun roleToRoleVo(role: Role) = RoleVo(
id = role.id,