feat:资源分配功能

This commit is contained in:
haoxr 2020-10-15 18:02:35 +08:00
parent 169c8ae718
commit d253aef0d4
3 changed files with 6 additions and 0 deletions

View File

@ -29,5 +29,7 @@ public class SysRole extends BaseEntity {
@TableField(exist = false)
private List<Integer> menuIds;
@TableField(exist = false)
private List<Integer> resourceIds;
}

View File

@ -1,8 +1,10 @@
package com.youlai.admin.api.entity;
import lombok.Data;
import lombok.experimental.Accessors;
@Data
@Accessors(chain = true)
public class SysRoleMenu {
private Integer roleId;

View File

@ -1,8 +1,10 @@
package com.youlai.admin.api.entity;
import lombok.Data;
import lombok.experimental.Accessors;
@Data
@Accessors(chain = true)
public class SysRoleResource {
private Integer roleId;
private Integer resourceId;