mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2025-01-05 18:42:22 +08:00
feat:资源分配功能
This commit is contained in:
parent
169c8ae718
commit
d253aef0d4
@ -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;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user