@@ -0,0 +1,17 @@
+package cn.tonyandmoney.tuon.core.user;
+
+/**
+ * @Classname IPermission
+ * @Description 权限
+ * @Date 2019/9/2 20:50
+ * @Created by Administrator
+ */
+public interface IPermission {
+ /**
+ * 获取权限
+ *
+ * @return 权限
+ String getPermission();
+}
@@ -31,6 +31,13 @@ public interface IUser {
*/
String getAccount();
+ List<Long> getRoleIds();
+ List<Long> getGroupIds();
+ List<Long> getDeptIds();
List<IDept> getDepts();
List<IRole> getRoles();