Commit 14d7db0c600e1545558cdc30c0aeba5039556ca9

Authored by YunaiV
1 parent 114f1e48

对齐 boot 与 cloud 的代码

Showing 88 changed files with 156 additions and 151 deletions
yudao-framework/yudao-spring-boot-starter-web/src/main/java/cn/iocoder/yudao/framework/jackson/config/YudaoJacksonAutoConfiguration.java
@@ -21,6 +21,7 @@ public class YudaoJacksonAutoConfiguration { @@ -21,6 +21,7 @@ public class YudaoJacksonAutoConfiguration {
21 @Bean 21 @Bean
22 public BeanPostProcessor objectMapperBeanPostProcessor() { 22 public BeanPostProcessor objectMapperBeanPostProcessor() {
23 return new BeanPostProcessor() { 23 return new BeanPostProcessor() {
  24 +
24 @Override 25 @Override
25 public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException { 26 public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException {
26 if (!(bean instanceof ObjectMapper)) { 27 if (!(bean instanceof ObjectMapper)) {
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/codegen/vo/column/CodegenColumnBaseVO.java
@@ -70,7 +70,7 @@ public class CodegenColumnBaseVO { @@ -70,7 +70,7 @@ public class CodegenColumnBaseVO {
70 @NotNull(message = "是否为 List 查询操作的字段不能为空") 70 @NotNull(message = "是否为 List 查询操作的字段不能为空")
71 private Boolean listOperation; 71 private Boolean listOperation;
72 72
73 - @Schema(description = "List 查询操作的条件类型,参见 CodegenColumnListConditionEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "LIKE") 73 + @Schema(description = "List 查询操作的条件类型,参见 CodegenColumnListConditionEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "LIKE")
74 @NotNull(message = "List 查询操作的条件类型不能为空") 74 @NotNull(message = "List 查询操作的条件类型不能为空")
75 private String listOperationCondition; 75 private String listOperationCondition;
76 76
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/codegen/vo/table/CodegenTablePageReqVO.java
@@ -17,13 +17,13 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_ @@ -17,13 +17,13 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_
17 @ToString(callSuper = true) 17 @ToString(callSuper = true)
18 public class CodegenTablePageReqVO extends PageParam { 18 public class CodegenTablePageReqVO extends PageParam {
19 19
20 - @Schema(description = "表名称,模糊匹配", example = "yudao") 20 + @Schema(description = "表名称,模糊匹配", example = "yudao")
21 private String tableName; 21 private String tableName;
22 22
23 - @Schema(description = "表描述,模糊匹配", example = "芋道") 23 + @Schema(description = "表描述,模糊匹配", example = "芋道")
24 private String tableComment; 24 private String tableComment;
25 25
26 - @Schema(description = "实体,模糊匹配", example = "Yudao") 26 + @Schema(description = "实体,模糊匹配", example = "Yudao")
27 private String className; 27 private String className;
28 28
29 @Schema(description = "创建时间", example = "[2022-07-01 00:00:00,2022-07-01 23:59:59]") 29 @Schema(description = "创建时间", example = "[2022-07-01 00:00:00,2022-07-01 23:59:59]")
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/config/vo/ConfigExportReqVO.java
@@ -15,10 +15,10 @@ public class ConfigExportReqVO { @@ -15,10 +15,10 @@ public class ConfigExportReqVO {
15 @Schema(description = "参数名称", example = "模糊匹配") 15 @Schema(description = "参数名称", example = "模糊匹配")
16 private String name; 16 private String name;
17 17
18 - @Schema(description = "参数键名,模糊匹配", example = "yunai.db.username") 18 + @Schema(description = "参数键名,模糊匹配", example = "yunai.db.username")
19 private String key; 19 private String key;
20 20
21 - @Schema(description = "参数类型,参见 SysConfigTypeEnum 枚举", example = "1") 21 + @Schema(description = "参数类型,参见 SysConfigTypeEnum 枚举", example = "1")
22 private Integer type; 22 private Integer type;
23 23
24 @Schema(description = "创建时间", example = "[2022-07-01 00:00:00,2022-07-01 23:59:59]") 24 @Schema(description = "创建时间", example = "[2022-07-01 00:00:00,2022-07-01 23:59:59]")
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/config/vo/ConfigPageReqVO.java
@@ -17,13 +17,13 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_ @@ -17,13 +17,13 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_
17 @ToString(callSuper = true) 17 @ToString(callSuper = true)
18 public class ConfigPageReqVO extends PageParam { 18 public class ConfigPageReqVO extends PageParam {
19 19
20 - @Schema(description = "数据源名称,模糊匹配", example = "名称") 20 + @Schema(description = "数据源名称,模糊匹配", example = "名称")
21 private String name; 21 private String name;
22 22
23 - @Schema(description = "参数键名,模糊匹配", example = "yunai.db.username") 23 + @Schema(description = "参数键名,模糊匹配", example = "yunai.db.username")
24 private String key; 24 private String key;
25 25
26 - @Schema(description = "参数类型,参见 SysConfigTypeEnum 枚举", example = "1") 26 + @Schema(description = "参数类型,参见 SysConfigTypeEnum 枚举", example = "1")
27 private Integer type; 27 private Integer type;
28 28
29 @Schema(description = "创建时间", example = "[2022-07-01 00:00:00,2022-07-01 23:59:59]") 29 @Schema(description = "创建时间", example = "[2022-07-01 00:00:00,2022-07-01 23:59:59]")
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/config/vo/ConfigRespVO.java
@@ -21,7 +21,7 @@ public class ConfigRespVO extends ConfigBaseVO { @@ -21,7 +21,7 @@ public class ConfigRespVO extends ConfigBaseVO {
21 @Size(max = 100, message = "参数键名长度不能超过100个字符") 21 @Size(max = 100, message = "参数键名长度不能超过100个字符")
22 private String key; 22 private String key;
23 23
24 - @Schema(description = "参数类型,参见 SysConfigTypeEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 24 + @Schema(description = "参数类型,参见 SysConfigTypeEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
25 private Integer type; 25 private Integer type;
26 26
27 @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "时间戳格式") 27 @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "时间戳格式")
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/file/vo/config/FileConfigCreateReqVO.java
@@ -14,7 +14,7 @@ import java.util.Map; @@ -14,7 +14,7 @@ import java.util.Map;
14 @ToString(callSuper = true) 14 @ToString(callSuper = true)
15 public class FileConfigCreateReqVO extends FileConfigBaseVO { 15 public class FileConfigCreateReqVO extends FileConfigBaseVO {
16 16
17 - @Schema(description = "存储器,参见 FileStorageEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 17 + @Schema(description = "存储器,参见 FileStorageEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
18 @NotNull(message = "存储器不能为空") 18 @NotNull(message = "存储器不能为空")
19 private Integer storage; 19 private Integer storage;
20 20
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/file/vo/config/FileConfigRespVO.java
@@ -18,7 +18,7 @@ public class FileConfigRespVO extends FileConfigBaseVO { @@ -18,7 +18,7 @@ public class FileConfigRespVO extends FileConfigBaseVO {
18 @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 18 @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
19 private Long id; 19 private Long id;
20 20
21 - @Schema(description = "存储器,参见 FileStorageEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 21 + @Schema(description = "存储器,参见 FileStorageEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
22 @NotNull(message = "存储器不能为空") 22 @NotNull(message = "存储器不能为空")
23 private Integer storage; 23 private Integer storage;
24 24
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/file/vo/file/FilePageReqVO.java
@@ -17,10 +17,10 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_ @@ -17,10 +17,10 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_
17 @ToString(callSuper = true) 17 @ToString(callSuper = true)
18 public class FilePageReqVO extends PageParam { 18 public class FilePageReqVO extends PageParam {
19 19
20 - @Schema(description = "文件路径,模糊匹配", example = "yudao") 20 + @Schema(description = "文件路径,模糊匹配", example = "yudao")
21 private String path; 21 private String path;
22 22
23 - @Schema(description = "文件类型,模糊匹配", example = "jpg") 23 + @Schema(description = "文件类型,模糊匹配", example = "jpg")
24 private String type; 24 private String type;
25 25
26 @Schema(description = "创建时间", example = "[2022-07-01 00:00:00, 2022-07-01 23:59:59]") 26 @Schema(description = "创建时间", example = "[2022-07-01 00:00:00, 2022-07-01 23:59:59]")
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/job/vo/job/JobPageReqVO.java
@@ -12,13 +12,13 @@ import lombok.ToString; @@ -12,13 +12,13 @@ import lombok.ToString;
12 @ToString(callSuper = true) 12 @ToString(callSuper = true)
13 public class JobPageReqVO extends PageParam { 13 public class JobPageReqVO extends PageParam {
14 14
15 - @Schema(description = "任务名称,模糊匹配", example = "测试任务") 15 + @Schema(description = "任务名称,模糊匹配", example = "测试任务")
16 private String name; 16 private String name;
17 17
18 - @Schema(description = "任务状态,参见 JobStatusEnum 枚举", example = "1") 18 + @Schema(description = "任务状态,参见 JobStatusEnum 枚举", example = "1")
19 private Integer status; 19 private Integer status;
20 20
21 - @Schema(description = "处理器的名字,模糊匹配", example = "sysUserSessionTimeoutJob") 21 + @Schema(description = "处理器的名字,模糊匹配", example = "sysUserSessionTimeoutJob")
22 private String handlerName; 22 private String handlerName;
23 23
24 } 24 }
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/job/vo/log/JobLogBaseVO.java
@@ -43,7 +43,7 @@ public class JobLogBaseVO { @@ -43,7 +43,7 @@ public class JobLogBaseVO {
43 @Schema(description = "执行时长", example = "123") 43 @Schema(description = "执行时长", example = "123")
44 private Integer duration; 44 private Integer duration;
45 45
46 - @Schema(description = "任务状态,参见 JobLogStatusEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 46 + @Schema(description = "任务状态,参见 JobLogStatusEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
47 @NotNull(message = "任务状态不能为空") 47 @NotNull(message = "任务状态不能为空")
48 private Integer status; 48 private Integer status;
49 49
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/job/vo/log/JobLogExportReqVO.java
@@ -15,7 +15,7 @@ public class JobLogExportReqVO { @@ -15,7 +15,7 @@ public class JobLogExportReqVO {
15 @Schema(description = "任务编号", example = "10") 15 @Schema(description = "任务编号", example = "10")
16 private Long jobId; 16 private Long jobId;
17 17
18 - @Schema(description = "处理器的名字,模糊匹配") 18 + @Schema(description = "处理器的名字,模糊匹配")
19 private String handlerName; 19 private String handlerName;
20 20
21 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) 21 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
@@ -26,7 +26,7 @@ public class JobLogExportReqVO { @@ -26,7 +26,7 @@ public class JobLogExportReqVO {
26 @Schema(description = "结束执行时间") 26 @Schema(description = "结束执行时间")
27 private LocalDateTime endTime; 27 private LocalDateTime endTime;
28 28
29 - @Schema(description = "任务状态,参见 JobLogStatusEnum 枚举") 29 + @Schema(description = "任务状态,参见 JobLogStatusEnum 枚举")
30 private Integer status; 30 private Integer status;
31 31
32 } 32 }
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/job/vo/log/JobLogPageReqVO.java
@@ -20,7 +20,7 @@ public class JobLogPageReqVO extends PageParam { @@ -20,7 +20,7 @@ public class JobLogPageReqVO extends PageParam {
20 @Schema(description = "任务编号", example = "10") 20 @Schema(description = "任务编号", example = "10")
21 private Long jobId; 21 private Long jobId;
22 22
23 - @Schema(description = "处理器的名字,模糊匹配") 23 + @Schema(description = "处理器的名字,模糊匹配")
24 private String handlerName; 24 private String handlerName;
25 25
26 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) 26 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
@@ -31,7 +31,7 @@ public class JobLogPageReqVO extends PageParam { @@ -31,7 +31,7 @@ public class JobLogPageReqVO extends PageParam {
31 @Schema(description = "结束执行时间") 31 @Schema(description = "结束执行时间")
32 private LocalDateTime endTime; 32 private LocalDateTime endTime;
33 33
34 - @Schema(description = "任务状态,参见 JobLogStatusEnum 枚举") 34 + @Schema(description = "任务状态,参见 JobLogStatusEnum 枚举")
35 private Integer status; 35 private Integer status;
36 36
37 } 37 }
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/logger/vo/apiaccesslog/ApiAccessLogBaseVO.java
@@ -24,7 +24,7 @@ public class ApiAccessLogBaseVO { @@ -24,7 +24,7 @@ public class ApiAccessLogBaseVO {
24 @NotNull(message = "用户编号不能为空") 24 @NotNull(message = "用户编号不能为空")
25 private Long userId; 25 private Long userId;
26 26
27 - @Schema(description = "用户类型,参见 UserTypeEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "2") 27 + @Schema(description = "用户类型,参见 UserTypeEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
28 @NotNull(message = "用户类型不能为空") 28 @NotNull(message = "用户类型不能为空")
29 private Integer userType; 29 private Integer userType;
30 30
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/logger/vo/apiaccesslog/ApiAccessLogExportReqVO.java
@@ -21,7 +21,7 @@ public class ApiAccessLogExportReqVO { @@ -21,7 +21,7 @@ public class ApiAccessLogExportReqVO {
21 @Schema(description = "应用名", example = "dashboard") 21 @Schema(description = "应用名", example = "dashboard")
22 private String applicationName; 22 private String applicationName;
23 23
24 - @Schema(description = "请求地址,模糊匹配", example = "/xxx/yyy") 24 + @Schema(description = "请求地址,模糊匹配", example = "/xxx/yyy")
25 private String requestUrl; 25 private String requestUrl;
26 26
27 @Schema(description = "开始时间", example = "[2022-07-01 00:00:00, 2022-07-01 23:59:59]") 27 @Schema(description = "开始时间", example = "[2022-07-01 00:00:00, 2022-07-01 23:59:59]")
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/logger/vo/apiaccesslog/ApiAccessLogPageReqVO.java
@@ -26,7 +26,7 @@ public class ApiAccessLogPageReqVO extends PageParam { @@ -26,7 +26,7 @@ public class ApiAccessLogPageReqVO extends PageParam {
26 @Schema(description = "应用名", example = "dashboard") 26 @Schema(description = "应用名", example = "dashboard")
27 private String applicationName; 27 private String applicationName;
28 28
29 - @Schema(description = "请求地址,模糊匹配", example = "/xxx/yyy") 29 + @Schema(description = "请求地址,模糊匹配", example = "/xxx/yyy")
30 private String requestUrl; 30 private String requestUrl;
31 31
32 @Schema(description = "开始时间", example = "[2022-07-01 00:00:00, 2022-07-01 23:59:59]") 32 @Schema(description = "开始时间", example = "[2022-07-01 00:00:00, 2022-07-01 23:59:59]")
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/app/auth/vo/AppAuthLoginReqVO.java
@@ -33,7 +33,7 @@ public class AppAuthLoginReqVO { @@ -33,7 +33,7 @@ public class AppAuthLoginReqVO {
33 33
34 // ========== 绑定社交登录时,需要传递如下参数 ========== 34 // ========== 绑定社交登录时,需要传递如下参数 ==========
35 35
36 - @Schema(description = "社交平台的类型,参见 SysUserSocialTypeEnum 枚举值", requiredMode = Schema.RequiredMode.REQUIRED, example = "10") 36 + @Schema(description = "社交平台的类型,参见 SysUserSocialTypeEnum 枚举值", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
37 @InEnum(SocialTypeEnum.class) 37 @InEnum(SocialTypeEnum.class)
38 private Integer socialType; 38 private Integer socialType;
39 39
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/app/auth/vo/AppAuthSmsLoginReqVO.java
@@ -35,7 +35,7 @@ public class AppAuthSmsLoginReqVO { @@ -35,7 +35,7 @@ public class AppAuthSmsLoginReqVO {
35 35
36 // ========== 绑定社交登录时,需要传递如下参数 ========== 36 // ========== 绑定社交登录时,需要传递如下参数 ==========
37 37
38 - @Schema(description = "社交平台的类型,参见 SysUserSocialTypeEnum 枚举值", requiredMode = Schema.RequiredMode.REQUIRED, example = "10") 38 + @Schema(description = "社交平台的类型,参见 SysUserSocialTypeEnum 枚举值", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
39 @InEnum(SocialTypeEnum.class) 39 @InEnum(SocialTypeEnum.class)
40 private Integer socialType; 40 private Integer socialType;
41 41
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/app/auth/vo/AppAuthSocialLoginReqVO.java
@@ -18,7 +18,7 @@ import javax.validation.constraints.NotNull; @@ -18,7 +18,7 @@ import javax.validation.constraints.NotNull;
18 @Builder 18 @Builder
19 public class AppAuthSocialLoginReqVO { 19 public class AppAuthSocialLoginReqVO {
20 20
21 - @Schema(description = "社交平台的类型,参见 SysUserSocialTypeEnum 枚举值", requiredMode = Schema.RequiredMode.REQUIRED, example = "10") 21 + @Schema(description = "社交平台的类型,参见 SysUserSocialTypeEnum 枚举值", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
22 @InEnum(SocialTypeEnum.class) 22 @InEnum(SocialTypeEnum.class)
23 @NotNull(message = "社交平台的类型不能为空") 23 @NotNull(message = "社交平台的类型不能为空")
24 private Integer type; 24 private Integer type;
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/app/social/vo/AppSocialUserBindReqVO.java
@@ -18,7 +18,7 @@ import javax.validation.constraints.NotNull; @@ -18,7 +18,7 @@ import javax.validation.constraints.NotNull;
18 @Builder 18 @Builder
19 public class AppSocialUserBindReqVO { 19 public class AppSocialUserBindReqVO {
20 20
21 - @Schema(description = "社交平台的类型,参见 SysUserSocialTypeEnum 枚举值", requiredMode = Schema.RequiredMode.REQUIRED, example = "10") 21 + @Schema(description = "社交平台的类型,参见 SysUserSocialTypeEnum 枚举值", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
22 @InEnum(SocialTypeEnum.class) 22 @InEnum(SocialTypeEnum.class)
23 @NotNull(message = "社交平台的类型不能为空") 23 @NotNull(message = "社交平台的类型不能为空")
24 private Integer type; 24 private Integer type;
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/app/social/vo/AppSocialUserUnbindReqVO.java
@@ -18,7 +18,7 @@ import javax.validation.constraints.NotNull; @@ -18,7 +18,7 @@ import javax.validation.constraints.NotNull;
18 @Builder 18 @Builder
19 public class AppSocialUserUnbindReqVO { 19 public class AppSocialUserUnbindReqVO {
20 20
21 - @Schema(description = "社交平台的类型,参见 SysUserSocialTypeEnum 枚举值", requiredMode = Schema.RequiredMode.REQUIRED, example = "10") 21 + @Schema(description = "社交平台的类型,参见 SysUserSocialTypeEnum 枚举值", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
22 @InEnum(SocialTypeEnum.class) 22 @InEnum(SocialTypeEnum.class)
23 @NotNull(message = "社交平台的类型不能为空") 23 @NotNull(message = "社交平台的类型不能为空")
24 private Integer type; 24 private Integer type;
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/auth/AuthController.java
@@ -55,6 +55,7 @@ public class AuthController { @@ -55,6 +55,7 @@ public class AuthController {
55 private PermissionService permissionService; 55 private PermissionService permissionService;
56 @Resource 56 @Resource
57 private SocialUserService socialUserService; 57 private SocialUserService socialUserService;
  58 +
58 @Resource 59 @Resource
59 private SecurityProperties securityProperties; 60 private SecurityProperties securityProperties;
60 61
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/auth/vo/AuthSocialLoginReqVO.java
@@ -18,7 +18,7 @@ import javax.validation.constraints.NotNull; @@ -18,7 +18,7 @@ import javax.validation.constraints.NotNull;
18 @Builder 18 @Builder
19 public class AuthSocialLoginReqVO { 19 public class AuthSocialLoginReqVO {
20 20
21 - @Schema(description = "社交平台的类型,参见 UserSocialTypeEnum 枚举值", requiredMode = Schema.RequiredMode.REQUIRED, example = "10") 21 + @Schema(description = "社交平台的类型,参见 UserSocialTypeEnum 枚举值", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
22 @InEnum(SocialTypeEnum.class) 22 @InEnum(SocialTypeEnum.class)
23 @NotNull(message = "社交平台的类型不能为空") 23 @NotNull(message = "社交平台的类型不能为空")
24 private Integer type; 24 private Integer type;
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dept/vo/dept/DeptListReqVO.java
@@ -7,10 +7,10 @@ import lombok.Data; @@ -7,10 +7,10 @@ import lombok.Data;
7 @Data 7 @Data
8 public class DeptListReqVO { 8 public class DeptListReqVO {
9 9
10 - @Schema(description = "部门名称,模糊匹配", example = "芋道") 10 + @Schema(description = "部门名称,模糊匹配", example = "芋道")
11 private String name; 11 private String name;
12 12
13 - @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1") 13 + @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1")
14 private Integer status; 14 private Integer status;
15 15
16 } 16 }
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dept/vo/dept/DeptRespVO.java
@@ -14,7 +14,7 @@ public class DeptRespVO extends DeptBaseVO { @@ -14,7 +14,7 @@ public class DeptRespVO extends DeptBaseVO {
14 @Schema(description = "部门编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") 14 @Schema(description = "部门编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
15 private Long id; 15 private Long id;
16 16
17 - @Schema(description = "状态,参见 CommonStatusEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 17 + @Schema(description = "状态,参见 CommonStatusEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
18 private Integer status; 18 private Integer status;
19 19
20 @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "时间戳格式") 20 @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "时间戳格式")
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dept/vo/post/PostBaseVO.java
@@ -27,7 +27,7 @@ public class PostBaseVO { @@ -27,7 +27,7 @@ public class PostBaseVO {
27 @NotNull(message = "显示顺序不能为空") 27 @NotNull(message = "显示顺序不能为空")
28 private Integer sort; 28 private Integer sort;
29 29
30 - @Schema(description = "状态,参见 CommonStatusEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 30 + @Schema(description = "状态,参见 CommonStatusEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
31 private Integer status; 31 private Integer status;
32 32
33 @Schema(description = "备注", example = "快乐的备注") 33 @Schema(description = "备注", example = "快乐的备注")
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dept/vo/post/PostExportReqVO.java
@@ -7,13 +7,13 @@ import lombok.Data; @@ -7,13 +7,13 @@ import lombok.Data;
7 @Data 7 @Data
8 public class PostExportReqVO { 8 public class PostExportReqVO {
9 9
10 - @Schema(description = "岗位编码,模糊匹配", example = "yudao") 10 + @Schema(description = "岗位编码,模糊匹配", example = "yudao")
11 private String code; 11 private String code;
12 12
13 - @Schema(description = "岗位名称,模糊匹配", example = "芋道") 13 + @Schema(description = "岗位名称,模糊匹配", example = "芋道")
14 private String name; 14 private String name;
15 15
16 - @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1") 16 + @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1")
17 private Integer status; 17 private Integer status;
18 18
19 } 19 }
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dept/vo/post/PostListReqVO.java
@@ -9,10 +9,10 @@ import lombok.EqualsAndHashCode; @@ -9,10 +9,10 @@ import lombok.EqualsAndHashCode;
9 @EqualsAndHashCode(callSuper = true) 9 @EqualsAndHashCode(callSuper = true)
10 public class PostListReqVO extends PostBaseVO { 10 public class PostListReqVO extends PostBaseVO {
11 11
12 - @Schema(description = "岗位名称,模糊匹配", example = "芋道") 12 + @Schema(description = "岗位名称,模糊匹配", example = "芋道")
13 private String name; 13 private String name;
14 14
15 - @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1") 15 + @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1")
16 private Integer status; 16 private Integer status;
17 17
18 } 18 }
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dept/vo/post/PostPageReqVO.java
@@ -10,13 +10,13 @@ import lombok.EqualsAndHashCode; @@ -10,13 +10,13 @@ import lombok.EqualsAndHashCode;
10 @EqualsAndHashCode(callSuper = true) 10 @EqualsAndHashCode(callSuper = true)
11 public class PostPageReqVO extends PageParam { 11 public class PostPageReqVO extends PageParam {
12 12
13 - @Schema(description = "岗位编码,模糊匹配", example = "yudao") 13 + @Schema(description = "岗位编码,模糊匹配", example = "yudao")
14 private String code; 14 private String code;
15 15
16 - @Schema(description = "岗位名称,模糊匹配", example = "芋道") 16 + @Schema(description = "岗位名称,模糊匹配", example = "芋道")
17 private String name; 17 private String name;
18 18
19 - @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1") 19 + @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1")
20 private Integer status; 20 private Integer status;
21 21
22 } 22 }
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dict/vo/data/DictDataExportReqVO.java
@@ -13,11 +13,11 @@ public class DictDataExportReqVO { @@ -13,11 +13,11 @@ public class DictDataExportReqVO {
13 @Size(max = 100, message = "字典标签长度不能超过100个字符") 13 @Size(max = 100, message = "字典标签长度不能超过100个字符")
14 private String label; 14 private String label;
15 15
16 - @Schema(description = "字典类型,模糊匹配", example = "sys_common_sex") 16 + @Schema(description = "字典类型,模糊匹配", example = "sys_common_sex")
17 @Size(max = 100, message = "字典类型类型长度不能超过100个字符") 17 @Size(max = 100, message = "字典类型类型长度不能超过100个字符")
18 private String dictType; 18 private String dictType;
19 19
20 - @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1") 20 + @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1")
21 private Integer status; 21 private Integer status;
22 22
23 } 23 }
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dict/vo/data/DictDataPageReqVO.java
@@ -16,11 +16,11 @@ public class DictDataPageReqVO extends PageParam { @@ -16,11 +16,11 @@ public class DictDataPageReqVO extends PageParam {
16 @Size(max = 100, message = "字典标签长度不能超过100个字符") 16 @Size(max = 100, message = "字典标签长度不能超过100个字符")
17 private String label; 17 private String label;
18 18
19 - @Schema(description = "字典类型,模糊匹配", example = "sys_common_sex") 19 + @Schema(description = "字典类型,模糊匹配", example = "sys_common_sex")
20 @Size(max = 100, message = "字典类型类型长度不能超过100个字符") 20 @Size(max = 100, message = "字典类型类型长度不能超过100个字符")
21 private String dictType; 21 private String dictType;
22 22
23 - @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1") 23 + @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1")
24 private Integer status; 24 private Integer status;
25 25
26 } 26 }
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dict/vo/data/DictDataSimpleRespVO.java
@@ -16,8 +16,9 @@ public class DictDataSimpleRespVO { @@ -16,8 +16,9 @@ public class DictDataSimpleRespVO {
16 @Schema(description = "字典标签", requiredMode = Schema.RequiredMode.REQUIRED, example = "男") 16 @Schema(description = "字典标签", requiredMode = Schema.RequiredMode.REQUIRED, example = "男")
17 private String label; 17 private String label;
18 18
19 - @Schema(description = "颜色类型,default、primary、success、info、warning、danger", example = "default") 19 + @Schema(description = "颜色类型,default、primary、success、info、warning、danger", example = "default")
20 private String colorType; 20 private String colorType;
  21 +
21 @Schema(description = "css 样式", example = "btn-visible") 22 @Schema(description = "css 样式", example = "btn-visible")
22 private String cssClass; 23 private String cssClass;
23 24
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dict/vo/type/DictTypeBaseVO.java
@@ -19,7 +19,7 @@ public class DictTypeBaseVO { @@ -19,7 +19,7 @@ public class DictTypeBaseVO {
19 @Size(max = 100, message = "字典类型名称长度不能超过100个字符") 19 @Size(max = 100, message = "字典类型名称长度不能超过100个字符")
20 private String name; 20 private String name;
21 21
22 - @Schema(description = "状态,参见 CommonStatusEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 22 + @Schema(description = "状态,参见 CommonStatusEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
23 @NotNull(message = "状态不能为空") 23 @NotNull(message = "状态不能为空")
24 private Integer status; 24 private Integer status;
25 25
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dict/vo/type/DictTypeExportReqVO.java
@@ -12,13 +12,13 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_ @@ -12,13 +12,13 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_
12 @Data 12 @Data
13 public class DictTypeExportReqVO { 13 public class DictTypeExportReqVO {
14 14
15 - @Schema(description = "字典类型名称,模糊匹配", example = "芋道") 15 + @Schema(description = "字典类型名称,模糊匹配", example = "芋道")
16 private String name; 16 private String name;
17 17
18 - @Schema(description = "字典类型,模糊匹配", example = "sys_common_sex") 18 + @Schema(description = "字典类型,模糊匹配", example = "sys_common_sex")
19 private String type; 19 private String type;
20 20
21 - @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1") 21 + @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1")
22 private Integer status; 22 private Integer status;
23 23
24 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) 24 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dict/vo/type/DictTypePageReqVO.java
@@ -16,14 +16,14 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_ @@ -16,14 +16,14 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_
16 @EqualsAndHashCode(callSuper = true) 16 @EqualsAndHashCode(callSuper = true)
17 public class DictTypePageReqVO extends PageParam { 17 public class DictTypePageReqVO extends PageParam {
18 18
19 - @Schema(description = "字典类型名称,模糊匹配", example = "芋道") 19 + @Schema(description = "字典类型名称,模糊匹配", example = "芋道")
20 private String name; 20 private String name;
21 21
22 - @Schema(description = "字典类型,模糊匹配", example = "sys_common_sex") 22 + @Schema(description = "字典类型,模糊匹配", example = "sys_common_sex")
23 @Size(max = 100, message = "字典类型类型长度不能超过100个字符") 23 @Size(max = 100, message = "字典类型类型长度不能超过100个字符")
24 private String type; 24 private String type;
25 25
26 - @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1") 26 + @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1")
27 private Integer status; 27 private Integer status;
28 28
29 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) 29 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/errorcode/vo/ErrorCodePageReqVO.java
@@ -17,7 +17,7 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_ @@ -17,7 +17,7 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_
17 @ToString(callSuper = true) 17 @ToString(callSuper = true)
18 public class ErrorCodePageReqVO extends PageParam { 18 public class ErrorCodePageReqVO extends PageParam {
19 19
20 - @Schema(description = "错误码类型,参见 ErrorCodeTypeEnum 枚举类", example = "1") 20 + @Schema(description = "错误码类型,参见 ErrorCodeTypeEnum 枚举类", example = "1")
21 private Integer type; 21 private Integer type;
22 22
23 @Schema(description = "应用名", example = "dashboard") 23 @Schema(description = "应用名", example = "dashboard")
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/errorcode/vo/ErrorCodeRespVO.java
@@ -16,7 +16,7 @@ public class ErrorCodeRespVO extends ErrorCodeBaseVO { @@ -16,7 +16,7 @@ public class ErrorCodeRespVO extends ErrorCodeBaseVO {
16 @Schema(description = "错误码编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") 16 @Schema(description = "错误码编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
17 private Long id; 17 private Long id;
18 18
19 - @Schema(description = "错误码类型,参见 ErrorCodeTypeEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 19 + @Schema(description = "错误码类型,参见 ErrorCodeTypeEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
20 private Integer type; 20 private Integer type;
21 21
22 @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) 22 @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/logger/vo/loginlog/LoginLogBaseVO.java
@@ -15,7 +15,7 @@ import javax.validation.constraints.Size; @@ -15,7 +15,7 @@ import javax.validation.constraints.Size;
15 @Data 15 @Data
16 public class LoginLogBaseVO { 16 public class LoginLogBaseVO {
17 17
18 - @Schema(description = "日志类型,参见 LoginLogTypeEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 18 + @Schema(description = "日志类型,参见 LoginLogTypeEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
19 @NotNull(message = "日志类型不能为空") 19 @NotNull(message = "日志类型不能为空")
20 private Integer logType; 20 private Integer logType;
21 21
@@ -28,7 +28,7 @@ public class LoginLogBaseVO { @@ -28,7 +28,7 @@ public class LoginLogBaseVO {
28 @Size(max = 30, message = "用户账号长度不能超过30个字符") 28 @Size(max = 30, message = "用户账号长度不能超过30个字符")
29 private String username; 29 private String username;
30 30
31 - @Schema(description = "登录结果,参见 LoginResultEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 31 + @Schema(description = "登录结果,参见 LoginResultEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
32 @NotNull(message = "登录结果不能为空") 32 @NotNull(message = "登录结果不能为空")
33 private Integer result; 33 private Integer result;
34 34
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/logger/vo/loginlog/LoginLogExportReqVO.java
@@ -12,10 +12,10 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_ @@ -12,10 +12,10 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_
12 @Data 12 @Data
13 public class LoginLogExportReqVO { 13 public class LoginLogExportReqVO {
14 14
15 - @Schema(description = "用户 IP,模拟匹配", example = "127.0.0.1") 15 + @Schema(description = "用户 IP,模拟匹配", example = "127.0.0.1")
16 private String userIp; 16 private String userIp;
17 17
18 - @Schema(description = "用户账号,模拟匹配", example = "芋道") 18 + @Schema(description = "用户账号,模拟匹配", example = "芋道")
19 private String username; 19 private String username;
20 20
21 @Schema(description = "操作状态", example = "true") 21 @Schema(description = "操作状态", example = "true")
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/logger/vo/loginlog/LoginLogPageReqVO.java
@@ -15,10 +15,10 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_ @@ -15,10 +15,10 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_
15 @EqualsAndHashCode(callSuper = true) 15 @EqualsAndHashCode(callSuper = true)
16 public class LoginLogPageReqVO extends PageParam { 16 public class LoginLogPageReqVO extends PageParam {
17 17
18 - @Schema(description = "用户 IP,模拟匹配", example = "127.0.0.1") 18 + @Schema(description = "用户 IP,模拟匹配", example = "127.0.0.1")
19 private String userIp; 19 private String userIp;
20 20
21 - @Schema(description = "用户账号,模拟匹配", example = "芋道") 21 + @Schema(description = "用户账号,模拟匹配", example = "芋道")
22 private String username; 22 private String username;
23 23
24 @Schema(description = "操作状态", example = "true") 24 @Schema(description = "操作状态", example = "true")
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/logger/vo/loginlog/LoginLogRespVO.java
@@ -20,7 +20,7 @@ public class LoginLogRespVO extends LoginLogBaseVO { @@ -20,7 +20,7 @@ public class LoginLogRespVO extends LoginLogBaseVO {
20 @Schema(description = "用户编号", example = "666") 20 @Schema(description = "用户编号", example = "666")
21 private Long userId; 21 private Long userId;
22 22
23 - @Schema(description = "用户类型,参见 UserTypeEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "2") 23 + @Schema(description = "用户类型,参见 UserTypeEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
24 @NotNull(message = "用户类型不能为空") 24 @NotNull(message = "用户类型不能为空")
25 private Integer userType; 25 private Integer userType;
26 26
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/logger/vo/operatelog/OperateLogBaseVO.java
@@ -31,7 +31,7 @@ public class OperateLogBaseVO { @@ -31,7 +31,7 @@ public class OperateLogBaseVO {
31 @NotEmpty(message = "操作名") 31 @NotEmpty(message = "操作名")
32 private String name; 32 private String name;
33 33
34 - @Schema(description = "操作分类,参见 OperateLogTypeEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 34 + @Schema(description = "操作分类,参见 OperateLogTypeEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
35 @NotNull(message = "操作分类不能为空") 35 @NotNull(message = "操作分类不能为空")
36 private Integer type; 36 private Integer type;
37 37
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/logger/vo/operatelog/OperateLogExportReqVO.java
@@ -12,13 +12,13 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_ @@ -12,13 +12,13 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_
12 @Data 12 @Data
13 public class OperateLogExportReqVO { 13 public class OperateLogExportReqVO {
14 14
15 - @Schema(description = "操作模块,模拟匹配", example = "订单") 15 + @Schema(description = "操作模块,模拟匹配", example = "订单")
16 private String module; 16 private String module;
17 17
18 - @Schema(description = "用户昵称,模拟匹配", example = "芋道") 18 + @Schema(description = "用户昵称,模拟匹配", example = "芋道")
19 private String userNickname; 19 private String userNickname;
20 20
21 - @Schema(description = "操作分类,参见 OperateLogTypeEnum 枚举类", example = "1") 21 + @Schema(description = "操作分类,参见 OperateLogTypeEnum 枚举类", example = "1")
22 private Integer type; 22 private Integer type;
23 23
24 @Schema(description = "操作状态", example = "true") 24 @Schema(description = "操作状态", example = "true")
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/logger/vo/operatelog/OperateLogPageReqVO.java
@@ -13,13 +13,13 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_ @@ -13,13 +13,13 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_
13 @Data 13 @Data
14 public class OperateLogPageReqVO extends PageParam { 14 public class OperateLogPageReqVO extends PageParam {
15 15
16 - @Schema(description = "操作模块,模拟匹配", example = "订单") 16 + @Schema(description = "操作模块,模拟匹配", example = "订单")
17 private String module; 17 private String module;
18 18
19 - @Schema(description = "用户昵称,模拟匹配", example = "芋道") 19 + @Schema(description = "用户昵称,模拟匹配", example = "芋道")
20 private String userNickname; 20 private String userNickname;
21 21
22 - @Schema(description = "操作分类,参见 OperateLogTypeEnum 枚举类", example = "1") 22 + @Schema(description = "操作分类,参见 OperateLogTypeEnum 枚举类", example = "1")
23 private Integer type; 23 private Integer type;
24 24
25 @Schema(description = "操作状态", example = "true") 25 @Schema(description = "操作状态", example = "true")
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/mail/vo/log/MailLogBaseVO.java
@@ -20,7 +20,7 @@ public class MailLogBaseVO { @@ -20,7 +20,7 @@ public class MailLogBaseVO {
20 @Schema(description = "用户编号", example = "30883") 20 @Schema(description = "用户编号", example = "30883")
21 private Long userId; 21 private Long userId;
22 22
23 - @Schema(description = "用户类型 - 参见 UserTypeEnum 枚举", example = "2") 23 + @Schema(description = "用户类型,参见 UserTypeEnum 枚举", example = "2")
24 private Byte userType; 24 private Byte userType;
25 25
26 @Schema(description = "接收邮箱地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "76854@qq.com") 26 @Schema(description = "接收邮箱地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "76854@qq.com")
@@ -58,7 +58,7 @@ public class MailLogBaseVO { @@ -58,7 +58,7 @@ public class MailLogBaseVO {
58 @NotNull(message = "邮件参数不能为空") 58 @NotNull(message = "邮件参数不能为空")
59 private Map<String, Object> templateParams; 59 private Map<String, Object> templateParams;
60 60
61 - @Schema(description = "发送状态 - 参见 MailSendStatusEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 61 + @Schema(description = "发送状态,参见 MailSendStatusEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
62 @NotNull(message = "发送状态不能为空") 62 @NotNull(message = "发送状态不能为空")
63 private Byte sendStatus; 63 private Byte sendStatus;
64 64
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/mail/vo/log/MailLogPageReqVO.java
@@ -20,7 +20,7 @@ public class MailLogPageReqVO extends PageParam { @@ -20,7 +20,7 @@ public class MailLogPageReqVO extends PageParam {
20 @Schema(description = "用户编号", example = "30883") 20 @Schema(description = "用户编号", example = "30883")
21 private Long userId; 21 private Long userId;
22 22
23 - @Schema(description = "用户类型 - 参见 UserTypeEnum 枚举", example = "2") 23 + @Schema(description = "用户类型,参见 UserTypeEnum 枚举", example = "2")
24 private Integer userType; 24 private Integer userType;
25 25
26 @Schema(description = "接收邮箱地址 模糊匹配", example = "76854@qq.com") 26 @Schema(description = "接收邮箱地址 模糊匹配", example = "76854@qq.com")
@@ -32,7 +32,7 @@ public class MailLogPageReqVO extends PageParam { @@ -32,7 +32,7 @@ public class MailLogPageReqVO extends PageParam {
32 @Schema(description = "模板编号", example = "5678") 32 @Schema(description = "模板编号", example = "5678")
33 private Long templateId; 33 private Long templateId;
34 34
35 - @Schema(description = "发送状态 - 参见 MailSendStatusEnum 枚举", example = "1") 35 + @Schema(description = "发送状态,参见 MailSendStatusEnum 枚举", example = "1")
36 private Integer sendStatus; 36 private Integer sendStatus;
37 37
38 @Schema(description = "发送时间") 38 @Schema(description = "发送时间")
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/mail/vo/template/MailTemplateBaseVO.java
@@ -36,7 +36,7 @@ public class MailTemplateBaseVO { @@ -36,7 +36,7 @@ public class MailTemplateBaseVO {
36 @NotEmpty(message = "内容不能为空") 36 @NotEmpty(message = "内容不能为空")
37 private String content; 37 private String content;
38 38
39 - @Schema(description = "状态 - 参见 CommonStatusEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 39 + @Schema(description = "状态,参见 CommonStatusEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
40 @NotNull(message = "状态不能为空") 40 @NotNull(message = "状态不能为空")
41 private Integer status; 41 private Integer status;
42 42
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/mail/vo/template/MailTemplatePageReqVO.java
@@ -17,13 +17,13 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_ @@ -17,13 +17,13 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_
17 @ToString(callSuper = true) 17 @ToString(callSuper = true)
18 public class MailTemplatePageReqVO extends PageParam { 18 public class MailTemplatePageReqVO extends PageParam {
19 19
20 - @Schema(description = "状态 - 参见 CommonStatusEnum 枚举", example = "1") 20 + @Schema(description = "状态,参见 CommonStatusEnum 枚举", example = "1")
21 private Integer status; 21 private Integer status;
22 22
23 - @Schema(description = "标识 - 模糊匹配", example = "code_1024") 23 + @Schema(description = "标识,模糊匹配", example = "code_1024")
24 private String code; 24 private String code;
25 25
26 - @Schema(description = "名称 - 模糊匹配", example = "芋头") 26 + @Schema(description = "名称,模糊匹配", example = "芋头")
27 private String name; 27 private String name;
28 28
29 @Schema(description = "账号编号", example = "2048") 29 @Schema(description = "账号编号", example = "2048")
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/notice/vo/NoticeBaseVO.java
@@ -26,7 +26,7 @@ public class NoticeBaseVO { @@ -26,7 +26,7 @@ public class NoticeBaseVO {
26 @Schema(description = "公告内容", requiredMode = Schema.RequiredMode.REQUIRED, example = "半生编码") 26 @Schema(description = "公告内容", requiredMode = Schema.RequiredMode.REQUIRED, example = "半生编码")
27 private String content; 27 private String content;
28 28
29 - @Schema(description = "状态,参见 CommonStatusEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 29 + @Schema(description = "状态,参见 CommonStatusEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
30 private Integer status; 30 private Integer status;
31 31
32 } 32 }
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/notice/vo/NoticePageReqVO.java
@@ -10,10 +10,10 @@ import lombok.EqualsAndHashCode; @@ -10,10 +10,10 @@ import lombok.EqualsAndHashCode;
10 @EqualsAndHashCode(callSuper = true) 10 @EqualsAndHashCode(callSuper = true)
11 public class NoticePageReqVO extends PageParam { 11 public class NoticePageReqVO extends PageParam {
12 12
13 - @Schema(description = "通知公告名称,模糊匹配", example = "芋道") 13 + @Schema(description = "通知公告名称,模糊匹配", example = "芋道")
14 private String title; 14 private String title;
15 15
16 - @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1") 16 + @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1")
17 private Integer status; 17 private Integer status;
18 18
19 } 19 }
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/notify/vo/message/NotifyMessageBaseVO.java
@@ -21,7 +21,7 @@ public class NotifyMessageBaseVO { @@ -21,7 +21,7 @@ public class NotifyMessageBaseVO {
21 @NotNull(message = "用户编号不能为空") 21 @NotNull(message = "用户编号不能为空")
22 private Long userId; 22 private Long userId;
23 23
24 - @Schema(description = "用户类型 - 参见 UserTypeEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 24 + @Schema(description = "用户类型,参见 UserTypeEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
25 @NotNull(message = "用户类型不能为空") 25 @NotNull(message = "用户类型不能为空")
26 private Byte userType; 26 private Byte userType;
27 27
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/notify/vo/template/NotifyTemplateBaseVO.java
@@ -9,9 +9,9 @@ import javax.validation.constraints.NotEmpty; @@ -9,9 +9,9 @@ import javax.validation.constraints.NotEmpty;
9 import javax.validation.constraints.NotNull; 9 import javax.validation.constraints.NotNull;
10 10
11 /** 11 /**
12 -* 站内信模版 Base VO,提供给添加、修改、详细的子 VO 使用  
13 -* 如果子 VO 存在差异的字段,请不要添加到这里,影响 Swagger 文档生成  
14 -*/ 12 + * 站内信模版 Base VO,提供给添加、修改、详细的子 VO 使用
  13 + * 如果子 VO 存在差异的字段,请不要添加到这里,影响 Swagger 文档生成
  14 + */
15 @Data 15 @Data
16 public class NotifyTemplateBaseVO { 16 public class NotifyTemplateBaseVO {
17 17
@@ -23,7 +23,7 @@ public class NotifyTemplateBaseVO { @@ -23,7 +23,7 @@ public class NotifyTemplateBaseVO {
23 @NotNull(message = "模版编码不能为空") 23 @NotNull(message = "模版编码不能为空")
24 private String code; 24 private String code;
25 25
26 - @Schema(description = "模版类型 - 对应 system_notify_template_type 字典", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 26 + @Schema(description = "模版类型,对应 system_notify_template_type 字典", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
27 @NotNull(message = "模版类型不能为空") 27 @NotNull(message = "模版类型不能为空")
28 private Integer type; 28 private Integer type;
29 29
@@ -35,7 +35,7 @@ public class NotifyTemplateBaseVO { @@ -35,7 +35,7 @@ public class NotifyTemplateBaseVO {
35 @NotEmpty(message = "模版内容不能为空") 35 @NotEmpty(message = "模版内容不能为空")
36 private String content; 36 private String content;
37 37
38 - @Schema(description = "状态 - 参见 CommonStatusEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 38 + @Schema(description = "状态,参见 CommonStatusEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
39 @NotNull(message = "状态不能为空") 39 @NotNull(message = "状态不能为空")
40 @InEnum(value = CommonStatusEnum.class, message = "状态必须是 {value}") 40 @InEnum(value = CommonStatusEnum.class, message = "状态必须是 {value}")
41 private Integer status; 41 private Integer status;
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/notify/vo/template/NotifyTemplatePageReqVO.java
1 package cn.iocoder.yudao.module.system.controller.admin.notify.vo.template; 1 package cn.iocoder.yudao.module.system.controller.admin.notify.vo.template;
2 2
  3 +import cn.iocoder.yudao.framework.common.pojo.PageParam;
3 import io.swagger.v3.oas.annotations.media.Schema; 4 import io.swagger.v3.oas.annotations.media.Schema;
4 -import lombok.*; 5 +import lombok.Data;
  6 +import lombok.EqualsAndHashCode;
  7 +import lombok.ToString;
  8 +import org.springframework.format.annotation.DateTimeFormat;
5 9
6 import java.time.LocalDateTime; 10 import java.time.LocalDateTime;
7 -import cn.iocoder.yudao.framework.common.pojo.PageParam;  
8 -import org.springframework.format.annotation.DateTimeFormat;  
9 11
10 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; 12 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
11 13
@@ -21,7 +23,7 @@ public class NotifyTemplatePageReqVO extends PageParam { @@ -21,7 +23,7 @@ public class NotifyTemplatePageReqVO extends PageParam {
21 @Schema(description = "模版名称", example = "我是名称") 23 @Schema(description = "模版名称", example = "我是名称")
22 private String name; 24 private String name;
23 25
24 - @Schema(description = "状态 - 参见 CommonStatusEnum 枚举类", example = "1") 26 + @Schema(description = "状态,参见 CommonStatusEnum 枚举类", example = "1")
25 private Integer status; 27 private Integer status;
26 28
27 @Schema(description = "创建时间") 29 @Schema(description = "创建时间")
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/oauth2/vo/client/OAuth2ClientBaseVO.java
@@ -38,7 +38,7 @@ public class OAuth2ClientBaseVO { @@ -38,7 +38,7 @@ public class OAuth2ClientBaseVO {
38 @Schema(description = "应用描述", example = "我是一个应用") 38 @Schema(description = "应用描述", example = "我是一个应用")
39 private String description; 39 private String description;
40 40
41 - @Schema(description = "状态,参见 CommonStatusEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 41 + @Schema(description = "状态,参见 CommonStatusEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
42 @NotNull(message = "状态不能为空") 42 @NotNull(message = "状态不能为空")
43 private Integer status; 43 private Integer status;
44 44
@@ -55,7 +55,7 @@ public class OAuth2ClientBaseVO { @@ -55,7 +55,7 @@ public class OAuth2ClientBaseVO {
55 private List<@NotEmpty(message = "重定向的 URI 不能为空") 55 private List<@NotEmpty(message = "重定向的 URI 不能为空")
56 @URL(message = "重定向的 URI 格式不正确") String> redirectUris; 56 @URL(message = "重定向的 URI 格式不正确") String> redirectUris;
57 57
58 - @Schema(description = "授权类型,参见 OAuth2GrantTypeEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "password") 58 + @Schema(description = "授权类型,参见 OAuth2GrantTypeEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "password")
59 @NotNull(message = "授权类型不能为空") 59 @NotNull(message = "授权类型不能为空")
60 private List<String> authorizedGrantTypes; 60 private List<String> authorizedGrantTypes;
61 61
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/oauth2/vo/client/OAuth2ClientPageReqVO.java
@@ -10,10 +10,10 @@ import cn.iocoder.yudao.framework.common.pojo.PageParam; @@ -10,10 +10,10 @@ import cn.iocoder.yudao.framework.common.pojo.PageParam;
10 @ToString(callSuper = true) 10 @ToString(callSuper = true)
11 public class OAuth2ClientPageReqVO extends PageParam { 11 public class OAuth2ClientPageReqVO extends PageParam {
12 12
13 - @Schema(description = "应用名,模糊匹配", example = "土豆") 13 + @Schema(description = "应用名,模糊匹配", example = "土豆")
14 private String name; 14 private String name;
15 15
16 - @Schema(description = "状态,参见 CommonStatusEnum 枚举", example = "1") 16 + @Schema(description = "状态,参见 CommonStatusEnum 枚举", example = "1")
17 private Integer status; 17 private Integer status;
18 18
19 } 19 }
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/oauth2/vo/open/OAuth2OpenCheckTokenRespVO.java
@@ -17,7 +17,7 @@ public class OAuth2OpenCheckTokenRespVO { @@ -17,7 +17,7 @@ public class OAuth2OpenCheckTokenRespVO {
17 @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "666") 17 @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "666")
18 @JsonProperty("user_id") 18 @JsonProperty("user_id")
19 private Long userId; 19 private Long userId;
20 - @Schema(description = "用户类型,参见 UserTypeEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "2") 20 + @Schema(description = "用户类型,参见 UserTypeEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
21 @JsonProperty("user_type") 21 @JsonProperty("user_type")
22 private Integer userType; 22 private Integer userType;
23 @Schema(description = "租户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") 23 @Schema(description = "租户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/oauth2/vo/token/OAuth2AccessTokenPageReqVO.java
@@ -13,7 +13,7 @@ public class OAuth2AccessTokenPageReqVO extends PageParam { @@ -13,7 +13,7 @@ public class OAuth2AccessTokenPageReqVO extends PageParam {
13 @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "666") 13 @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "666")
14 private Long userId; 14 private Long userId;
15 15
16 - @Schema(description = "用户类型,参见 UserTypeEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "2") 16 + @Schema(description = "用户类型,参见 UserTypeEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
17 private Integer userType; 17 private Integer userType;
18 18
19 @Schema(description = "客户端编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2") 19 @Schema(description = "客户端编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/oauth2/vo/token/OAuth2AccessTokenRespVO.java
@@ -25,7 +25,7 @@ public class OAuth2AccessTokenRespVO { @@ -25,7 +25,7 @@ public class OAuth2AccessTokenRespVO {
25 @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "666") 25 @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "666")
26 private Long userId; 26 private Long userId;
27 27
28 - @Schema(description = "用户类型,参见 UserTypeEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "2") 28 + @Schema(description = "用户类型,参见 UserTypeEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
29 private Integer userType; 29 private Integer userType;
30 30
31 @Schema(description = "客户端编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2") 31 @Schema(description = "客户端编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/oauth2/vo/user/OAuth2UserInfoRespVO.java
@@ -27,7 +27,7 @@ public class OAuth2UserInfoRespVO { @@ -27,7 +27,7 @@ public class OAuth2UserInfoRespVO {
27 @Schema(description = "手机号码", example = "15601691300") 27 @Schema(description = "手机号码", example = "15601691300")
28 private String mobile; 28 private String mobile;
29 29
30 - @Schema(description = "用户性别,参见 SexEnum 枚举类", example = "1") 30 + @Schema(description = "用户性别,参见 SexEnum 枚举类", example = "1")
31 private Integer sex; 31 private Integer sex;
32 32
33 @Schema(description = "用户头像", example = "https://www.iocoder.cn/xxx.png") 33 @Schema(description = "用户头像", example = "https://www.iocoder.cn/xxx.png")
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/oauth2/vo/user/OAuth2UserUpdateReqVO.java
@@ -28,7 +28,7 @@ public class OAuth2UserUpdateReqVO { @@ -28,7 +28,7 @@ public class OAuth2UserUpdateReqVO {
28 @Length(min = 11, max = 11, message = "手机号长度必须 11 位") 28 @Length(min = 11, max = 11, message = "手机号长度必须 11 位")
29 private String mobile; 29 private String mobile;
30 30
31 - @Schema(description = "用户性别,参见 SexEnum 枚举类", example = "1") 31 + @Schema(description = "用户性别,参见 SexEnum 枚举类", example = "1")
32 private Integer sex; 32 private Integer sex;
33 33
34 } 34 }
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/permission/vo/menu/MenuBaseVO.java
@@ -23,7 +23,7 @@ public class MenuBaseVO { @@ -23,7 +23,7 @@ public class MenuBaseVO {
23 @Size(max = 100) 23 @Size(max = 100)
24 private String permission; 24 private String permission;
25 25
26 - @Schema(description = "类型,参见 MenuTypeEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 26 + @Schema(description = "类型,参见 MenuTypeEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
27 @NotNull(message = "菜单类型不能为空") 27 @NotNull(message = "菜单类型不能为空")
28 private Integer type; 28 private Integer type;
29 29
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/permission/vo/menu/MenuListReqVO.java
@@ -7,10 +7,10 @@ import lombok.Data; @@ -7,10 +7,10 @@ import lombok.Data;
7 @Data 7 @Data
8 public class MenuListReqVO { 8 public class MenuListReqVO {
9 9
10 - @Schema(description = "菜单名称,模糊匹配", example = "芋道") 10 + @Schema(description = "菜单名称,模糊匹配", example = "芋道")
11 private String name; 11 private String name;
12 12
13 - @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1") 13 + @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1")
14 private Integer status; 14 private Integer status;
15 15
16 } 16 }
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/permission/vo/menu/MenuRespVO.java
@@ -18,7 +18,7 @@ public class MenuRespVO extends MenuBaseVO { @@ -18,7 +18,7 @@ public class MenuRespVO extends MenuBaseVO {
18 @Schema(description = "菜单编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") 18 @Schema(description = "菜单编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
19 private Long id; 19 private Long id;
20 20
21 - @Schema(description = "状态,参见 CommonStatusEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 21 + @Schema(description = "状态,参见 CommonStatusEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
22 private Integer status; 22 private Integer status;
23 23
24 @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "时间戳格式") 24 @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "时间戳格式")
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/permission/vo/menu/MenuSimpleRespVO.java
@@ -22,7 +22,7 @@ public class MenuSimpleRespVO { @@ -22,7 +22,7 @@ public class MenuSimpleRespVO {
22 @Schema(description = "父菜单 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") 22 @Schema(description = "父菜单 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
23 private Long parentId; 23 private Long parentId;
24 24
25 - @Schema(description = "类型,参见 MenuTypeEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 25 + @Schema(description = "类型,参见 MenuTypeEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
26 private Integer type; 26 private Integer type;
27 27
28 } 28 }
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/permission/vo/permission/PermissionAssignRoleDataScopeReqVO.java
@@ -15,7 +15,7 @@ public class PermissionAssignRoleDataScopeReqVO { @@ -15,7 +15,7 @@ public class PermissionAssignRoleDataScopeReqVO {
15 @NotNull(message = "角色编号不能为空") 15 @NotNull(message = "角色编号不能为空")
16 private Long roleId; 16 private Long roleId;
17 17
18 - @Schema(description = "数据范围,参见 DataScopeEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 18 + @Schema(description = "数据范围,参见 DataScopeEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
19 @NotNull(message = "数据范围不能为空") 19 @NotNull(message = "数据范围不能为空")
20 // TODO 这里要多一个枚举校验 20 // TODO 这里要多一个枚举校验
21 private Integer dataScope; 21 private Integer dataScope;
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/permission/vo/role/RoleExportReqVO.java
@@ -12,13 +12,13 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_ @@ -12,13 +12,13 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_
12 @Data 12 @Data
13 public class RoleExportReqVO { 13 public class RoleExportReqVO {
14 14
15 - @Schema(description = "角色名称,模糊匹配", example = "芋道") 15 + @Schema(description = "角色名称,模糊匹配", example = "芋道")
16 private String name; 16 private String name;
17 17
18 - @Schema(description = "角色标识,模糊匹配", example = "yudao") 18 + @Schema(description = "角色标识,模糊匹配", example = "yudao")
19 private String code; 19 private String code;
20 20
21 - @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1") 21 + @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1")
22 private Integer status; 22 private Integer status;
23 23
24 @Schema(description = "开始时间", example = "[2022-07-01 00:00:00,2022-07-01 23:59:59]") 24 @Schema(description = "开始时间", example = "[2022-07-01 00:00:00,2022-07-01 23:59:59]")
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/permission/vo/role/RolePageReqVO.java
@@ -15,13 +15,13 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_ @@ -15,13 +15,13 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_
15 @EqualsAndHashCode(callSuper = true) 15 @EqualsAndHashCode(callSuper = true)
16 public class RolePageReqVO extends PageParam { 16 public class RolePageReqVO extends PageParam {
17 17
18 - @Schema(description = "角色名称,模糊匹配", example = "芋道") 18 + @Schema(description = "角色名称,模糊匹配", example = "芋道")
19 private String name; 19 private String name;
20 20
21 - @Schema(description = "角色标识,模糊匹配", example = "yudao") 21 + @Schema(description = "角色标识,模糊匹配", example = "yudao")
22 private String code; 22 private String code;
23 23
24 - @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1") 24 + @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1")
25 private Integer status; 25 private Integer status;
26 26
27 @Schema(description = "创建时间", example = "[2022-07-01 00:00:00,2022-07-01 23:59:59]") 27 @Schema(description = "创建时间", example = "[2022-07-01 00:00:00,2022-07-01 23:59:59]")
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/permission/vo/role/RoleRespVO.java
@@ -19,16 +19,16 @@ public class RoleRespVO extends RoleBaseVO { @@ -19,16 +19,16 @@ public class RoleRespVO extends RoleBaseVO {
19 @Schema(description = "角色编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 19 @Schema(description = "角色编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
20 private Long id; 20 private Long id;
21 21
22 - @Schema(description = "数据范围,参见 DataScopeEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 22 + @Schema(description = "数据范围,参见 DataScopeEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
23 private Integer dataScope; 23 private Integer dataScope;
24 24
25 @Schema(description = "数据范围(指定部门数组)", example = "1") 25 @Schema(description = "数据范围(指定部门数组)", example = "1")
26 private Set<Long> dataScopeDeptIds; 26 private Set<Long> dataScopeDeptIds;
27 27
28 - @Schema(description = "状态,参见 CommonStatusEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 28 + @Schema(description = "状态,参见 CommonStatusEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
29 private Integer status; 29 private Integer status;
30 30
31 - @Schema(description = "角色类型,参见 RoleTypeEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 31 + @Schema(description = "角色类型,参见 RoleTypeEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
32 private Integer type; 32 private Integer type;
33 33
34 @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "时间戳格式") 34 @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "时间戳格式")
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sensitiveword/vo/SensitiveWordBaseVO.java
@@ -21,7 +21,7 @@ public class SensitiveWordBaseVO { @@ -21,7 +21,7 @@ public class SensitiveWordBaseVO {
21 @NotNull(message = "标签不能为空") 21 @NotNull(message = "标签不能为空")
22 private List<String> tags; 22 private List<String> tags;
23 23
24 - @Schema(description = "状态,参见 CommonStatusEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 24 + @Schema(description = "状态,参见 CommonStatusEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
25 @NotNull(message = "状态不能为空") 25 @NotNull(message = "状态不能为空")
26 private Integer status; 26 private Integer status;
27 27
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sensitiveword/vo/SensitiveWordExportReqVO.java
@@ -18,7 +18,7 @@ public class SensitiveWordExportReqVO { @@ -18,7 +18,7 @@ public class SensitiveWordExportReqVO {
18 @Schema(description = "标签", example = "短信,评论") 18 @Schema(description = "标签", example = "短信,评论")
19 private String tag; 19 private String tag;
20 20
21 - @Schema(description = "状态,参见 CommonStatusEnum 枚举类", example = "1") 21 + @Schema(description = "状态,参见 CommonStatusEnum 枚举类", example = "1")
22 private Integer status; 22 private Integer status;
23 23
24 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) 24 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sensitiveword/vo/SensitiveWordPageReqVO.java
@@ -23,7 +23,7 @@ public class SensitiveWordPageReqVO extends PageParam { @@ -23,7 +23,7 @@ public class SensitiveWordPageReqVO extends PageParam {
23 @Schema(description = "标签", example = "短信,评论") 23 @Schema(description = "标签", example = "短信,评论")
24 private String tag; 24 private String tag;
25 25
26 - @Schema(description = "状态,参见 CommonStatusEnum 枚举类", example = "1") 26 + @Schema(description = "状态,参见 CommonStatusEnum 枚举类", example = "1")
27 private Integer status; 27 private Integer status;
28 28
29 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) 29 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sms/vo/channel/SmsChannelCreateReqVO.java
@@ -13,7 +13,7 @@ import javax.validation.constraints.NotNull; @@ -13,7 +13,7 @@ import javax.validation.constraints.NotNull;
13 @ToString(callSuper = true) 13 @ToString(callSuper = true)
14 public class SmsChannelCreateReqVO extends SmsChannelBaseVO { 14 public class SmsChannelCreateReqVO extends SmsChannelBaseVO {
15 15
16 - @Schema(description = "渠道编码,参见 SmsChannelEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "YUN_PIAN") 16 + @Schema(description = "渠道编码,参见 SmsChannelEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "YUN_PIAN")
17 @NotNull(message = "渠道编码不能为空") 17 @NotNull(message = "渠道编码不能为空")
18 private String code; 18 private String code;
19 19
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sms/vo/channel/SmsChannelPageReqVO.java
@@ -20,7 +20,7 @@ public class SmsChannelPageReqVO extends PageParam { @@ -20,7 +20,7 @@ public class SmsChannelPageReqVO extends PageParam {
20 @Schema(description = "任务状态", example = "1") 20 @Schema(description = "任务状态", example = "1")
21 private Integer status; 21 private Integer status;
22 22
23 - @Schema(description = "短信签名,模糊匹配", example = "芋道源码") 23 + @Schema(description = "短信签名,模糊匹配", example = "芋道源码")
24 private String signature; 24 private String signature;
25 25
26 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) 26 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sms/vo/channel/SmsChannelRespVO.java
@@ -16,7 +16,7 @@ public class SmsChannelRespVO extends SmsChannelBaseVO { @@ -16,7 +16,7 @@ public class SmsChannelRespVO extends SmsChannelBaseVO {
16 @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") 16 @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
17 private Long id; 17 private Long id;
18 18
19 - @Schema(description = "渠道编码,参见 SmsChannelEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "YUN_PIAN") 19 + @Schema(description = "渠道编码,参见 SmsChannelEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "YUN_PIAN")
20 private String code; 20 private String code;
21 21
22 @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) 22 @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sms/vo/channel/SmsChannelSimpleRespVO.java
@@ -17,7 +17,7 @@ public class SmsChannelSimpleRespVO { @@ -17,7 +17,7 @@ public class SmsChannelSimpleRespVO {
17 @NotNull(message = "短信签名不能为空") 17 @NotNull(message = "短信签名不能为空")
18 private String signature; 18 private String signature;
19 19
20 - @Schema(description = "渠道编码,参见 SmsChannelEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "YUN_PIAN") 20 + @Schema(description = "渠道编码,参见 SmsChannelEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "YUN_PIAN")
21 private String code; 21 private String code;
22 22
23 } 23 }
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sms/vo/log/SmsLogPageReqVO.java
@@ -26,14 +26,14 @@ public class SmsLogPageReqVO extends PageParam { @@ -26,14 +26,14 @@ public class SmsLogPageReqVO extends PageParam {
26 @Schema(description = "手机号", example = "15601691300") 26 @Schema(description = "手机号", example = "15601691300")
27 private String mobile; 27 private String mobile;
28 28
29 - @Schema(description = "发送状态,参见 SmsSendStatusEnum 枚举类", example = "1") 29 + @Schema(description = "发送状态,参见 SmsSendStatusEnum 枚举类", example = "1")
30 private Integer sendStatus; 30 private Integer sendStatus;
31 31
32 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) 32 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
33 @Schema(description = "发送时间") 33 @Schema(description = "发送时间")
34 private LocalDateTime[] sendTime; 34 private LocalDateTime[] sendTime;
35 35
36 - @Schema(description = "接收状态,参见 SmsReceiveStatusEnum 枚举类", example = "0") 36 + @Schema(description = "接收状态,参见 SmsReceiveStatusEnum 枚举类", example = "0")
37 private Integer receiveStatus; 37 private Integer receiveStatus;
38 38
39 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) 39 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sms/vo/template/SmsTemplateBaseVO.java
@@ -11,11 +11,11 @@ import javax.validation.constraints.NotNull; @@ -11,11 +11,11 @@ import javax.validation.constraints.NotNull;
11 @Data 11 @Data
12 public class SmsTemplateBaseVO { 12 public class SmsTemplateBaseVO {
13 13
14 - @Schema(description = "短信类型,参见 SmsTemplateTypeEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 14 + @Schema(description = "短信类型,参见 SmsTemplateTypeEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
15 @NotNull(message = "短信类型不能为空") 15 @NotNull(message = "短信类型不能为空")
16 private Integer type; 16 private Integer type;
17 17
18 - @Schema(description = "开启状态,参见 CommonStatusEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 18 + @Schema(description = "开启状态,参见 CommonStatusEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
19 @NotNull(message = "开启状态不能为空") 19 @NotNull(message = "开启状态不能为空")
20 private Integer status; 20 private Integer status;
21 21
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sms/vo/template/SmsTemplateExportReqVO.java
@@ -18,13 +18,13 @@ public class SmsTemplateExportReqVO { @@ -18,13 +18,13 @@ public class SmsTemplateExportReqVO {
18 @Schema(description = "开启状态", example = "1") 18 @Schema(description = "开启状态", example = "1")
19 private Integer status; 19 private Integer status;
20 20
21 - @Schema(description = "模板编码,模糊匹配", example = "test_01") 21 + @Schema(description = "模板编码,模糊匹配", example = "test_01")
22 private String code; 22 private String code;
23 23
24 - @Schema(description = "模板内容,模糊匹配", example = "你好,{name}。你长的太{like}啦!") 24 + @Schema(description = "模板内容,模糊匹配", example = "你好,{name}。你长的太{like}啦!")
25 private String content; 25 private String content;
26 26
27 - @Schema(description = "短信 API 的模板编号,模糊匹配", example = "4383920") 27 + @Schema(description = "短信 API 的模板编号,模糊匹配", example = "4383920")
28 private String apiTemplateId; 28 private String apiTemplateId;
29 29
30 @Schema(description = "短信渠道编号", example = "10") 30 @Schema(description = "短信渠道编号", example = "10")
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sms/vo/template/SmsTemplatePageReqVO.java
@@ -23,13 +23,13 @@ public class SmsTemplatePageReqVO extends PageParam { @@ -23,13 +23,13 @@ public class SmsTemplatePageReqVO extends PageParam {
23 @Schema(description = "开启状态", example = "1") 23 @Schema(description = "开启状态", example = "1")
24 private Integer status; 24 private Integer status;
25 25
26 - @Schema(description = "模板编码,模糊匹配", example = "test_01") 26 + @Schema(description = "模板编码,模糊匹配", example = "test_01")
27 private String code; 27 private String code;
28 28
29 - @Schema(description = "模板内容,模糊匹配", example = "你好,{name}。你长的太{like}啦!") 29 + @Schema(description = "模板内容,模糊匹配", example = "你好,{name}。你长的太{like}啦!")
30 private String content; 30 private String content;
31 31
32 - @Schema(description = "短信 API 的模板编号,模糊匹配", example = "4383920") 32 + @Schema(description = "短信 API 的模板编号,模糊匹配", example = "4383920")
33 private String apiTemplateId; 33 private String apiTemplateId;
34 34
35 @Schema(description = "短信渠道编号", example = "10") 35 @Schema(description = "短信渠道编号", example = "10")
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/socail/vo/SocialUserBindReqVO.java
@@ -18,7 +18,7 @@ import javax.validation.constraints.NotNull; @@ -18,7 +18,7 @@ import javax.validation.constraints.NotNull;
18 @Builder 18 @Builder
19 public class SocialUserBindReqVO { 19 public class SocialUserBindReqVO {
20 20
21 - @Schema(description = "社交平台的类型,参见 UserSocialTypeEnum 枚举值", requiredMode = Schema.RequiredMode.REQUIRED, example = "10") 21 + @Schema(description = "社交平台的类型,参见 UserSocialTypeEnum 枚举值", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
22 @InEnum(SocialTypeEnum.class) 22 @InEnum(SocialTypeEnum.class)
23 @NotNull(message = "社交平台的类型不能为空") 23 @NotNull(message = "社交平台的类型不能为空")
24 private Integer type; 24 private Integer type;
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/socail/vo/SocialUserUnbindReqVO.java
@@ -18,7 +18,7 @@ import javax.validation.constraints.NotNull; @@ -18,7 +18,7 @@ import javax.validation.constraints.NotNull;
18 @Builder 18 @Builder
19 public class SocialUserUnbindReqVO { 19 public class SocialUserUnbindReqVO {
20 20
21 - @Schema(description = "社交平台的类型,参见 UserSocialTypeEnum 枚举值", requiredMode = Schema.RequiredMode.REQUIRED, example = "10") 21 + @Schema(description = "社交平台的类型,参见 UserSocialTypeEnum 枚举值", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
22 @InEnum(SocialTypeEnum.class) 22 @InEnum(SocialTypeEnum.class)
23 @NotNull(message = "社交平台的类型不能为空") 23 @NotNull(message = "社交平台的类型不能为空")
24 private Integer type; 24 private Integer type;
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/tenant/vo/packages/TenantPackageBaseVO.java
@@ -7,9 +7,9 @@ import javax.validation.constraints.NotNull; @@ -7,9 +7,9 @@ import javax.validation.constraints.NotNull;
7 import java.util.Set; 7 import java.util.Set;
8 8
9 /** 9 /**
10 -* 租户套餐 Base VO,提供给添加、修改、详细的子 VO 使用  
11 -* 如果子 VO 存在差异的字段,请不要添加到这里,影响 Swagger 文档生成  
12 -*/ 10 + * 租户套餐 Base VO,提供给添加、修改、详细的子 VO 使用
  11 + * 如果子 VO 存在差异的字段,请不要添加到这里,影响 Swagger 文档生成
  12 + */
13 @Data 13 @Data
14 public class TenantPackageBaseVO { 14 public class TenantPackageBaseVO {
15 15
@@ -17,7 +17,7 @@ public class TenantPackageBaseVO { @@ -17,7 +17,7 @@ public class TenantPackageBaseVO {
17 @NotNull(message = "套餐名不能为空") 17 @NotNull(message = "套餐名不能为空")
18 private String name; 18 private String name;
19 19
20 - @Schema(description = "状态,参见 CommonStatusEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 20 + @Schema(description = "状态,参见 CommonStatusEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
21 @NotNull(message = "状态不能为空") 21 @NotNull(message = "状态不能为空")
22 private Integer status; 22 private Integer status;
23 23
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/tenant/vo/tenant/TenantExportReqVO.java
@@ -8,7 +8,7 @@ import java.time.LocalDateTime; @@ -8,7 +8,7 @@ import java.time.LocalDateTime;
8 8
9 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; 9 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
10 10
11 -@Schema(description = "管理后台 - 租户 Excel 导出 Request VO,参数和 TenantPageReqVO 是一致的") 11 +@Schema(description = "管理后台 - 租户 Excel 导出 Request VO,参数和 TenantPageReqVO 是一致的")
12 @Data 12 @Data
13 public class TenantExportReqVO { 13 public class TenantExportReqVO {
14 14
@@ -24,8 +24,8 @@ public class TenantExportReqVO { @@ -24,8 +24,8 @@ public class TenantExportReqVO {
24 @Schema(description = "租户状态(0正常 1停用)", example = "1") 24 @Schema(description = "租户状态(0正常 1停用)", example = "1")
25 private Integer status; 25 private Integer status;
26 26
27 - @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)  
28 @Schema(description = "创建时间") 27 @Schema(description = "创建时间")
  28 + @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
29 private LocalDateTime[] createTime; 29 private LocalDateTime[] createTime;
30 30
31 } 31 }
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/vo/profile/UserProfileRespVO.java
@@ -21,7 +21,7 @@ public class UserProfileRespVO extends UserBaseVO { @@ -21,7 +21,7 @@ public class UserProfileRespVO extends UserBaseVO {
21 @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 21 @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
22 private Long id; 22 private Long id;
23 23
24 - @Schema(description = "状态,参见 CommonStatusEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 24 + @Schema(description = "状态,参见 CommonStatusEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
25 private Integer status; 25 private Integer status;
26 26
27 @Schema(description = "最后登录 IP", requiredMode = Schema.RequiredMode.REQUIRED, example = "192.168.1.1") 27 @Schema(description = "最后登录 IP", requiredMode = Schema.RequiredMode.REQUIRED, example = "192.168.1.1")
@@ -92,7 +92,7 @@ public class UserProfileRespVO extends UserBaseVO { @@ -92,7 +92,7 @@ public class UserProfileRespVO extends UserBaseVO {
92 @Data 92 @Data
93 public static class SocialUser { 93 public static class SocialUser {
94 94
95 - @Schema(description = "社交平台的类型,参见 SocialTypeEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "10") 95 + @Schema(description = "社交平台的类型,参见 SocialTypeEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
96 private Integer type; 96 private Integer type;
97 97
98 @Schema(description = "社交用户的 openid", requiredMode = Schema.RequiredMode.REQUIRED, example = "IPRmJ0wvBptiPIlGEZiPewGwiEiE") 98 @Schema(description = "社交用户的 openid", requiredMode = Schema.RequiredMode.REQUIRED, example = "IPRmJ0wvBptiPIlGEZiPewGwiEiE")
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/vo/user/UserBaseVO.java
@@ -45,7 +45,7 @@ public class UserBaseVO { @@ -45,7 +45,7 @@ public class UserBaseVO {
45 @Mobile 45 @Mobile
46 private String mobile; 46 private String mobile;
47 47
48 - @Schema(description = "用户性别,参见 SexEnum 枚举类", example = "1") 48 + @Schema(description = "用户性别,参见 SexEnum 枚举类", example = "1")
49 private Integer sex; 49 private Integer sex;
50 50
51 @Schema(description = "用户头像", example = "https://www.iocoder.cn/xxx.png") 51 @Schema(description = "用户头像", example = "https://www.iocoder.cn/xxx.png")
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/vo/user/UserExportReqVO.java
@@ -16,13 +16,13 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_ @@ -16,13 +16,13 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_
16 @AllArgsConstructor 16 @AllArgsConstructor
17 public class UserExportReqVO { 17 public class UserExportReqVO {
18 18
19 - @Schema(description = "用户账号,模糊匹配", example = "yudao") 19 + @Schema(description = "用户账号,模糊匹配", example = "yudao")
20 private String username; 20 private String username;
21 21
22 - @Schema(description = "手机号码,模糊匹配", example = "yudao") 22 + @Schema(description = "手机号码,模糊匹配", example = "yudao")
23 private String mobile; 23 private String mobile;
24 24
25 - @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1") 25 + @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1")
26 private Integer status; 26 private Integer status;
27 27
28 @Schema(description = "创建时间", example = "[2022-07-01 00:00:00,2022-07-01 23:59:59]") 28 @Schema(description = "创建时间", example = "[2022-07-01 00:00:00,2022-07-01 23:59:59]")
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/vo/user/UserRespVO.java
@@ -16,7 +16,7 @@ public class UserRespVO extends UserBaseVO { @@ -16,7 +16,7 @@ public class UserRespVO extends UserBaseVO {
16 @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 16 @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
17 private Long id; 17 private Long id;
18 18
19 - @Schema(description = "状态,参见 CommonStatusEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") 19 + @Schema(description = "状态,参见 CommonStatusEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
20 private Integer status; 20 private Integer status;
21 21
22 @Schema(description = "最后登录 IP", requiredMode = Schema.RequiredMode.REQUIRED, example = "192.168.1.1") 22 @Schema(description = "最后登录 IP", requiredMode = Schema.RequiredMode.REQUIRED, example = "192.168.1.1")
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/convert/auth/AuthConvert.java
1 package cn.iocoder.yudao.module.system.convert.auth; 1 package cn.iocoder.yudao.module.system.convert.auth;
2 2
3 -import cn.iocoder.yudao.framework.common.util.collection.CollectionUtils;  
4 import cn.iocoder.yudao.module.system.api.sms.dto.code.SmsCodeSendReqDTO; 3 import cn.iocoder.yudao.module.system.api.sms.dto.code.SmsCodeSendReqDTO;
5 import cn.iocoder.yudao.module.system.api.sms.dto.code.SmsCodeUseReqDTO; 4 import cn.iocoder.yudao.module.system.api.sms.dto.code.SmsCodeUseReqDTO;
6 import cn.iocoder.yudao.module.system.api.social.dto.SocialUserBindReqDTO; 5 import cn.iocoder.yudao.module.system.api.social.dto.SocialUserBindReqDTO;
@@ -15,6 +14,7 @@ import org.slf4j.LoggerFactory; @@ -15,6 +14,7 @@ import org.slf4j.LoggerFactory;
15 14
16 import java.util.*; 15 import java.util.*;
17 16
  17 +import static cn.iocoder.yudao.framework.common.util.collection.CollectionUtils.convertSet;
18 import static cn.iocoder.yudao.framework.common.util.collection.CollectionUtils.filterList; 18 import static cn.iocoder.yudao.framework.common.util.collection.CollectionUtils.filterList;
19 import static cn.iocoder.yudao.module.system.dal.dataobject.permission.MenuDO.ID_ROOT; 19 import static cn.iocoder.yudao.module.system.dal.dataobject.permission.MenuDO.ID_ROOT;
20 20
@@ -28,8 +28,8 @@ public interface AuthConvert { @@ -28,8 +28,8 @@ public interface AuthConvert {
28 default AuthPermissionInfoRespVO convert(AdminUserDO user, List<RoleDO> roleList, List<MenuDO> menuList) { 28 default AuthPermissionInfoRespVO convert(AdminUserDO user, List<RoleDO> roleList, List<MenuDO> menuList) {
29 return AuthPermissionInfoRespVO.builder() 29 return AuthPermissionInfoRespVO.builder()
30 .user(AuthPermissionInfoRespVO.UserVO.builder().id(user.getId()).nickname(user.getNickname()).avatar(user.getAvatar()).build()) 30 .user(AuthPermissionInfoRespVO.UserVO.builder().id(user.getId()).nickname(user.getNickname()).avatar(user.getAvatar()).build())
31 - .roles(CollectionUtils.convertSet(roleList, RoleDO::getCode))  
32 - .permissions(CollectionUtils.convertSet(menuList, MenuDO::getPermission)) 31 + .roles(convertSet(roleList, RoleDO::getCode))
  32 + .permissions(convertSet(menuList, MenuDO::getPermission))
33 .build(); 33 .build();
34 } 34 }
35 35