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) @TableField(exist = false)
private List<Integer> menuIds; private List<Integer> menuIds;
@TableField(exist = false)
private List<Integer> resourceIds;
} }

View File

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

View File

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