修改权限表

master
qi_liang 6 years ago
parent 9b526947a1
commit 418f122496
  1. 27
      src/main/java/com/lq/entity/SysPermission.java

@ -1,6 +1,5 @@
package com.lq.entity; package com.lq.entity;
import com.lq.code.annotation.Length;
import com.lq.code.entity.IdEntity; import com.lq.code.entity.IdEntity;
/** 权限表 /** 权限表
@ -11,9 +10,16 @@ public class SysPermission extends IdEntity{
/** /**
* 权限名称 * 权限名称
*/ */
@Length(value = 80)
private String name; private String name;
/**
* 权限类型
*/
private int permissionType;
/**
* 权限键值
*/
private String permissionKey;
public String getName() { public String getName() {
return name; return name;
@ -23,4 +29,19 @@ public class SysPermission extends IdEntity{
this.name = name; this.name = name;
} }
public int getPermissionType() {
return permissionType;
}
public void setPermissionType(int permissionType) {
this.permissionType = permissionType;
}
public String getPermissionKey() {
return permissionKey;
}
public void setPermissionKey(String permissionKey) {
this.permissionKey = permissionKey;
}
} }

Loading…
Cancel
Save