mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2025-01-04 01:52:21 +08:00
feat:资源分配功能
This commit is contained in:
parent
169c8ae718
commit
d253aef0d4
@ -29,5 +29,7 @@ public class SysRole extends BaseEntity {
|
||||
@TableField(exist = false)
|
||||
private List<Integer> menuIds;
|
||||
|
||||
@TableField(exist = false)
|
||||
private List<Integer> resourceIds;
|
||||
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user