diff --git a/src/main/java/com/keyware/htey/entity/shiro/Role.java b/src/main/java/com/keyware/htey/entity/shiro/Role.java new file mode 100644 index 0000000..664c39f --- /dev/null +++ b/src/main/java/com/keyware/htey/entity/shiro/Role.java @@ -0,0 +1,38 @@ +package com.keyware.htey.entity.shiro; + +import java.io.Serializable; +import java.util.List; + +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.NoArgsConstructor; + +/** + * @author daijiajun + * @version V1.0 + * @description + * @Package com.keyware.htey.entity.shiro + * @date 2025/1/17 10:49 + */ +@Data +@NoArgsConstructor +@AllArgsConstructor +@TableName("ROLE") +public class Role implements Serializable { + private static final long serialVersionUID = -6794098867242678694L; + + private String roleId; + + private String roleCode; + + private String roleName; + + private String createTime; + + private String isSys; + + private String projectSource; + //责任描述,20171121测试管理添加字段 + private String roleDescribe; +} diff --git a/src/main/java/com/keyware/htey/entity/shiro/RoleMenu.java b/src/main/java/com/keyware/htey/entity/shiro/RoleMenu.java new file mode 100644 index 0000000..029886e --- /dev/null +++ b/src/main/java/com/keyware/htey/entity/shiro/RoleMenu.java @@ -0,0 +1,25 @@ +package com.keyware.htey.entity.shiro; + +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.NoArgsConstructor; + +/** + * @author daijiajun + * @version V1.0 + * @description + * @Package com.keyware.htey.entity.shiro + * @date 2025/1/17 10:50 + */ +@Data +@NoArgsConstructor +@AllArgsConstructor +@TableName("ROLE_MENU") +public class RoleMenu { + //角色ID + private String roleId; + + //菜单ID + private String menuId; +} diff --git a/src/main/java/com/keyware/htey/entity/shiro/RolePermission.java b/src/main/java/com/keyware/htey/entity/shiro/RolePermission.java new file mode 100644 index 0000000..54c180c --- /dev/null +++ b/src/main/java/com/keyware/htey/entity/shiro/RolePermission.java @@ -0,0 +1,25 @@ +package com.keyware.htey.entity.shiro; + +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.NoArgsConstructor; + +/** + * @author daijiajun + * @version V1.0 + * @description + * @Package com.keyware.htey.entity.shiro + * @date 2025/1/17 10:51 + */ +@Data +@NoArgsConstructor +@AllArgsConstructor +@TableName("ROLE_PERMISSON") +public class RolePermission { + //角色ID + private String roleId; + + //权限点ID + private String permissionId; +}