Commit 0bd0ffe7 authored by liboyang's avatar liboyang

permission少查询了一个字段

parent 08113e19
...@@ -31,6 +31,8 @@ public class SysPermission implements Serializable { ...@@ -31,6 +31,8 @@ public class SysPermission implements Serializable {
private String permission; private String permission;
private byte available = 0; private byte available = 0;
int zindex;
@ManyToMany @ManyToMany
@JoinTable(name="SysRolePermission",joinColumns={@JoinColumn(name="permissionId")},inverseJoinColumns={@JoinColumn(name="roleId")}) @JoinTable(name="SysRolePermission",joinColumns={@JoinColumn(name="permissionId")},inverseJoinColumns={@JoinColumn(name="roleId")})
private List<SysRole> roles; private List<SysRole> roles;
...@@ -82,4 +84,12 @@ public class SysPermission implements Serializable { ...@@ -82,4 +84,12 @@ public class SysPermission implements Serializable {
public void setRoles(List<SysRole> roles) { public void setRoles(List<SysRole> roles) {
this.roles = roles; this.roles = roles;
} }
public int getZindex() {
return zindex;
}
public void setZindex(int zindex) {
this.zindex = zindex;
}
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment