提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.system.controller.admin.auth.vo; |
H |
2 |
|
|
3 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
4 |
import lombok.AllArgsConstructor; |
|
5 |
import lombok.Builder; |
|
6 |
import lombok.Data; |
|
7 |
import lombok.NoArgsConstructor; |
|
8 |
|
|
9 |
import java.util.List; |
|
10 |
|
|
11 |
@Schema(description = "管理后台 - 登录用户的菜单信息 Response VO") |
|
12 |
@Data |
|
13 |
@NoArgsConstructor |
|
14 |
@AllArgsConstructor |
|
15 |
@Builder |
|
16 |
public class AuthMenuRespVO { |
|
17 |
|
|
18 |
@Schema(description = "菜单名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "平台") |
|
19 |
private Long id; |
|
20 |
|
|
21 |
@Schema(description = "父菜单 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
22 |
private Long parentId; |
|
23 |
|
|
24 |
@Schema(description = "菜单名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "平台") |
|
25 |
private String name; |
|
26 |
|
|
27 |
@Schema(description = "路由地址,仅菜单类型为菜单或者目录时,才需要传", example = "post") |
|
28 |
private String path; |
|
29 |
|
|
30 |
@Schema(description = "组件路径,仅菜单类型为菜单时,才需要传", example = "system/post/index") |
|
31 |
private String component; |
|
32 |
|
|
33 |
@Schema(description = "组件名", example = "SystemUser") |
|
34 |
private String componentName; |
|
35 |
|
|
36 |
@Schema(description = "菜单图标,仅菜单类型为菜单或者目录时,才需要传", example = "/menu/list") |
|
37 |
private String icon; |
|
38 |
|
|
39 |
@Schema(description = "是否可见", requiredMode = Schema.RequiredMode.REQUIRED, example = "false") |
|
40 |
private Boolean visible; |
|
41 |
|
|
42 |
@Schema(description = "是否缓存", requiredMode = Schema.RequiredMode.REQUIRED, example = "false") |
|
43 |
private Boolean keepAlive; |
|
44 |
|
|
45 |
@Schema(description = "是否总是显示", example = "false") |
|
46 |
private Boolean alwaysShow; |
|
47 |
|
|
48 |
/** |
|
49 |
* 子路由 |
|
50 |
*/ |
|
51 |
private List<AuthMenuRespVO> children; |
|
52 |
|
|
53 |
} |