daijiajun 权限相关实体类

main
admin 2 days ago
parent dad3ce203e
commit bd3c599bf4
  1. 38
      src/main/java/com/keyware/htey/entity/shiro/Role.java
  2. 25
      src/main/java/com/keyware/htey/entity/shiro/RoleMenu.java
  3. 25
      src/main/java/com/keyware/htey/entity/shiro/RolePermission.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;
}

@ -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;
}

@ -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;
}
Loading…
Cancel
Save