From aebf48caa06d2831c56d66ba2f946800dff0b3a0 Mon Sep 17 00:00:00 2001 From: whycxzp <perryhsu@163.com> Date: 星期一, 27 九月 2021 11:16:20 +0800 Subject: [PATCH] 更新用户-角色-菜单-权限 --- src/main/java/com/whyc/pojo/Permission.java | 40 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 40 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/whyc/pojo/Permission.java b/src/main/java/com/whyc/pojo/Permission.java index 6299158..23e90a5 100644 --- a/src/main/java/com/whyc/pojo/Permission.java +++ b/src/main/java/com/whyc/pojo/Permission.java @@ -1,5 +1,6 @@ package com.whyc.pojo; +import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import org.apache.ibatis.type.Alias; @@ -11,7 +12,22 @@ public class Permission { private Integer id; + /**鏉冮檺鍚�*/ private String name; + /** + * 鏉冮檺鍊�-璧勬簮:鎿嶄綔 + *涓句緥: + * deviceInf:getAll + * */ + private String value; + /**鑿滃崟id*/ + private Integer menuId; + + /** + * 杩欎釜鏄敤鎴�-鏉冮檺琛ㄧ殑鐘舵�� + */ + @TableField(exist = false) + private Integer status; public Integer getId() { return id; @@ -28,4 +44,28 @@ public void setName(String name) { this.name = name; } + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + public Integer getMenuId() { + return menuId; + } + + public void setMenuId(Integer menuId) { + this.menuId = menuId; + } + + public Integer getStatus() { + return status; + } + + public void setStatus(Integer status) { + this.status = status; + } } -- Gitblit v1.9.1