提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.system.controller.admin.permission.vo.permission; |
H |
2 |
|
|
3 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
4 |
import lombok.Data; |
|
5 |
|
|
6 |
import javax.validation.constraints.NotNull; |
|
7 |
import java.util.Collections; |
|
8 |
import java.util.Set; |
|
9 |
|
|
10 |
@Schema(description = "管理后台 - 赋予角色菜单 Request VO") |
|
11 |
@Data |
|
12 |
public class PermissionAssignRoleMenuReqVO { |
|
13 |
|
|
14 |
@Schema(description = "角色编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
|
15 |
@NotNull(message = "角色编号不能为空") |
|
16 |
private Long roleId; |
|
17 |
|
|
18 |
@Schema(description = "菜单编号列表", example = "1,3,5") |
|
19 |
private Set<Long> menuIds = Collections.emptySet(); // 兜底 |
|
20 |
|
|
21 |
} |