diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/vo/ExportRoleMenuVo.java b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/vo/ExportRoleMenuVo.java new file mode 100644 index 00000000..e4d5e0d3 --- /dev/null +++ b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/vo/ExportRoleMenuVo.java @@ -0,0 +1,67 @@ +package com.ruoyi.common.core.domain.entity.vo; + + +import com.ruoyi.common.annotation.Excel; + +//导出角色权限Vo类 + +public class ExportRoleMenuVo { + + /** 角色id */ + private Long roleId; + + /** 角色姓名 */ + @Excel(name = "角色姓名") + private String roleName; + + /** 角色权限字符串 */ + @Excel(name = "角色权限字符") + private String roleKey; + + /** 角色权限(对应节点标题) */ + @Excel(name = "角色权限") + private String title; + + public Long getRoleId() { + return roleId; + } + + public void setRoleId(Long roleId) { + this.roleId = roleId; + } + + public String getRoleName() { + return roleName; + } + + public void setRoleName(String roleName) { + this.roleName = roleName; + } + + public String getRoleKey() { + return roleKey; + } + + public void setRoleKey(String roleKey) { + this.roleKey = roleKey; + } + + + public String getTitle() { + return title; + } + + public void setTitle(String title) { + this.title = title; + } + + @Override + public String toString() { + return "ExportRoleMenuVo{" + + "roleId=" + roleId + + ", roleName='" + roleName + '\'' + + ", roleKey='" + roleKey + '\'' + + ", title='" + title + '\'' + + '}'; + } +}