Commit cacefb4eeac4c76b63e0ae0782230d66bd058317

Authored by xingyu
1 parent 69420c0a

feat: knife4j springdoc

Showing 385 changed files with 1939 additions and 1941 deletions
README.md
... ... @@ -201,7 +201,7 @@ ps:核心功能已经实现,正在对接微信小程序中...
201 201 | [Hibernate Validator](https://github.com/hibernate/hibernate-validator) | 参数校验组件 | 6.2.5 | [文档](http://www.iocoder.cn/Spring-Boot/Validation/?yudao) |
202 202 | [Flowable](https://github.com/flowable/flowable-engine) | 工作流引擎 | 6.7.2 | [文档](https://doc.iocoder.cn/bpm/) |
203 203 | [Quartz](https://github.com/quartz-scheduler) | 任务调度组件 | 2.3.2 | [文档](http://www.iocoder.cn/Spring-Boot/Job/?yudao) |
204   -| [Knife4j](https://gitee.com/xiaoym/knife4j) | Swagger 增强 UI 实现 | 3.0.3 | [文档](http://www.iocoder.cn/Spring-Boot/Swagger/?yudao) |
  204 +| [Knife4j](https://gitee.com/xiaoym/knife4j) | Swagger 增强 UI 实现 | 4.0.0 | [文档](http://www.iocoder.cn/Spring-Boot/Swagger/?yudao) |
205 205 | [Resilience4j](https://github.com/resilience4j/resilience4j) | 服务保障组件 | 1.7.1 | [文档](http://www.iocoder.cn/Spring-Boot/Resilience4j/?yudao) |
206 206 | [SkyWalking](https://skywalking.apache.org/) | 分布式应用追踪系统 | 8.12.0 | [文档](http://www.iocoder.cn/Spring-Boot/SkyWalking/?yudao) |
207 207 | [Spring Boot Admin](https://github.com/codecentric/spring-boot-admin) | Spring Boot 监控平台 | 2.7.9 | [文档](http://www.iocoder.cn/Spring-Boot/Admin/?yudao) |
... ...
yudao-dependencies/pom.xml
... ... @@ -19,7 +19,7 @@
19 19 <spring.boot.version>2.7.6</spring.boot.version>
20 20 <!-- Web 相关 -->
21 21 <springdoc.version>1.6.14</springdoc.version>
22   - <knife4j.version>3.0.3</knife4j.version>
  22 + <knife4j.version>4.0.0</knife4j.version>
23 23 <servlet.versoin>2.5</servlet.versoin>
24 24 <!-- DB 相关 -->
25 25 <druid.version>1.2.15</druid.version>
... ... @@ -158,9 +158,9 @@
158 158 </dependency>
159 159  
160 160 <dependency>
161   - <groupId>org.springdoc</groupId>
162   - <artifactId>springdoc-openapi-webmvc-core</artifactId>
163   - <version>${springdoc.version}</version>
  161 + <groupId>com.github.xiaoymin</groupId>
  162 + <artifactId>knife4j-openapi3-spring-boot-starter</artifactId>
  163 + <version>${knife4j.version}</version>
164 164 </dependency>
165 165  
166 166 <dependency>
... ...
yudao-framework/yudao-common/pom.xml
... ... @@ -59,10 +59,9 @@
59 59 </dependency>
60 60  
61 61 <dependency>
62   - <groupId>org.springdoc</groupId>
63   - <artifactId>springdoc-openapi-webmvc-core</artifactId>
  62 + <groupId>com.github.xiaoymin</groupId>
  63 + <artifactId>knife4j-openapi3-spring-boot-starter</artifactId>
64 64 </dependency>
65   -
66 65 <!-- 监控相关 -->
67 66 <dependency>
68 67 <groupId>org.apache.skywalking</groupId>
... ...
yudao-framework/yudao-common/src/main/java/cn/iocoder/yudao/framework/common/pojo/PageParam.java
... ... @@ -8,19 +8,19 @@ import javax.validation.constraints.Max;
8 8 import javax.validation.constraints.NotNull;
9 9 import java.io.Serializable;
10 10  
11   -@Schema(title="分页参数")
  11 +@Schema(description="分页参数")
12 12 @Data
13 13 public class PageParam implements Serializable {
14 14  
15 15 private static final Integer PAGE_NO = 1;
16 16 private static final Integer PAGE_SIZE = 10;
17 17  
18   - @Schema(title = "页码,从 1 开始", required = true,example = "1")
  18 + @Schema(description = "页码,从 1 开始", required = true,example = "1")
19 19 @NotNull(message = "页码不能为空")
20 20 @Min(value = 1, message = "页码最小值为 1")
21 21 private Integer pageNo = PAGE_NO;
22 22  
23   - @Schema(title = "每页条数,最大值为 100", required = true, example = "10")
  23 + @Schema(description = "每页条数,最大值为 100", required = true, example = "10")
24 24 @NotNull(message = "每页条数不能为空")
25 25 @Min(value = 1, message = "每页条数最小值为 1")
26 26 @Max(value = 100, message = "每页条数最大值为 100")
... ...
yudao-framework/yudao-common/src/main/java/cn/iocoder/yudao/framework/common/pojo/PageResult.java
... ... @@ -6,14 +6,14 @@ import java.io.Serializable;
6 6 import java.util.ArrayList;
7 7 import java.util.List;
8 8  
9   -@Schema(title = "分页结果")
  9 +@Schema(description = "分页结果")
10 10 @Data
11 11 public final class PageResult<T> implements Serializable {
12 12  
13   - @Schema(title = "数据", required = true)
  13 + @Schema(description = "数据", required = true)
14 14 private List<T> list;
15 15  
16   - @Schema(title = "总量", required = true)
  16 + @Schema(description = "总量", required = true)
17 17 private Long total;
18 18  
19 19 public PageResult() {
... ...
yudao-framework/yudao-spring-boot-starter-web/pom.xml
... ... @@ -34,8 +34,8 @@
34 34 </dependency>
35 35  
36 36 <dependency>
37   - <groupId>org.springdoc</groupId>
38   - <artifactId>springdoc-openapi-webmvc-core</artifactId>
  37 + <groupId>com.github.xiaoymin</groupId>
  38 + <artifactId>knife4j-openapi3-spring-boot-starter</artifactId>
39 39 </dependency>
40 40  
41 41 <dependency>
... ...
yudao-framework/yudao-spring-boot-starter-web/src/main/java/cn/iocoder/yudao/framework/swagger/config/YudaoSwaggerAutoConfiguration.java
... ... @@ -57,10 +57,10 @@ public class YudaoSwaggerAutoConfiguration {
57 57 }
58 58  
59 59 @Bean
60   - public GroupedOpenApi publicApi() {
  60 + public GroupedOpenApi appApi() {
61 61 return GroupedOpenApi.builder()
62 62 .group("app")
63   - .pathsToMatch("/app/**")
  63 + .pathsToMatch("/app-api/**")
64 64 .build();
65 65 }
66 66  
... ... @@ -68,7 +68,7 @@ public class YudaoSwaggerAutoConfiguration {
68 68 public GroupedOpenApi adminApi() {
69 69 return GroupedOpenApi.builder()
70 70 .group("admin")
71   - .pathsToMatch("/admin/**")
  71 + .pathsToMatch("/admin-api/**")
72 72 .build();
73 73 }
74 74  
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/definition/vo/form/BpmFormBaseVO.java
... ... @@ -10,15 +10,15 @@ import javax.validation.constraints.*;
10 10 @Data
11 11 public class BpmFormBaseVO {
12 12  
13   - @Schema(title = "表单名称", required = true, example = "芋道")
  13 + @Schema(description = "表单名称", required = true, example = "芋道")
14 14 @NotNull(message = "表单名称不能为空")
15 15 private String name;
16 16  
17   - @Schema(title = "表单状态", required = true, description = "参见 CommonStatusEnum 枚举", example = "1")
  17 + @Schema(description = "表单状态-参见 CommonStatusEnum 枚举", required = true, example = "1")
18 18 @NotNull(message = "表单状态不能为空")
19 19 private Integer status;
20 20  
21   - @Schema(title = "备注", example = "我是备注")
  21 + @Schema(description = "备注", example = "我是备注")
22 22 private String remark;
23 23  
24 24 }
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/definition/vo/form/BpmFormCreateReqVO.java
... ... @@ -5,17 +5,17 @@ import lombok.*;
5 5 import javax.validation.constraints.NotNull;
6 6 import java.util.List;
7 7  
8   -@Schema(title = "管理后台 - 动态表单创建 Request VO")
  8 +@Schema(description = "管理后台 - 动态表单创建 Request VO")
9 9 @Data
10 10 @EqualsAndHashCode(callSuper = true)
11 11 @ToString(callSuper = true)
12 12 public class BpmFormCreateReqVO extends BpmFormBaseVO {
13 13  
14   - @Schema(title = "表单的配置", required = true, description = "JSON 字符串")
  14 + @Schema(description = "表单的配置-JSON 字符串", required = true)
15 15 @NotNull(message = "表单的配置不能为空")
16 16 private String conf;
17 17  
18   - @Schema(title = "表单项的数组", required = true, description = "JSON 字符串的数组")
  18 + @Schema(description = "表单项的数组-JSON 字符串的数组", required = true)
19 19 @NotNull(message = "表单项的数组不能为空")
20 20 private List<String> fields;
21 21  
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/definition/vo/form/BpmFormPageReqVO.java
... ... @@ -6,13 +6,13 @@ import lombok.Data;
6 6 import lombok.EqualsAndHashCode;
7 7 import lombok.ToString;
8 8  
9   -@Schema(title = "管理后台 - 动态表单分页 Request VO")
  9 +@Schema(description = "管理后台 - 动态表单分页 Request VO")
10 10 @Data
11 11 @EqualsAndHashCode(callSuper = true)
12 12 @ToString(callSuper = true)
13 13 public class BpmFormPageReqVO extends PageParam {
14 14  
15   - @Schema(title = "表单名称", example = "芋道")
  15 + @Schema(description = "表单名称", example = "芋道")
16 16 private String name;
17 17  
18 18 }
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/definition/vo/form/BpmFormRespVO.java
... ... @@ -8,24 +8,24 @@ import javax.validation.constraints.NotNull;
8 8 import java.time.LocalDateTime;
9 9 import java.util.List;
10 10  
11   -@Schema(title = "管理后台 - 动态表单 Response VO")
  11 +@Schema(description = "管理后台 - 动态表单 Response VO")
12 12 @Data
13 13 @EqualsAndHashCode(callSuper = true)
14 14 @ToString(callSuper = true)
15 15 public class BpmFormRespVO extends BpmFormBaseVO {
16 16  
17   - @Schema(title = "表单编号", required = true, example = "1024")
  17 + @Schema(description = "表单编号", required = true, example = "1024")
18 18 private Long id;
19 19  
20   - @Schema(title = "表单的配置", required = true, description = "JSON 字符串")
  20 + @Schema(description = "表单的配置-JSON 字符串", required = true)
21 21 @NotNull(message = "表单的配置不能为空")
22 22 private String conf;
23 23  
24   - @Schema(title = "表单项的数组", required = true, description = "JSON 字符串的数组")
  24 + @Schema(description = "表单项的数组-JSON 字符串的数组", required = true)
25 25 @NotNull(message = "表单项的数组不能为空")
26 26 private List<String> fields;
27 27  
28   - @Schema(title = "创建时间", required = true)
  28 + @Schema(description = "创建时间", required = true)
29 29 private LocalDateTime createTime;
30 30  
31 31 }
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/definition/vo/form/BpmFormSimpleRespVO.java
... ... @@ -3,14 +3,14 @@ package cn.iocoder.yudao.module.bpm.controller.admin.definition.vo.form;
3 3 import io.swagger.v3.oas.annotations.media.Schema;
4 4 import lombok.Data;
5 5  
6   -@Schema(title = "管理后台 - 流程表单精简 Response VO")
  6 +@Schema(description = "管理后台 - 流程表单精简 Response VO")
7 7 @Data
8 8 public class BpmFormSimpleRespVO {
9 9  
10   - @Schema(title = "表单编号", required = true, example = "1024")
  10 + @Schema(description = "表单编号", required = true, example = "1024")
11 11 private Long id;
12 12  
13   - @Schema(title = "表单名称", required = true, example = "芋道")
  13 + @Schema(description = "表单名称", required = true, example = "芋道")
14 14 private String name;
15 15  
16 16 }
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/definition/vo/form/BpmFormUpdateReqVO.java
... ... @@ -4,21 +4,21 @@ import lombok.*;
4 4 import javax.validation.constraints.*;
5 5 import java.util.List;
6 6  
7   -@Schema(title = "管理后台 - 动态表单更新 Request VO")
  7 +@Schema(description = "管理后台 - 动态表单更新 Request VO")
8 8 @Data
9 9 @EqualsAndHashCode(callSuper = true)
10 10 @ToString(callSuper = true)
11 11 public class BpmFormUpdateReqVO extends BpmFormBaseVO {
12 12  
13   - @Schema(title = "表单编号", required = true, example = "1024")
  13 + @Schema(description = "表单编号", required = true, example = "1024")
14 14 @NotNull(message = "表单编号不能为空")
15 15 private Long id;
16 16  
17   - @Schema(title = "表单的配置", required = true, description = "JSON 字符串")
  17 + @Schema(description = "表单的配置-JSON 字符串", required = true)
18 18 @NotNull(message = "表单的配置不能为空")
19 19 private String conf;
20 20  
21   - @Schema(title = "表单项的数组", required = true, description = "JSON 字符串的数组")
  21 + @Schema(description = "表单项的数组-JSON 字符串的数组", required = true)
22 22 @NotNull(message = "表单项的数组不能为空")
23 23 private List<String> fields;
24 24  
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/definition/vo/group/BpmUserGroupBaseVO.java
... ... @@ -11,19 +11,19 @@ import javax.validation.constraints.*;
11 11 @Data
12 12 public class BpmUserGroupBaseVO {
13 13  
14   - @Schema(title = "组名", required = true, example = "芋道")
  14 + @Schema(description = "组名", required = true, example = "芋道")
15 15 @NotNull(message = "组名不能为空")
16 16 private String name;
17 17  
18   - @Schema(title = "描述", required = true, example = "芋道源码")
  18 + @Schema(description = "描述", required = true, example = "芋道源码")
19 19 @NotNull(message = "描述不能为空")
20 20 private String description;
21 21  
22   - @Schema(title = "成员编号数组", required = true, example = "1,2,3")
  22 + @Schema(description = "成员编号数组", required = true, example = "1,2,3")
23 23 @NotNull(message = "成员编号数组不能为空")
24 24 private Set<Long> memberUserIds;
25 25  
26   - @Schema(title = "状态", required = true, example = "1")
  26 + @Schema(description = "状态", required = true, example = "1")
27 27 @NotNull(message = "状态不能为空")
28 28 private Integer status;
29 29  
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/definition/vo/group/BpmUserGroupCreateReqVO.java
... ... @@ -2,7 +2,7 @@ package cn.iocoder.yudao.module.bpm.controller.admin.definition.vo.group;
2 2 import io.swagger.v3.oas.annotations.media.Schema;
3 3 import lombok.*;
4 4  
5   -@Schema(title = "管理后台 - 用户组创建 Request VO")
  5 +@Schema(description = "管理后台 - 用户组创建 Request VO")
6 6 @Data
7 7 @EqualsAndHashCode(callSuper = true)
8 8 @ToString(callSuper = true)
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/definition/vo/group/BpmUserGroupPageReqVO.java
... ... @@ -10,20 +10,20 @@ import org.springframework.format.annotation.DateTimeFormat;
10 10  
11 11 import java.time.LocalDateTime;
12 12  
13   -@Schema(title = "管理后台 - 用户组分页 Request VO")
  13 +@Schema(description = "管理后台 - 用户组分页 Request VO")
14 14 @Data
15 15 @EqualsAndHashCode(callSuper = true)
16 16 @ToString(callSuper = true)
17 17 public class BpmUserGroupPageReqVO extends PageParam {
18 18  
19   - @Schema(title = "组名", example = "芋道")
  19 + @Schema(description = "组名", example = "芋道")
20 20 private String name;
21 21  
22   - @Schema(title = "状态", example = "1")
  22 + @Schema(description = "状态", example = "1")
23 23 private Integer status;
24 24  
25 25 @DateTimeFormat(pattern = DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
26   - @Schema(title = "创建时间")
  26 + @Schema(description = "创建时间")
27 27 private LocalDateTime[] createTime;
28 28  
29 29 }
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/definition/vo/group/BpmUserGroupRespVO.java
... ... @@ -5,16 +5,16 @@ import lombok.*;
5 5 import java.time.LocalDateTime;
6 6  
7 7  
8   -@Schema(title = "管理后台 - 用户组 Response VO")
  8 +@Schema(description = "管理后台 - 用户组 Response VO")
9 9 @Data
10 10 @EqualsAndHashCode(callSuper = true)
11 11 @ToString(callSuper = true)
12 12 public class BpmUserGroupRespVO extends BpmUserGroupBaseVO {
13 13  
14   - @Schema(title = "编号", required = true, example = "1024")
  14 + @Schema(description = "编号", required = true, example = "1024")
15 15 private Long id;
16 16  
17   - @Schema(title = "创建时间", required = true)
  17 + @Schema(description = "创建时间", required = true)
18 18 private LocalDateTime createTime;
19 19  
20 20 }
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/definition/vo/group/BpmUserGroupSimpleRespVO.java
... ... @@ -5,16 +5,16 @@ import lombok.AllArgsConstructor;
5 5 import lombok.Data;
6 6 import lombok.NoArgsConstructor;
7 7  
8   -@Schema(title = "管理后台 - 用户组精简信息 Response VO")
  8 +@Schema(description = "管理后台 - 用户组精简信息 Response VO")
9 9 @Data
10 10 @NoArgsConstructor
11 11 @AllArgsConstructor
12 12 public class BpmUserGroupSimpleRespVO {
13 13  
14   - @Schema(title = "用户组编号", required = true, example = "1024")
  14 + @Schema(description = "用户组编号", required = true, example = "1024")
15 15 private Long id;
16 16  
17   - @Schema(title = "用户组名字", required = true, example = "芋道")
  17 + @Schema(description = "用户组名字", required = true, example = "芋道")
18 18 private String name;
19 19  
20 20 }
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/definition/vo/group/BpmUserGroupUpdateReqVO.java
... ... @@ -3,13 +3,13 @@ import io.swagger.v3.oas.annotations.media.Schema;
3 3 import lombok.*;
4 4 import javax.validation.constraints.*;
5 5  
6   -@Schema(title = "管理后台 - 用户组更新 Request VO")
  6 +@Schema(description = "管理后台 - 用户组更新 Request VO")
7 7 @Data
8 8 @EqualsAndHashCode(callSuper = true)
9 9 @ToString(callSuper = true)
10 10 public class BpmUserGroupUpdateReqVO extends BpmUserGroupBaseVO {
11 11  
12   - @Schema(title = "编号", required = true, example = "1024")
  12 + @Schema(description = "编号", required = true, example = "1024")
13 13 @NotNull(message = "编号不能为空")
14 14 private Long id;
15 15  
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/definition/vo/model/BpmModeImportReqVO.java
... ... @@ -8,13 +8,13 @@ import org.springframework.web.multipart.MultipartFile;
8 8  
9 9 import javax.validation.constraints.NotNull;
10 10  
11   -@Schema(title = "管理后台 - 流程模型的导入 Request VO", description = "相比流程模型的新建来说,只是多了一个 bpmnFile 文件")
  11 +@Schema(description = "管理后台 - 流程模型的导入 Request VO 相比流程模型的新建来说,只是多了一个 bpmnFile 文件")
12 12 @Data
13 13 @EqualsAndHashCode(callSuper = true)
14 14 @ToString(callSuper = true)
15 15 public class BpmModeImportReqVO extends BpmModelCreateReqVO {
16 16  
17   - @Schema(title = "BPMN 文件", required = true)
  17 + @Schema(description = "BPMN 文件", required = true)
18 18 @NotNull(message = "BPMN 文件不能为空")
19 19 private MultipartFile bpmnFile;
20 20  
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/definition/vo/model/BpmModelBaseVO.java
... ... @@ -11,30 +11,30 @@ import javax.validation.constraints.NotEmpty;
11 11 @Data
12 12 public class BpmModelBaseVO {
13 13  
14   - @Schema(title = "流程标识", required = true, example = "process_yudao")
  14 + @Schema(description = "流程标识", required = true, example = "process_yudao")
15 15 @NotEmpty(message = "流程标识不能为空")
16 16 private String key;
17 17  
18   - @Schema(title = "流程名称", required = true, example = "芋道")
  18 + @Schema(description = "流程名称", required = true, example = "芋道")
19 19 @NotEmpty(message = "流程名称不能为空")
20 20 private String name;
21 21  
22   - @Schema(title = "流程描述", example = "我是描述")
  22 + @Schema(description = "流程描述", example = "我是描述")
23 23 private String description;
24 24  
25   - @Schema(title = "流程分类", description = "参见 bpm_model_category 数据字典", example = "1")
  25 + @Schema(description = "流程分类-参见 bpm_model_category 数据字典", example = "1")
26 26 @NotEmpty(message = "流程分类不能为空")
27 27 private String category;
28 28  
29   - @Schema(title = "表单类型", description = "参见 bpm_model_form_type 数据字典", example = "1")
  29 + @Schema(description = "表单类型-参见 bpm_model_form_type 数据字典", example = "1")
30 30 private Integer formType;
31   - @Schema(title = "表单编号", example = "1024", description = "在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空")
  31 + @Schema(description = "表单编号-在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空", example = "1024")
32 32 private Long formId;
33   - @Schema(title = "自定义表单的提交路径,使用 Vue 的路由地址", example = "/bpm/oa/leave/create",
34   - description = "在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空")
  33 + @Schema(description = "自定义表单的提交路径,使用 Vue 的路由地址-在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空",
  34 + example = "/bpm/oa/leave/create")
35 35 private String formCustomCreatePath;
36   - @Schema(title = "自定义表单的查看路径,使用 Vue 的路由地址", example = "/bpm/oa/leave/view",
37   - description = "在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空")
  36 + @Schema(description = "自定义表单的查看路径,使用 Vue 的路由地址-在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空",
  37 + example = "/bpm/oa/leave/view")
38 38 private String formCustomViewPath;
39 39  
40 40 }
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/definition/vo/model/BpmModelCreateReqVO.java
... ... @@ -7,19 +7,19 @@ import lombok.ToString;
7 7  
8 8 import javax.validation.constraints.NotEmpty;
9 9  
10   -@Schema(title = "管理后台 - 流程模型的创建 Request VO")
  10 +@Schema(description = "管理后台 - 流程模型的创建 Request VO")
11 11 @Data
12 12 public class BpmModelCreateReqVO {
13 13  
14   - @Schema(title = "流程标识", required = true, example = "process_yudao")
  14 + @Schema(description = "流程标识", required = true, example = "process_yudao")
15 15 @NotEmpty(message = "流程标识不能为空")
16 16 private String key;
17 17  
18   - @Schema(title = "流程名称", required = true, example = "芋道")
  18 + @Schema(description = "流程名称", required = true, example = "芋道")
19 19 @NotEmpty(message = "流程名称不能为空")
20 20 private String name;
21 21  
22   - @Schema(title = "流程描述", example = "我是描述")
  22 + @Schema(description = "流程描述", example = "我是描述")
23 23 private String description;
24 24  
25 25 }
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/definition/vo/model/BpmModelPageItemRespVO.java
... ... @@ -7,19 +7,19 @@ import lombok.ToString;
7 7  
8 8 import java.time.LocalDateTime;
9 9  
10   -@Schema(title = "管理后台 - 流程模型的分页的每一项 Response VO")
  10 +@Schema(description = "管理后台 - 流程模型的分页的每一项 Response VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class BpmModelPageItemRespVO extends BpmModelBaseVO {
15 15  
16   - @Schema(title = "编号", required = true, example = "1024")
  16 + @Schema(description = "编号", required = true, example = "1024")
17 17 private String id;
18 18  
19   - @Schema(title = "表单名字", example = "请假表单")
  19 + @Schema(description = "表单名字", example = "请假表单")
20 20 private String formName;
21 21  
22   - @Schema(title = "创建时间", required = true)
  22 + @Schema(description = "创建时间", required = true)
23 23 private LocalDateTime createTime;
24 24  
25 25 /**
... ... @@ -27,20 +27,20 @@ public class BpmModelPageItemRespVO extends BpmModelBaseVO {
27 27 */
28 28 private ProcessDefinition processDefinition;
29 29  
30   - @Schema(title = "流程定义")
  30 + @Schema(description = "流程定义")
31 31 @Data
32 32 public static class ProcessDefinition {
33 33  
34   - @Schema(title = "编号", required = true, example = "1024")
  34 + @Schema(description = "编号", required = true, example = "1024")
35 35 private String id;
36 36  
37   - @Schema(title = "版本", required = true, example = "1")
  37 + @Schema(description = "版本", required = true, example = "1")
38 38 private Integer version;
39 39  
40   - @Schema(title = "部署时间", required = true)
  40 + @Schema(description = "部署时间", required = true)
41 41 private LocalDateTime deploymentTime;
42 42  
43   - @Schema(title = "中断状态", required = true, example = "1", description = "参见 SuspensionState 枚举")
  43 + @Schema(description = "中断状态-参见 SuspensionState 枚举", required = true, example = "1")
44 44 private Integer suspensionState;
45 45  
46 46 }
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/definition/vo/model/BpmModelPageReqVO.java
... ... @@ -7,19 +7,19 @@ import lombok.EqualsAndHashCode;
7 7 import lombok.ToString;
8 8  
9 9  
10   -@Schema(title = "管理后台 - 流程模型分页 Request VO")
  10 +@Schema(description = "管理后台 - 流程模型分页 Request VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class BpmModelPageReqVO extends PageParam {
15 15  
16   - @Schema(title = "标识", example = "process1641042089407", description = "精准匹配")
  16 + @Schema(description = "标识-精准匹配", example = "process1641042089407")
17 17 private String key;
18 18  
19   - @Schema(title = "名字", example = "芋道", description = "模糊匹配")
  19 + @Schema(description = "名字-模糊匹配", example = "芋道")
20 20 private String name;
21 21  
22   - @Schema(title = "流程分类", description = "参见 bpm_model_category 数据字典", example = "1")
  22 + @Schema(description = "流程分类-参见 bpm_model_category 数据字典", example = "1")
23 23 private String category;
24 24  
25 25 }
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/definition/vo/model/BpmModelRespVO.java
... ... @@ -7,19 +7,19 @@ import lombok.ToString;
7 7  
8 8 import java.time.LocalDateTime;
9 9  
10   -@Schema(title = "管理后台 - 流程模型的创建 Request VO")
  10 +@Schema(description = "管理后台 - 流程模型的创建 Request VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class BpmModelRespVO extends BpmModelBaseVO {
15 15  
16   - @Schema(title = "编号", required = true, example = "1024")
  16 + @Schema(description = "编号", required = true, example = "1024")
17 17 private String id;
18 18  
19   - @Schema(title = "BPMN XML", required = true)
  19 + @Schema(description = "BPMN XML", required = true)
20 20 private String bpmnXml;
21 21  
22   - @Schema(title = "创建时间", required = true)
  22 + @Schema(description = "创建时间", required = true)
23 23 private LocalDateTime createTime;
24 24  
25 25 }
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/definition/vo/model/BpmModelUpdateReqVO.java
... ... @@ -5,35 +5,35 @@ import lombok.Data;
5 5  
6 6 import javax.validation.constraints.NotEmpty;
7 7  
8   -@Schema(title = "管理后台 - 流程模型的更新 Request VO")
  8 +@Schema(description = "管理后台 - 流程模型的更新 Request VO")
9 9 @Data
10 10 public class BpmModelUpdateReqVO {
11 11  
12   - @Schema(title = "编号", required = true, example = "1024")
  12 + @Schema(description = "编号", required = true, example = "1024")
13 13 @NotEmpty(message = "编号不能为空")
14 14 private String id;
15 15  
16   - @Schema(title = "流程名称", example = "芋道")
  16 + @Schema(description = "流程名称", example = "芋道")
17 17 private String name;
18 18  
19   - @Schema(title = "流程描述", example = "我是描述")
  19 + @Schema(description = "流程描述", example = "我是描述")
20 20 private String description;
21 21  
22   - @Schema(title = "流程分类", description = "参见 bpm_model_category 数据字典", example = "1")
  22 + @Schema(description = "流程分类-参见 bpm_model_category 数据字典", example = "1")
23 23 private String category;
24 24  
25   - @Schema(title = "BPMN XML", required = true)
  25 + @Schema(description = "BPMN XML", required = true)
26 26 private String bpmnXml;
27 27  
28   - @Schema(title = "表单类型", description = "参见 bpm_model_form_type 数据字典", example = "1")
  28 + @Schema(description = "表单类型-参见 bpm_model_form_type 数据字典", example = "1")
29 29 private Integer formType;
30   - @Schema(title = "表单编号", example = "1024", description = "在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空")
  30 + @Schema(description = "表单编号-在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空", example = "1024")
31 31 private Long formId;
32   - @Schema(title = "自定义表单的提交路径,使用 Vue 的路由地址", example = "/bpm/oa/leave/create",
33   - description = "在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空")
  32 + @Schema(description = "自定义表单的提交路径,使用 Vue 的路由地址-在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空",
  33 + example = "/bpm/oa/leave/create")
34 34 private String formCustomCreatePath;
35   - @Schema(title = "自定义表单的查看路径,使用 Vue 的路由地址", example = "/bpm/oa/leave/view",
36   - description = "在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空")
  35 + @Schema(description = "自定义表单的查看路径,使用 Vue 的路由地址-在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空",
  36 + example = "/bpm/oa/leave/view")
37 37 private String formCustomViewPath;
38 38  
39 39 }
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/definition/vo/model/BpmModelUpdateStateReqVO.java
... ... @@ -5,15 +5,15 @@ import lombok.Data;
5 5  
6 6 import javax.validation.constraints.NotNull;
7 7  
8   -@Schema(title = "管理后台 - 流程模型更新状态 Request VO")
  8 +@Schema(description = "管理后台 - 流程模型更新状态 Request VO")
9 9 @Data
10 10 public class BpmModelUpdateStateReqVO {
11 11  
12   - @Schema(title = "编号", required = true, example = "1024")
  12 + @Schema(description = "编号", required = true, example = "1024")
13 13 @NotNull(message = "编号不能为空")
14 14 private String id;
15 15  
16   - @Schema(title = "状态", required = true, example = "1", description = "见 SuspensionState 枚举")
  16 + @Schema(description = "状态-见 SuspensionState 枚举", required = true, example = "1")
17 17 @NotNull(message = "状态不能为空")
18 18 private Integer state;
19 19  
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/definition/vo/process/BpmProcessDefinitionListReqVO.java
... ... @@ -6,13 +6,13 @@ import lombok.Data;
6 6 import lombok.EqualsAndHashCode;
7 7 import lombok.ToString;
8 8  
9   -@Schema(title = "管理后台 - 流程定义列表 Request VO")
  9 +@Schema(description = "管理后台 - 流程定义列表 Request VO")
10 10 @Data
11 11 @ToString(callSuper = true)
12 12 @EqualsAndHashCode(callSuper = true)
13 13 public class BpmProcessDefinitionListReqVO extends PageParam {
14 14  
15   - @Schema(title = "中断状态", example = "1", description = "参见 SuspensionState 枚举")
  15 + @Schema(description = "中断状态-参见 SuspensionState 枚举", example = "1")
16 16 private Integer suspensionState;
17 17  
18 18 }
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/definition/vo/process/BpmProcessDefinitionPageItemRespVO.java
... ... @@ -7,16 +7,16 @@ import lombok.ToString;
7 7  
8 8 import java.time.LocalDateTime;
9 9  
10   -@Schema(title = "管理后台 - 流程定义的分页的每一项 Response VO")
  10 +@Schema(description = "管理后台 - 流程定义的分页的每一项 Response VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class BpmProcessDefinitionPageItemRespVO extends BpmProcessDefinitionRespVO {
15 15  
16   - @Schema(title = "表单名字", example = "请假表单")
  16 + @Schema(description = "表单名字", example = "请假表单")
17 17 private String formName;
18 18  
19   - @Schema(title = "部署时间", required = true)
  19 + @Schema(description = "部署时间", required = true)
20 20 private LocalDateTime deploymentTime;
21 21  
22 22 }
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/definition/vo/process/BpmProcessDefinitionPageReqVO.java
... ... @@ -6,13 +6,13 @@ import lombok.Data;
6 6 import lombok.EqualsAndHashCode;
7 7 import lombok.ToString;
8 8  
9   -@Schema(title = "管理后台 - 流程定义分页 Request VO")
  9 +@Schema(description = "管理后台 - 流程定义分页 Request VO")
10 10 @Data
11 11 @ToString(callSuper = true)
12 12 @EqualsAndHashCode(callSuper = true)
13 13 public class BpmProcessDefinitionPageReqVO extends PageParam {
14 14  
15   - @Schema(title = "标识", example = "process1641042089407", description = "精准匹配")
  15 + @Schema(description = "标识-精准匹配", example = "process1641042089407")
16 16 private String key;
17 17  
18 18 }
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/definition/vo/process/BpmProcessDefinitionRespVO.java
... ... @@ -7,45 +7,43 @@ import javax.validation.constraints.NotEmpty;
7 7 import javax.validation.constraints.NotNull;
8 8 import java.util.List;
9 9  
10   -@Schema(title = "管理后台 - 流程定义 Response VO")
  10 +@Schema(description = "管理后台 - 流程定义 Response VO")
11 11 @Data
12 12 public class BpmProcessDefinitionRespVO {
13 13  
14   - @Schema(title = "编号", required = true, example = "1024")
  14 + @Schema(description = "编号", required = true, example = "1024")
15 15 private String id;
16 16  
17   - @Schema(title = "版本", required = true, example = "1")
  17 + @Schema(description = "版本", required = true, example = "1")
18 18 private Integer version;
19 19  
20   - @Schema(title = "流程名称", required = true, example = "芋道")
  20 + @Schema(description = "流程名称", required = true, example = "芋道")
21 21 @NotEmpty(message = "流程名称不能为空")
22 22 private String name;
23 23  
24   - @Schema(title = "流程描述", example = "我是描述")
  24 + @Schema(description = "流程描述", example = "我是描述")
25 25 private String description;
26 26  
27   - @Schema(title = "流程分类", description = "参见 bpm_model_category 数据字典", example = "1")
  27 + @Schema(description = "流程分类-参见 bpm_model_category 数据字典", example = "1")
28 28 @NotEmpty(message = "流程分类不能为空")
29 29 private String category;
30 30  
31   - @Schema(title = "表单类型", description = "参见 bpm_model_form_type 数据字典", example = "1")
  31 + @Schema(description = "表单类型-参见 bpm_model_form_type 数据字典", example = "1")
32 32 private Integer formType;
33   - @Schema(title = "表单编号", example = "1024", description = "在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空")
  33 + @Schema(description = "表单编号-在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空", example = "1024")
34 34 private Long formId;
35   - @Schema(title = "表单的配置", required = true,
36   - description = "JSON 字符串。在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空")
  35 + @Schema(description = "表单的配置-JSON 字符串。在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空", required = true)
37 36 private String formConf;
38   - @Schema(title = "表单项的数组", required = true,
39   - description = "JSON 字符串的数组。在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空")
  37 + @Schema(description = "表单项的数组-JSON 字符串的数组。在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空", required = true)
40 38 private List<String> formFields;
41   - @Schema(title = "自定义表单的提交路径,使用 Vue 的路由地址", example = "/bpm/oa/leave/create",
42   - description = "在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空")
  39 + @Schema(description = "自定义表单的提交路径,使用 Vue 的路由地址-在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空",
  40 + example = "/bpm/oa/leave/create")
43 41 private String formCustomCreatePath;
44   - @Schema(title = "自定义表单的查看路径,使用 Vue 的路由地址", example = "/bpm/oa/leave/view",
45   - description = "在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空")
  42 + @Schema(description = "自定义表单的查看路径,使用 Vue 的路由地址-在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空",
  43 + example = "/bpm/oa/leave/view")
46 44 private String formCustomViewPath;
47 45  
48   - @Schema(title = "中断状态", required = true, example = "1", description = "参见 SuspensionState 枚举")
  46 + @Schema(description = "中断状态-参见 SuspensionState 枚举", required = true, example = "1")
49 47 private Integer suspensionState;
50 48  
51 49 }
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/definition/vo/rule/BpmTaskAssignRuleBaseVO.java
... ... @@ -13,11 +13,11 @@ import java.util.Set;
13 13 @Data
14 14 public class BpmTaskAssignRuleBaseVO {
15 15  
16   - @Schema(title = "规则类型", required = true, example = "bpm_task_assign_rule_type")
  16 + @Schema(description = "规则类型", required = true, example = "bpm_task_assign_rule_type")
17 17 @NotNull(message = "规则类型不能为空")
18 18 private Integer type;
19 19  
20   - @Schema(title = "规则值数组", required = true, example = "1,2,3")
  20 + @Schema(description = "规则值数组", required = true, example = "1,2,3")
21 21 @NotNull(message = "规则值数组不能为空")
22 22 private Set<Long> options;
23 23  
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/definition/vo/rule/BpmTaskAssignRuleCreateReqVO.java
... ... @@ -7,17 +7,17 @@ import lombok.ToString;
7 7  
8 8 import javax.validation.constraints.NotEmpty;
9 9  
10   -@Schema(title = "管理后台 - 流程任务分配规则的创建 Request VO")
  10 +@Schema(description = "管理后台 - 流程任务分配规则的创建 Request VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class BpmTaskAssignRuleCreateReqVO extends BpmTaskAssignRuleBaseVO {
15 15  
16   - @Schema(title = "流程模型的编号", required = true, example = "1024")
  16 + @Schema(description = "流程模型的编号", required = true, example = "1024")
17 17 @NotEmpty(message = "流程模型的编号不能为空")
18 18 private String modelId;
19 19  
20   - @Schema(title = "流程任务定义的编号", required = true, example = "2048")
  20 + @Schema(description = "流程任务定义的编号", required = true, example = "2048")
21 21 @NotEmpty(message = "流程任务定义的编号不能为空")
22 22 private String taskDefinitionKey;
23 23  
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/definition/vo/rule/BpmTaskAssignRuleRespVO.java
... ... @@ -5,24 +5,24 @@ import lombok.Data;
5 5 import lombok.EqualsAndHashCode;
6 6 import lombok.ToString;
7 7  
8   -@Schema(title = "管理后台 - 流程任务分配规则的 Response VO")
  8 +@Schema(description = "管理后台 - 流程任务分配规则的 Response VO")
9 9 @Data
10 10 @EqualsAndHashCode(callSuper = true)
11 11 @ToString(callSuper = true)
12 12 public class BpmTaskAssignRuleRespVO extends BpmTaskAssignRuleBaseVO {
13 13  
14   - @Schema(title = "任务分配规则的编号", required = true, example = "1024")
  14 + @Schema(description = "任务分配规则的编号", required = true, example = "1024")
15 15 private Long id;
16 16  
17   - @Schema(title = "流程模型的编号", required = true, example = "2048")
  17 + @Schema(description = "流程模型的编号", required = true, example = "2048")
18 18 private String modelId;
19 19  
20   - @Schema(title = "流程定义的编号", required = true, example = "4096")
  20 + @Schema(description = "流程定义的编号", required = true, example = "4096")
21 21 private String processDefinitionId;
22 22  
23   - @Schema(title = "流程任务定义的编号", required = true, example = "2048")
  23 + @Schema(description = "流程任务定义的编号", required = true, example = "2048")
24 24 private String taskDefinitionKey;
25   - @Schema(title = "流程任务定义的名字", required = true, example = "关注芋道")
  25 + @Schema(description = "流程任务定义的名字", required = true, example = "关注芋道")
26 26 private String taskDefinitionName;
27 27  
28 28 }
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/definition/vo/rule/BpmTaskAssignRuleUpdateReqVO.java
... ... @@ -7,13 +7,13 @@ import lombok.ToString;
7 7  
8 8 import javax.validation.constraints.NotNull;
9 9  
10   -@Schema(title = "管理后台 - 流程任务分配规则的更新 Request VO")
  10 +@Schema(description = "管理后台 - 流程任务分配规则的更新 Request VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class BpmTaskAssignRuleUpdateReqVO extends BpmTaskAssignRuleBaseVO {
15 15  
16   - @Schema(title = "任务分配规则的编号", required = true, example = "1024")
  16 + @Schema(description = "任务分配规则的编号", required = true, example = "1024")
17 17 @NotNull(message = "任务分配规则的编号不能为空")
18 18 private Long id;
19 19  
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/oa/vo/BpmOALeaveBaseVO.java
... ... @@ -14,19 +14,19 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_
14 14 @Data
15 15 public class BpmOALeaveBaseVO {
16 16  
17   - @Schema(title = "请假的开始时间", required = true)
  17 + @Schema(description = "请假的开始时间", required = true)
18 18 @NotNull(message = "开始时间不能为空")
19 19 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
20 20 private LocalDateTime startTime;
21   - @Schema(title = "请假的结束时间", required = true)
  21 + @Schema(description = "请假的结束时间", required = true)
22 22 @NotNull(message = "结束时间不能为空")
23 23 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
24 24 private LocalDateTime endTime;
25 25  
26   - @Schema(title = "请假类型", required = true, example = "1", description = "参见 bpm_oa_type 枚举")
  26 + @Schema(description = "请假类型-参见 bpm_oa_type 枚举", required = true, example = "1")
27 27 private Integer type;
28 28  
29   - @Schema(title = "原因", required = true, example = "阅读芋道源码")
  29 + @Schema(description = "原因", required = true, example = "阅读芋道源码")
30 30 private String reason;
31 31  
32 32 }
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/oa/vo/BpmOALeaveCreateReqVO.java
... ... @@ -6,7 +6,7 @@ import lombok.ToString;
6 6  
7 7 import javax.validation.constraints.AssertTrue;
8 8  
9   -@Schema(title = "管理后台 - 请假申请创建 Request VO")
  9 +@Schema(description = "管理后台 - 请假申请创建 Request VO")
10 10 @Data
11 11 @EqualsAndHashCode(callSuper = true)
12 12 @ToString(callSuper = true)
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/oa/vo/BpmOALeavePageReqVO.java
... ... @@ -7,23 +7,23 @@ import org.springframework.format.annotation.DateTimeFormat;
7 7  
8 8 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
9 9  
10   -@Schema(title = "管理后台 - 请假申请分页 Request VO")
  10 +@Schema(description = "管理后台 - 请假申请分页 Request VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class BpmOALeavePageReqVO extends PageParam {
15 15  
16   - @Schema(title = "状态", example = "1", description = "参见 bpm_process_instance_result 枚举")
  16 + @Schema(description = "状态-参见 bpm_process_instance_result 枚举", example = "1")
17 17 private Integer result;
18 18  
19   - @Schema(title = "请假类型", example = "1", description = "参见 bpm_oa_type")
  19 + @Schema(description = "请假类型-参见 bpm_oa_type", example = "1")
20 20 private Integer type;
21 21  
22   - @Schema(title = "原因", example = "阅读芋道源码", description = "模糊匹配")
  22 + @Schema(description = "原因-模糊匹配", example = "阅读芋道源码")
23 23 private String reason;
24 24  
25 25 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
26   - @Schema(title = "申请时间")
  26 + @Schema(description = "申请时间")
27 27 private LocalDateTime[] createTime;
28 28  
29 29 }
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/oa/vo/BpmOALeaveRespVO.java
... ... @@ -8,24 +8,24 @@ import java.time.LocalDateTime;
8 8  
9 9 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
10 10  
11   -@Schema(title = "管理后台 - 请假申请 Response VO")
  11 +@Schema(description = "管理后台 - 请假申请 Response VO")
12 12 @Data
13 13 @EqualsAndHashCode(callSuper = true)
14 14 @ToString(callSuper = true)
15 15 public class BpmOALeaveRespVO extends BpmOALeaveBaseVO {
16 16  
17   - @Schema(title = "请假表单主键", required = true, example = "1024")
  17 + @Schema(description = "请假表单主键", required = true, example = "1024")
18 18 private Long id;
19 19  
20   - @Schema(title = "状态", required = true, example = "1", description = "参见 bpm_process_instance_result 枚举")
  20 + @Schema(description = "状态-参见 bpm_process_instance_result 枚举", required = true, example = "1")
21 21 private Integer result;
22 22  
23   - @Schema(title = "申请时间", required = true)
  23 + @Schema(description = "申请时间", required = true)
24 24 @NotNull(message = "申请时间不能为空")
25 25 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
26 26 private LocalDateTime createTime;
27 27  
28   - @Schema(title = "流程id")
  28 + @Schema(description = "流程id")
29 29 private String processInstanceId;
30 30  
31 31 }
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/task/vo/activity/BpmActivityRespVO.java
... ... @@ -5,21 +5,21 @@ import lombok.Data;
5 5  
6 6 import java.time.LocalDateTime;
7 7  
8   -@Schema(title = "管理后台 - 流程活动的 Response VO")
  8 +@Schema(description = "管理后台 - 流程活动的 Response VO")
9 9 @Data
10 10 public class BpmActivityRespVO {
11 11  
12   - @Schema(title = "流程活动的标识", required = true, example = "1024")
  12 + @Schema(description = "流程活动的标识", required = true, example = "1024")
13 13 private String key;
14   - @Schema(title = "流程活动的类型", required = true, example = "StartEvent")
  14 + @Schema(description = "流程活动的类型", required = true, example = "StartEvent")
15 15 private String type;
16 16  
17   - @Schema(title = "流程活动的开始时间", required = true)
  17 + @Schema(description = "流程活动的开始时间", required = true)
18 18 private LocalDateTime startTime;
19   - @Schema(title = "流程活动的结束时间", required = true)
  19 + @Schema(description = "流程活动的结束时间", required = true)
20 20 private LocalDateTime endTime;
21 21  
22   - @Schema(title = "关联的流程任务的编号", example = "2048", description = "关联的流程任务,只有 UserTask 等类型才有")
  22 + @Schema(description = "关联的流程任务的编号-关联的流程任务,只有 UserTask 等类型才有", example = "2048")
23 23 private String taskId;
24 24  
25 25 }
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/task/vo/instance/BpmProcessInstanceCancelReqVO.java
... ... @@ -7,15 +7,15 @@ import javax.validation.constraints.NotEmpty;
7 7 import javax.validation.constraints.NotNull;
8 8 import java.util.Map;
9 9  
10   -@Schema(title = "管理后台 - 流程实例的取消 Request VO")
  10 +@Schema(description = "管理后台 - 流程实例的取消 Request VO")
11 11 @Data
12 12 public class BpmProcessInstanceCancelReqVO {
13 13  
14   - @Schema(title = "流程实例的编号", required = true, example = "1024")
  14 + @Schema(description = "流程实例的编号", required = true, example = "1024")
15 15 @NotEmpty(message = "流程实例的编号不能为空")
16 16 private String id;
17 17  
18   - @Schema(title = "取消原因", required = true, example = "不请假了!")
  18 + @Schema(description = "取消原因", required = true, example = "不请假了!")
19 19 @NotEmpty(message = "取消原因不能为空")
20 20 private String reason;
21 21  
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/task/vo/instance/BpmProcessInstanceCreateReqVO.java
... ... @@ -6,15 +6,15 @@ import lombok.Data;
6 6 import javax.validation.constraints.NotEmpty;
7 7 import java.util.Map;
8 8  
9   -@Schema(title = "管理后台 - 流程实例的创建 Request VO")
  9 +@Schema(description = "管理后台 - 流程实例的创建 Request VO")
10 10 @Data
11 11 public class BpmProcessInstanceCreateReqVO {
12 12  
13   - @Schema(title = "流程定义的编号", required = true, example = "1024")
  13 + @Schema(description = "流程定义的编号", required = true, example = "1024")
14 14 @NotEmpty(message = "流程定义编号不能为空")
15 15 private String processDefinitionId;
16 16  
17   - @Schema(title = "变量实例")
  17 + @Schema(description = "变量实例")
18 18 private Map<String, Object> variables;
19 19  
20 20 }
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/task/vo/instance/BpmProcessInstanceMyPageReqVO.java
... ... @@ -11,28 +11,28 @@ import java.time.LocalDateTime;
11 11  
12 12 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
13 13  
14   -@Schema(title = "管理后台 - 流程实例的分页 Item Response VO")
  14 +@Schema(description = "管理后台 - 流程实例的分页 Item Response VO")
15 15 @Data
16 16 @EqualsAndHashCode(callSuper = true)
17 17 @ToString(callSuper = true)
18 18 public class BpmProcessInstanceMyPageReqVO extends PageParam {
19 19  
20   - @Schema(title = "流程名称", example = "芋道")
  20 + @Schema(description = "流程名称", example = "芋道")
21 21 private String name;
22 22  
23   - @Schema(title = "流程定义的编号", example = "2048")
  23 + @Schema(description = "流程定义的编号", example = "2048")
24 24 private String processDefinitionId;
25 25  
26   - @Schema(title = "流程实例的状态", description = "参见 bpm_process_instance_status", example = "1")
  26 + @Schema(description = "流程实例的状态-参见 bpm_process_instance_status", example = "1")
27 27 private Integer status;
28 28  
29   - @Schema(title = "流程实例的结果", description = "参见 bpm_process_instance_result", example = "2")
  29 + @Schema(description = "流程实例的结果-参见 bpm_process_instance_result", example = "2")
30 30 private Integer result;
31 31  
32   - @Schema(title = "流程分类", description = "参见 bpm_model_category 数据字典", example = "1")
  32 + @Schema(description = "流程分类-参见 bpm_model_category 数据字典", example = "1")
33 33 private String category;
34 34  
35   - @Schema(title = "创建时间")
  35 + @Schema(description = "创建时间")
36 36 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
37 37 private LocalDateTime[] createTime;
38 38  
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/task/vo/instance/BpmProcessInstancePageItemRespVO.java
... ... @@ -6,32 +6,32 @@ import lombok.Data;
6 6 import java.time.LocalDateTime;
7 7 import java.util.List;
8 8  
9   -@Schema(title = "管理后台 - 流程实例的分页 Item Response VO")
  9 +@Schema(description = "管理后台 - 流程实例的分页 Item Response VO")
10 10 @Data
11 11 public class BpmProcessInstancePageItemRespVO {
12 12  
13   - @Schema(title = "流程实例的编号", required = true, example = "1024")
  13 + @Schema(description = "流程实例的编号", required = true, example = "1024")
14 14 private String id;
15 15  
16   - @Schema(title = "流程名称", required = true, example = "芋道")
  16 + @Schema(description = "流程名称", required = true, example = "芋道")
17 17 private String name;
18 18  
19   - @Schema(title = "流程定义的编号", required = true, example = "2048")
  19 + @Schema(description = "流程定义的编号", required = true, example = "2048")
20 20 private String processDefinitionId;
21 21  
22   - @Schema(title = "流程分类", required = true, description = "参见 bpm_model_category 数据字典", example = "1")
  22 + @Schema(description = "流程分类-参见 bpm_model_category 数据字典", required = true, example = "1")
23 23 private String category;
24 24  
25   - @Schema(title = "流程实例的状态", required = true, description = "参见 bpm_process_instance_status", example = "1")
  25 + @Schema(description = "流程实例的状态-参见 bpm_process_instance_status", required = true, example = "1")
26 26 private Integer status;
27 27  
28   - @Schema(title = "流程实例的结果", required = true, description = "参见 bpm_process_instance_result", example = "2")
  28 + @Schema(description = "流程实例的结果-参见 bpm_process_instance_result", required = true, example = "2")
29 29 private Integer result;
30 30  
31   - @Schema(title = "提交时间", required = true)
  31 + @Schema(description = "提交时间", required = true)
32 32 private LocalDateTime createTime;
33 33  
34   - @Schema(title = "结束时间", required = true)
  34 + @Schema(description = "结束时间", required = true)
35 35 private LocalDateTime endTime;
36 36  
37 37 /**
... ... @@ -39,14 +39,14 @@ public class BpmProcessInstancePageItemRespVO {
39 39 */
40 40 private List<Task> tasks;
41 41  
42   - @Schema(title = "流程任务")
  42 + @Schema(description = "流程任务")
43 43 @Data
44 44 public static class Task {
45 45  
46   - @Schema(title = "流程任务的编号", required = true, example = "1024")
  46 + @Schema(description = "流程任务的编号", required = true, example = "1024")
47 47 private String id;
48 48  
49   - @Schema(title = "任务名称", required = true, example = "芋道")
  49 + @Schema(description = "任务名称", required = true, example = "芋道")
50 50 private String name;
51 51  
52 52 }
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/task/vo/instance/BpmProcessInstanceRespVO.java
... ... @@ -7,35 +7,35 @@ import java.time.LocalDateTime;
7 7 import java.util.List;
8 8 import java.util.Map;
9 9  
10   -@Schema(title = "管理后台 - 流程实例的 Response VO")
  10 +@Schema(description = "管理后台 - 流程实例的 Response VO")
11 11 @Data
12 12 public class BpmProcessInstanceRespVO {
13 13  
14   - @Schema(title = "流程实例的编号", required = true, example = "1024")
  14 + @Schema(description = "流程实例的编号", required = true, example = "1024")
15 15 private String id;
16 16  
17   - @Schema(title = "流程名称", required = true, example = "芋道")
  17 + @Schema(description = "流程名称", required = true, example = "芋道")
18 18 private String name;
19 19  
20   - @Schema(title = "流程分类", required = true, description = "参见 bpm_model_category 数据字典", example = "1")
  20 + @Schema(description = "流程分类-参见 bpm_model_category 数据字典", required = true, example = "1")
21 21 private String category;
22 22  
23   - @Schema(title = "流程实例的状态", required = true, description = "参见 bpm_process_instance_status", example = "1")
  23 + @Schema(description = "流程实例的状态-参见 bpm_process_instance_status", required = true, example = "1")
24 24 private Integer status;
25 25  
26   - @Schema(title = "流程实例的结果", required = true, description = "参见 bpm_process_instance_result", example = "2")
  26 + @Schema(description = "流程实例的结果-参见 bpm_process_instance_result", required = true, example = "2")
27 27 private Integer result;
28 28  
29   - @Schema(title = "提交时间", required = true)
  29 + @Schema(description = "提交时间", required = true)
30 30 private LocalDateTime createTime;
31 31  
32   - @Schema(title = "结束时间", required = true)
  32 + @Schema(description = "结束时间", required = true)
33 33 private LocalDateTime endTime;
34 34  
35   - @Schema(title = "提交的表单值", required = true)
  35 + @Schema(description = "提交的表单值", required = true)
36 36 private Map<String, Object> formVariables;
37 37  
38   - @Schema(title = "业务的唯一标识", example = "1", description = "例如说,请假申请的编号")
  38 + @Schema(description = "业务的唯一标识-例如说,请假申请的编号", example = "1")
39 39 private String businessKey;
40 40  
41 41 /**
... ... @@ -48,47 +48,45 @@ public class BpmProcessInstanceRespVO {
48 48 */
49 49 private ProcessDefinition processDefinition;
50 50  
51   - @Schema(title = "用户信息")
  51 + @Schema(description = "用户信息")
52 52 @Data
53 53 public static class User {
54 54  
55   - @Schema(title = "用户编号", required = true, example = "1")
  55 + @Schema(description = "用户编号", required = true, example = "1")
56 56 private Long id;
57   - @Schema(title = "用户昵称", required = true, example = "芋艿")
  57 + @Schema(description = "用户昵称", required = true, example = "芋艿")
58 58 private String nickname;
59 59  
60   - @Schema(title = "部门编号", required = true, example = "1")
  60 + @Schema(description = "部门编号", required = true, example = "1")
61 61 private Long deptId;
62   - @Schema(title = "部门名称", required = true, example = "研发部")
  62 + @Schema(description = "部门名称", required = true, example = "研发部")
63 63 private String deptName;
64 64  
65 65 }
66 66  
67   - @Schema(title = "流程定义信息")
  67 + @Schema(description = "流程定义信息")
68 68 @Data
69 69 public static class ProcessDefinition {
70 70  
71   - @Schema(title = "编号", required = true, example = "1024")
  71 + @Schema(description = "编号", required = true, example = "1024")
72 72 private String id;
73 73  
74   - @Schema(title = "表单类型", description = "参见 bpm_model_form_type 数据字典", example = "1")
  74 + @Schema(description = "表单类型-参见 bpm_model_form_type 数据字典", example = "1")
75 75 private Integer formType;
76   - @Schema(title = "表单编号", example = "1024", description = "在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空")
  76 + @Schema(description = "表单编号-在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空", example = "1024")
77 77 private Long formId;
78   - @Schema(title = "表单的配置", required = true,
79   - description = "JSON 字符串。在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空")
  78 + @Schema(description = "表单的配置-JSON 字符串。在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空", required = true)
80 79 private String formConf;
81   - @Schema(title = "表单项的数组", required = true,
82   - description = "JSON 字符串的数组。在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空")
  80 + @Schema(description = "表单项的数组-JSON 字符串的数组。在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空", required = true)
83 81 private List<String> formFields;
84   - @Schema(title = "自定义表单的提交路径,使用 Vue 的路由地址", example = "/bpm/oa/leave/create",
85   - description = "在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空")
  82 + @Schema(description = "自定义表单的提交路径,使用 Vue 的路由地址-在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空",
  83 + example = "/bpm/oa/leave/create")
86 84 private String formCustomCreatePath;
87   - @Schema(title = "自定义表单的查看路径,使用 Vue 的路由地址", example = "/bpm/oa/leave/view",
88   - description = "在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空")
  85 + @Schema(description = "自定义表单的查看路径,使用 Vue 的路由地址-在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空",
  86 + example = "/bpm/oa/leave/view")
89 87 private String formCustomViewPath;
90 88  
91   - @Schema(title = "BPMN XML", required = true)
  89 + @Schema(description = "BPMN XML", required = true)
92 90 private String bpmnXml;
93 91  
94 92 }
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/task/vo/task/BpmTaskApproveReqVO.java
... ... @@ -5,15 +5,15 @@ import lombok.Data;
5 5  
6 6 import javax.validation.constraints.NotEmpty;
7 7  
8   -@Schema(title = "管理后台 - 通过流程任务的 Request VO")
  8 +@Schema(description = "管理后台 - 通过流程任务的 Request VO")
9 9 @Data
10 10 public class BpmTaskApproveReqVO {
11 11  
12   - @Schema(title = "任务编号", required = true, example = "1024")
  12 + @Schema(description = "任务编号", required = true, example = "1024")
13 13 @NotEmpty(message = "任务编号不能为空")
14 14 private String id;
15 15  
16   - @Schema(title = "审批意见", required = true, example = "不错不错!")
  16 + @Schema(description = "审批意见", required = true, example = "不错不错!")
17 17 @NotEmpty(message = "审批意见不能为空")
18 18 private String reason;
19 19  
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/task/vo/task/BpmTaskDonePageItemRespVO.java
... ... @@ -7,20 +7,20 @@ import lombok.ToString;
7 7  
8 8 import java.time.LocalDateTime;
9 9  
10   -@Schema(title = "管理后台 - 流程任务的 Done 已完成的分页项 Response VO")
  10 +@Schema(description = "管理后台 - 流程任务的 Done 已完成的分页项 Response VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class BpmTaskDonePageItemRespVO extends BpmTaskTodoPageItemRespVO {
15 15  
16   - @Schema(title = "结束时间", required = true)
  16 + @Schema(description = "结束时间", required = true)
17 17 private LocalDateTime endTime;
18   - @Schema(title = "持续时间", required = true, example = "1000")
  18 + @Schema(description = "持续时间", required = true, example = "1000")
19 19 private Long durationInMillis;
20 20  
21   - @Schema(title = "任务结果", required = true, description = "参见 bpm_process_instance_result", example = "2")
  21 + @Schema(description = "任务结果-参见 bpm_process_instance_result", required = true, example = "2")
22 22 private Integer result;
23   - @Schema(title = "审批建议", required = true, example = "不请假了!")
  23 + @Schema(description = "审批建议", required = true, example = "不请假了!")
24 24 private String reason;
25 25  
26 26 }
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/task/vo/task/BpmTaskDonePageReqVO.java
... ... @@ -11,20 +11,20 @@ import java.time.LocalDateTime;
11 11  
12 12 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
13 13  
14   -@Schema(title = "管理后台 - 流程任务的 Done 已办的分页 Request VO")
  14 +@Schema(description = "管理后台 - 流程任务的 Done 已办的分页 Request VO")
15 15 @Data
16 16 @EqualsAndHashCode(callSuper = true)
17 17 @ToString(callSuper = true)
18 18 public class BpmTaskDonePageReqVO extends PageParam {
19 19  
20   - @Schema(title = "流程任务名", example = "芋道")
  20 + @Schema(description = "流程任务名", example = "芋道")
21 21 private String name;
22 22  
23   - @Schema(title = "开始的创建收间")
  23 + @Schema(description = "开始的创建收间")
24 24 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
25 25 private LocalDateTime beginCreateTime;
26 26  
27   - @Schema(title = "结束的创建时间")
  27 + @Schema(description = "结束的创建时间")
28 28 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
29 29 private LocalDateTime endCreateTime;
30 30  
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/task/vo/task/BpmTaskRejectReqVO.java
... ... @@ -5,15 +5,15 @@ import lombok.Data;
5 5  
6 6 import javax.validation.constraints.NotEmpty;
7 7  
8   -@Schema(title = "管理后台 - 不通过流程任务的 Request VO")
  8 +@Schema(description = "管理后台 - 不通过流程任务的 Request VO")
9 9 @Data
10 10 public class BpmTaskRejectReqVO {
11 11  
12   - @Schema(title = "任务编号", required = true, example = "1024")
  12 + @Schema(description = "任务编号", required = true, example = "1024")
13 13 @NotEmpty(message = "任务编号不能为空")
14 14 private String id;
15 15  
16   - @Schema(title = "审批意见", required = true, example = "不错不错!")
  16 + @Schema(description = "审批意见", required = true, example = "不错不错!")
17 17 @NotEmpty(message = "审批意见不能为空")
18 18 private String reason;
19 19  
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/task/vo/task/BpmTaskRespVO.java
... ... @@ -5,13 +5,13 @@ import lombok.Data;
5 5 import lombok.EqualsAndHashCode;
6 6 import lombok.ToString;
7 7  
8   -@Schema(title = "管理后台 - 流程任务的 Response VO")
  8 +@Schema(description = "管理后台 - 流程任务的 Response VO")
9 9 @Data
10 10 @EqualsAndHashCode(callSuper = true)
11 11 @ToString(callSuper = true)
12 12 public class BpmTaskRespVO extends BpmTaskDonePageItemRespVO {
13 13  
14   - @Schema(title = "任务定义的标识", required = true, example = "user-001")
  14 + @Schema(description = "任务定义的标识", required = true, example = "user-001")
15 15 private String definitionKey;
16 16  
17 17 /**
... ... @@ -19,18 +19,18 @@ public class BpmTaskRespVO extends BpmTaskDonePageItemRespVO {
19 19 */
20 20 private User assigneeUser;
21 21  
22   - @Schema(title = "用户信息")
  22 + @Schema(description = "用户信息")
23 23 @Data
24 24 public static class User {
25 25  
26   - @Schema(title = "用户编号", required = true, example = "1")
  26 + @Schema(description = "用户编号", required = true, example = "1")
27 27 private Long id;
28   - @Schema(title = "用户昵称", required = true, example = "芋艿")
  28 + @Schema(description = "用户昵称", required = true, example = "芋艿")
29 29 private String nickname;
30 30  
31   - @Schema(title = "部门编号", required = true, example = "1")
  31 + @Schema(description = "部门编号", required = true, example = "1")
32 32 private Long deptId;
33   - @Schema(title = "部门名称", required = true, example = "研发部")
  33 + @Schema(description = "部门名称", required = true, example = "研发部")
34 34 private String deptName;
35 35  
36 36 }
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/task/vo/task/BpmTaskTodoPageItemRespVO.java
... ... @@ -5,23 +5,23 @@ import lombok.Data;
5 5  
6 6 import java.time.LocalDateTime;
7 7  
8   -@Schema(title = "管理后台 - 流程任务的 Running 进行中的分页项 Response VO")
  8 +@Schema(description = "管理后台 - 流程任务的 Running 进行中的分页项 Response VO")
9 9 @Data
10 10 public class BpmTaskTodoPageItemRespVO {
11 11  
12   - @Schema(title = "任务编号", required = true, example = "1024")
  12 + @Schema(description = "任务编号", required = true, example = "1024")
13 13 private String id;
14 14  
15   - @Schema(title = "任务名字", required = true, example = "芋道")
  15 + @Schema(description = "任务名字", required = true, example = "芋道")
16 16 private String name;
17 17  
18   - @Schema(title = "接收时间", required = true)
  18 + @Schema(description = "接收时间", required = true)
19 19 private LocalDateTime claimTime;
20 20  
21   - @Schema(title = "创建时间", required = true)
  21 + @Schema(description = "创建时间", required = true)
22 22 private LocalDateTime createTime;
23 23  
24   - @Schema(title = "激活状态", required = true, example = "1", description = "参见 SuspensionState 枚举")
  24 + @Schema(description = "激活状态-参见 SuspensionState 枚举", required = true, example = "1")
25 25 private Integer suspensionState;
26 26  
27 27 /**
... ... @@ -30,22 +30,22 @@ public class BpmTaskTodoPageItemRespVO {
30 30 private ProcessInstance processInstance;
31 31  
32 32 @Data
33   - @Schema(title = "流程实例")
  33 + @Schema(description = "流程实例")
34 34 public static class ProcessInstance {
35 35  
36   - @Schema(title = "流程实例编号", required = true, example = "1024")
  36 + @Schema(description = "流程实例编号", required = true, example = "1024")
37 37 private String id;
38 38  
39   - @Schema(title = "流程实例名称", required = true, example = "芋道")
  39 + @Schema(description = "流程实例名称", required = true, example = "芋道")
40 40 private String name;
41 41  
42   - @Schema(title = "发起人的用户编号", required = true, example = "1024")
  42 + @Schema(description = "发起人的用户编号", required = true, example = "1024")
43 43 private Long startUserId;
44 44  
45   - @Schema(title = "发起人的用户昵称", required = true, example = "芋艿")
  45 + @Schema(description = "发起人的用户昵称", required = true, example = "芋艿")
46 46 private String startUserNickname;
47 47  
48   - @Schema(title = "流程定义的编号", required = true, example = "2048")
  48 + @Schema(description = "流程定义的编号", required = true, example = "2048")
49 49 private String processDefinitionId;
50 50  
51 51 }
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/task/vo/task/BpmTaskTodoPageReqVO.java
... ... @@ -11,20 +11,20 @@ import java.time.LocalDateTime;
11 11  
12 12 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
13 13  
14   -@Schema(title = "管理后台 - 流程任务的 TODO 待办的分页 Request VO")
  14 +@Schema(description = "管理后台 - 流程任务的 TODO 待办的分页 Request VO")
15 15 @Data
16 16 @EqualsAndHashCode(callSuper = true)
17 17 @ToString(callSuper = true)
18 18 public class BpmTaskTodoPageReqVO extends PageParam {
19 19  
20   - @Schema(title = "流程任务名", example = "芋道")
  20 + @Schema(description = "流程任务名", example = "芋道")
21 21 private String name;
22 22  
23   - @Schema(title = "开始的创建收间")
  23 + @Schema(description = "开始的创建收间")
24 24 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
25 25 private LocalDateTime beginCreateTime;
26 26  
27   - @Schema(title = "结束的创建时间")
  27 + @Schema(description = "结束的创建时间")
28 28 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
29 29 private LocalDateTime endCreateTime;
30 30  
... ...
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/controller/admin/task/vo/task/BpmTaskUpdateAssigneeReqVO.java
... ... @@ -9,15 +9,15 @@ import net.bytebuddy.implementation.bind.annotation.Empty;
9 9 import javax.validation.constraints.NotEmpty;
10 10 import javax.validation.constraints.NotNull;
11 11  
12   -@Schema(title = "管理后台 - 流程任务的更新负责人的 Request VO")
  12 +@Schema(description = "管理后台 - 流程任务的更新负责人的 Request VO")
13 13 @Data
14 14 public class BpmTaskUpdateAssigneeReqVO {
15 15  
16   - @Schema(title = "任务编号", required = true, example = "1024")
  16 + @Schema(description = "任务编号", required = true, example = "1024")
17 17 @NotEmpty(message = "任务编号不能为空")
18 18 private String id;
19 19  
20   - @Schema(title = "新审批人的用户编号", required = true, example = "2048")
  20 + @Schema(description = "新审批人的用户编号", required = true, example = "2048")
21 21 @NotNull(message = "新审批人的用户编号不能为空")
22 22 private Long assigneeUserId;
23 23  
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/codegen/vo/CodegenCreateListReqVO.java
... ... @@ -6,15 +6,15 @@ import lombok.Data;
6 6 import javax.validation.constraints.NotNull;
7 7 import java.util.List;
8 8  
9   -@Schema(title = "管理后台 - 基于数据库的表结构,创建代码生成器的表和字段定义 Request VO")
  9 +@Schema(description = "管理后台 - 基于数据库的表结构,创建代码生成器的表和字段定义 Request VO")
10 10 @Data
11 11 public class CodegenCreateListReqVO {
12 12  
13   - @Schema(title = "数据源配置的编号", required = true, example = "1")
  13 + @Schema(description = "数据源配置的编号", required = true, example = "1")
14 14 @NotNull(message = "数据源配置的编号不能为空")
15 15 private Long dataSourceConfigId;
16 16  
17   - @Schema(title = "表名数组", required = true, example = "[1, 2, 3]")
  17 + @Schema(description = "表名数组", required = true, example = "[1, 2, 3]")
18 18 @NotNull(message = "表名数组不能为空")
19 19 private List<String> tableNames;
20 20  
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/codegen/vo/CodegenDetailRespVO.java
... ... @@ -7,14 +7,14 @@ import lombok.Data;
7 7  
8 8 import java.util.List;
9 9  
10   -@Schema(title = "管理后台 - 代码生成表和字段的明细 Response VO")
  10 +@Schema(description = "管理后台 - 代码生成表和字段的明细 Response VO")
11 11 @Data
12 12 public class CodegenDetailRespVO {
13 13  
14   - @Schema(name = "表定义")
  14 + @Schema(description = "表定义")
15 15 private CodegenTableRespVO table;
16 16  
17   - @Schema(name = "字段定义")
  17 + @Schema(description = "字段定义")
18 18 private List<CodegenColumnRespVO> columns;
19 19  
20 20 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/codegen/vo/CodegenPreviewRespVO.java
... ... @@ -3,14 +3,14 @@ package cn.iocoder.yudao.module.infra.controller.admin.codegen.vo;
3 3 import io.swagger.v3.oas.annotations.media.Schema;
4 4 import lombok.Data;
5 5  
6   -@Schema(title = "管理后台 - 代码生成预览 Response VO", description ="注意,每个文件都是一个该对象")
  6 +@Schema(description = "管理后台 - 代码生成预览 Response VO,注意,每个文件都是一个该对象")
7 7 @Data
8 8 public class CodegenPreviewRespVO {
9 9  
10   - @Schema(title = "文件路径", required = true, example = "java/cn/iocoder/yudao/adminserver/modules/system/controller/test/SysTestDemoController.java")
  10 + @Schema(description = "文件路径", required = true, example = "java/cn/iocoder/yudao/adminserver/modules/system/controller/test/SysTestDemoController.java")
11 11 private String filePath;
12 12  
13   - @Schema(title = "代码", required = true, example = "Hello World")
  13 + @Schema(description = "代码", required = true, example = "Hello World")
14 14 private String code;
15 15  
16 16 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/codegen/vo/CodegenUpdateReqVO.java
... ... @@ -14,7 +14,7 @@ import javax.validation.constraints.AssertTrue;
14 14 import javax.validation.constraints.NotNull;
15 15 import java.util.List;
16 16  
17   -@Schema(title = "管理后台 - 代码生成表和字段的修改 Request VO")
  17 +@Schema(description = "管理后台 - 代码生成表和字段的修改 Request VO")
18 18 @Data
19 19 public class CodegenUpdateReqVO {
20 20  
... ... @@ -26,14 +26,14 @@ public class CodegenUpdateReqVO {
26 26 @NotNull(message = "字段定义不能为空")
27 27 private List<Column> columns;
28 28  
29   - @Schema(title = "更新表定义")
  29 + @Schema(description = "更新表定义")
30 30 @Data
31 31 @EqualsAndHashCode(callSuper = true)
32 32 @ToString(callSuper = true)
33 33 @Valid
34 34 public static class Table extends CodegenTableBaseVO {
35 35  
36   - @Schema(title = "编号", required = true, example = "1")
  36 + @Schema(description = "编号", required = true, example = "1")
37 37 private Long id;
38 38  
39 39 @AssertTrue(message = "上级菜单不能为空")
... ... @@ -45,13 +45,13 @@ public class CodegenUpdateReqVO {
45 45  
46 46 }
47 47  
48   - @Schema(title = "更新表定义")
  48 + @Schema(description = "更新表定义")
49 49 @Data
50 50 @EqualsAndHashCode(callSuper = true)
51 51 @ToString(callSuper = true)
52 52 public static class Column extends CodegenColumnBaseVO {
53 53  
54   - @Schema(title = "编号", required = true, example = "1")
  54 + @Schema(description = "编号", required = true, example = "1")
55 55 private Long id;
56 56  
57 57 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/codegen/vo/column/CodegenColumnBaseVO.java
... ... @@ -11,73 +11,73 @@ import javax.validation.constraints.NotNull;
11 11 @Data
12 12 public class CodegenColumnBaseVO {
13 13  
14   - @Schema(title = "表编号", required = true, example = "1")
  14 + @Schema(description = "表编号", required = true, example = "1")
15 15 @NotNull(message = "表编号不能为空")
16 16 private Long tableId;
17 17  
18   - @Schema(title = "字段名", required = true, example = "user_age")
  18 + @Schema(description = "字段名", required = true, example = "user_age")
19 19 @NotNull(message = "字段名不能为空")
20 20 private String columnName;
21 21  
22   - @Schema(title = "字段类型", required = true, example = "int(11)")
  22 + @Schema(description = "字段类型", required = true, example = "int(11)")
23 23 @NotNull(message = "字段类型不能为空")
24 24 private String dataType;
25 25  
26   - @Schema(title = "字段描述", required = true, example = "年龄")
  26 + @Schema(description = "字段描述", required = true, example = "年龄")
27 27 @NotNull(message = "字段描述不能为空")
28 28 private String columnComment;
29 29  
30   - @Schema(title = "是否允许为空", required = true, example = "true")
  30 + @Schema(description = "是否允许为空", required = true, example = "true")
31 31 @NotNull(message = "是否允许为空不能为空")
32 32 private Boolean nullable;
33 33  
34   - @Schema(title = "是否主键", required = true, example = "false")
  34 + @Schema(description = "是否主键", required = true, example = "false")
35 35 @NotNull(message = "是否主键不能为空")
36 36 private Boolean primaryKey;
37 37  
38   - @Schema(title = "是否自增", required = true, example = "true")
  38 + @Schema(description = "是否自增", required = true, example = "true")
39 39 @NotNull(message = "是否自增不能为空")
40 40 private String autoIncrement;
41 41  
42   - @Schema(title = "排序", required = true, example = "10")
  42 + @Schema(description = "排序", required = true, example = "10")
43 43 @NotNull(message = "排序不能为空")
44 44 private Integer ordinalPosition;
45 45  
46   - @Schema(title = "Java 属性类型", required = true, example = "userAge")
  46 + @Schema(description = "Java 属性类型", required = true, example = "userAge")
47 47 @NotNull(message = "Java 属性类型不能为空")
48 48 private String javaType;
49 49  
50   - @Schema(title = "Java 属性名", required = true, example = "Integer")
  50 + @Schema(description = "Java 属性名", required = true, example = "Integer")
51 51 @NotNull(message = "Java 属性名不能为空")
52 52 private String javaField;
53 53  
54   - @Schema(title = "字典类型", example = "sys_gender")
  54 + @Schema(description = "字典类型", example = "sys_gender")
55 55 private String dictType;
56 56  
57   - @Schema(title = "数据示例", example = "1024")
  57 + @Schema(description = "数据示例", example = "1024")
58 58 private String example;
59 59  
60   - @Schema(title = "是否为 Create 创建操作的字段", required = true, example = "true")
  60 + @Schema(description = "是否为 Create 创建操作的字段", required = true, example = "true")
61 61 @NotNull(message = "是否为 Create 创建操作的字段不能为空")
62 62 private Boolean createOperation;
63 63  
64   - @Schema(title = "是否为 Update 更新操作的字段", required = true, example = "false")
  64 + @Schema(description = "是否为 Update 更新操作的字段", required = true, example = "false")
65 65 @NotNull(message = "是否为 Update 更新操作的字段不能为空")
66 66 private Boolean updateOperation;
67 67  
68   - @Schema(title = "是否为 List 查询操作的字段", required = true, example = "true")
  68 + @Schema(description = "是否为 List 查询操作的字段", required = true, example = "true")
69 69 @NotNull(message = "是否为 List 查询操作的字段不能为空")
70 70 private Boolean listOperation;
71 71  
72   - @Schema(title = "List 查询操作的条件类型", required = true, example = "LIKE", description = "参见 CodegenColumnListConditionEnum 枚举")
  72 + @Schema(description = "List 查询操作的条件类型,参见 CodegenColumnListConditionEnum 枚举", required = true, example = "LIKE")
73 73 @NotNull(message = "List 查询操作的条件类型不能为空")
74 74 private String listOperationCondition;
75 75  
76   - @Schema(title = "是否为 List 查询操作的返回字段", required = true, example = "true")
  76 + @Schema(description = "是否为 List 查询操作的返回字段", required = true, example = "true")
77 77 @NotNull(message = "是否为 List 查询操作的返回字段不能为空")
78 78 private Boolean listOperationResult;
79 79  
80   - @Schema(title = "显示类型", required = true, example = "input")
  80 + @Schema(description = "显示类型", required = true, example = "input")
81 81 @NotNull(message = "显示类型不能为空")
82 82 private String htmlType;
83 83  
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/codegen/vo/column/CodegenColumnRespVO.java
... ... @@ -7,16 +7,16 @@ import lombok.ToString;
7 7  
8 8 import java.time.LocalDateTime;
9 9  
10   -@Schema(title = "管理后台 - 代码生成字段定义 Response VO")
  10 +@Schema(description = "管理后台 - 代码生成字段定义 Response VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class CodegenColumnRespVO extends CodegenColumnBaseVO {
15 15  
16   - @Schema(title = "编号", required = true, example = "1")
  16 + @Schema(description = "编号", required = true, example = "1")
17 17 private Long id;
18 18  
19   - @Schema(title = "创建时间", required = true)
  19 + @Schema(description = "创建时间", required = true)
20 20 private LocalDateTime createTime;
21 21  
22 22 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/codegen/vo/table/CodegenTableBaseVO.java
... ... @@ -5,52 +5,52 @@ import lombok.Data;
5 5 import javax.validation.constraints.NotNull;
6 6  
7 7 /**
8   -* 代码生成 Base VO,提供给添加、修改、详细的子 VO 使用
9   -* 如果子 VO 存在差异的字段,请不要添加到这里,影响 Swagger 文档生成
10   -*/
  8 + * 代码生成 Base VO,提供给添加、修改、详细的子 VO 使用
  9 + * 如果子 VO 存在差异的字段,请不要添加到这里,影响 Swagger 文档生成
  10 + */
11 11 @Data
12 12 public class CodegenTableBaseVO {
13 13  
14   - @Schema(title = "生成场景", required = true, example = "1", description = "参见 CodegenSceneEnum 枚举")
  14 + @Schema(description = "生成场景,参见 CodegenSceneEnum 枚举", required = true, example = "1")
15 15 @NotNull(message = "导入类型不能为空")
16 16 private Integer scene;
17 17  
18   - @Schema(title = "表名称", required = true, example = "yudao")
  18 + @Schema(description = "表名称", required = true, example = "yudao")
19 19 @NotNull(message = "表名称不能为空")
20 20 private String tableName;
21 21  
22   - @Schema(title = "表描述", required = true, example = "芋道")
  22 + @Schema(description = "表描述", required = true, example = "芋道")
23 23 @NotNull(message = "表描述不能为空")
24 24 private String tableComment;
25 25  
26   - @Schema(title = "备注", example = "我是备注")
  26 + @Schema(description = "备注", example = "我是备注")
27 27 private String remark;
28 28  
29   - @Schema(title = "模块名", required = true, example = "system")
  29 + @Schema(description = "模块名", required = true, example = "system")
30 30 @NotNull(message = "模块名不能为空")
31 31 private String moduleName;
32 32  
33   - @Schema(title = "业务名", required = true, example = "codegen")
  33 + @Schema(description = "业务名", required = true, example = "codegen")
34 34 @NotNull(message = "业务名不能为空")
35 35 private String businessName;
36 36  
37   - @Schema(title = "类名称", required = true, example = "CodegenTable")
  37 + @Schema(description = "类名称", required = true, example = "CodegenTable")
38 38 @NotNull(message = "类名称不能为空")
39 39 private String className;
40 40  
41   - @Schema(title = "类描述", required = true, example = "代码生成器的表定义")
  41 + @Schema(description = "类描述", required = true, example = "代码生成器的表定义")
42 42 @NotNull(message = "类描述不能为空")
43 43 private String classComment;
44 44  
45   - @Schema(title = "作者", required = true, example = "芋道源码")
  45 + @Schema(description = "作者", required = true, example = "芋道源码")
46 46 @NotNull(message = "作者不能为空")
47 47 private String author;
48 48  
49   - @Schema(title = "模板类型", required = true, example = "1", description = "参见 CodegenTemplateTypeEnum 枚举")
  49 + @Schema(description = "模板类型,参见 CodegenTemplateTypeEnum 枚举", required = true, example = "1")
50 50 @NotNull(message = "模板类型不能为空")
51 51 private Integer templateType;
52 52  
53   - @Schema(title = "父菜单编号", example = "1024")
  53 + @Schema(description = "父菜单编号", example = "1024")
54 54 private Long parentMenuId;
55 55  
56 56 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/codegen/vo/table/CodegenTablePageReqVO.java
... ... @@ -11,19 +11,19 @@ import java.time.LocalDateTime;
11 11  
12 12 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
13 13  
14   -@Schema(title = "管理后台 - 表定义分页 Request VO")
  14 +@Schema(description = "管理后台 - 表定义分页 Request VO")
15 15 @Data
16 16 @EqualsAndHashCode(callSuper = true)
17 17 @ToString(callSuper = true)
18 18 public class CodegenTablePageReqVO extends PageParam {
19 19  
20   - @Schema(title = "表名称", example = "yudao", description = "模糊匹配")
  20 + @Schema(description = "表名称,模糊匹配", example = "yudao")
21 21 private String tableName;
22 22  
23   - @Schema(title = "表描述", example = "芋道", description = "模糊匹配")
  23 + @Schema(description = "表描述,模糊匹配", example = "芋道")
24 24 private String tableComment;
25 25  
26   - @Schema(title = "创建时间", 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]")
27 27 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
28 28 private LocalDateTime[] createTime;
29 29  
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/codegen/vo/table/CodegenTableRespVO.java
... ... @@ -7,22 +7,22 @@ import lombok.ToString;
7 7  
8 8 import java.time.LocalDateTime;
9 9  
10   -@Schema(title = "管理后台 - 代码生成表定义 Response VO")
  10 +@Schema(description = "管理后台 - 代码生成表定义 Response VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class CodegenTableRespVO extends CodegenTableBaseVO {
15 15  
16   - @Schema(title = "编号", required = true, example = "1")
  16 + @Schema(description = "编号", required = true, example = "1")
17 17 private Long id;
18 18  
19   - @Schema(title = "主键编号", required = true, example = "1024")
  19 + @Schema(description = "主键编号", required = true, example = "1024")
20 20 private Integer dataSourceConfigId;
21 21  
22   - @Schema(title = "创建时间", required = true)
  22 + @Schema(description = "创建时间", required = true)
23 23 private LocalDateTime createTime;
24 24  
25   - @Schema(title = "更新时间", required = true)
  25 + @Schema(description = "更新时间", required = true)
26 26 private LocalDateTime updateTime;
27 27  
28 28 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/codegen/vo/table/DatabaseTableRespVO.java
... ... @@ -3,14 +3,14 @@ package cn.iocoder.yudao.module.infra.controller.admin.codegen.vo.table;
3 3 import io.swagger.v3.oas.annotations.media.Schema;
4 4 import lombok.Data;
5 5  
6   -@Schema(title = "管理后台 - 数据库的表定义 Response VO")
  6 +@Schema(description = "管理后台 - 数据库的表定义 Response VO")
7 7 @Data
8 8 public class DatabaseTableRespVO {
9 9  
10   - @Schema(title = "表名称", required = true, example = "yuanma")
  10 + @Schema(description = "表名称", required = true, example = "yuanma")
11 11 private String name;
12 12  
13   - @Schema(title = "表描述", required = true, example = "芋道源码")
  13 + @Schema(description = "表描述", required = true, example = "芋道源码")
14 14 private String comment;
15 15  
16 16 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/config/vo/ConfigBaseVO.java
... ... @@ -14,26 +14,26 @@ import javax.validation.constraints.Size;
14 14 @Data
15 15 public class ConfigBaseVO {
16 16  
17   - @Schema(title = "参数分组", required = true, example = "biz")
  17 + @Schema(description = "参数分组", required = true, example = "biz")
18 18 @NotEmpty(message = "参数分组不能为空")
19 19 @Size(max = 50, message = "参数名称不能超过50个字符")
20 20 private String category;
21 21  
22   - @Schema(title = "参数名称", required = true, example = "数据库名")
  22 + @Schema(description = "参数名称", required = true, example = "数据库名")
23 23 @NotBlank(message = "参数名称不能为空")
24 24 @Size(max = 100, message = "参数名称不能超过100个字符")
25 25 private String name;
26 26  
27   - @Schema(title = "参数键值", required = true, example = "1024")
  27 + @Schema(description = "参数键值", required = true, example = "1024")
28 28 @NotBlank(message = "参数键值不能为空")
29 29 @Size(max = 500, message = "参数键值长度不能超过500个字符")
30 30 private String value;
31 31  
32   - @Schema(title = "是否敏感", required = true, example = "true")
  32 + @Schema(description = "是否敏感", required = true, example = "true")
33 33 @NotNull(message = "是否敏感不能为空")
34 34 private Boolean visible;
35 35  
36   - @Schema(title = "备注", example = "备注一下很帅气!")
  36 + @Schema(description = "备注", example = "备注一下很帅气!")
37 37 private String remark;
38 38  
39 39 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/config/vo/ConfigCreateReqVO.java
... ... @@ -7,12 +7,12 @@ import lombok.EqualsAndHashCode;
7 7 import javax.validation.constraints.NotBlank;
8 8 import javax.validation.constraints.Size;
9 9  
10   -@Schema(title = "管理后台 - 参数配置创建 Request VO")
  10 +@Schema(description = "管理后台 - 参数配置创建 Request VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 public class ConfigCreateReqVO extends ConfigBaseVO {
14 14  
15   - @Schema(title = "参数键名", required = true, example = "yunai.db.username")
  15 + @Schema(description = "参数键名", required = true, example = "yunai.db.username")
16 16 @NotBlank(message = "参数键名长度不能为空")
17 17 @Size(max = 100, message = "参数键名长度不能超过100个字符")
18 18 private String key;
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/config/vo/ConfigExportReqVO.java
... ... @@ -8,20 +8,20 @@ import java.time.LocalDateTime;
8 8  
9 9 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
10 10  
11   -@Schema(title = "管理后台 - 参数配置导出 Request VO")
  11 +@Schema(description = "管理后台 - 参数配置导出 Request VO")
12 12 @Data
13 13 public class ConfigExportReqVO {
14 14  
15   - @Schema(title = "参数名称", example = "模糊匹配")
  15 + @Schema(description = "参数名称", example = "模糊匹配")
16 16 private String name;
17 17  
18   - @Schema(title = "参数键名", example = "yunai.db.username", description = "模糊匹配")
  18 + @Schema(description = "参数键名,模糊匹配", example = "yunai.db.username")
19 19 private String key;
20 20  
21   - @Schema(title = "参数类型", example = "1", description = "参见 SysConfigTypeEnum 枚举")
  21 + @Schema(description = "参数类型,参见 SysConfigTypeEnum 枚举", example = "1")
22 22 private Integer type;
23 23  
24   - @Schema(title = "创建时间", 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]")
25 25 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
26 26 private LocalDateTime[] createTime;
27 27  
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/config/vo/ConfigPageReqVO.java
... ... @@ -11,22 +11,22 @@ import java.time.LocalDateTime;
11 11  
12 12 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
13 13  
14   -@Schema(title = "管理后台 - 参数配置分页 Request VO")
  14 +@Schema(description = "管理后台 - 参数配置分页 Request VO")
15 15 @Data
16 16 @EqualsAndHashCode(callSuper = true)
17 17 @ToString(callSuper = true)
18 18 public class ConfigPageReqVO extends PageParam {
19 19  
20   - @Schema(title = "数据源名称", example = "模糊匹配")
  20 + @Schema(description = "数据源名称,模糊匹配", example = "名称")
21 21 private String name;
22 22  
23   - @Schema(title = "参数键名", example = "yunai.db.username", description = "模糊匹配")
  23 + @Schema(description = "参数键名,模糊匹配", example = "yunai.db.username")
24 24 private String key;
25 25  
26   - @Schema(title = "参数类型", example = "1", description = "参见 SysConfigTypeEnum 枚举")
  26 + @Schema(description = "参数类型,参见 SysConfigTypeEnum 枚举", example = "1")
27 27 private Integer type;
28 28  
29   - @Schema(title = "创建时间", 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]")
30 30 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
31 31 private LocalDateTime[] createTime;
32 32  
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/config/vo/ConfigRespVO.java
... ... @@ -8,23 +8,23 @@ import javax.validation.constraints.NotBlank;
8 8 import javax.validation.constraints.Size;
9 9 import java.time.LocalDateTime;
10 10  
11   -@Schema(title = "管理后台 - 参数配置信息 Response VO")
  11 +@Schema(description = "管理后台 - 参数配置信息 Response VO")
12 12 @Data
13 13 @EqualsAndHashCode(callSuper = true)
14 14 public class ConfigRespVO extends ConfigBaseVO {
15 15  
16   - @Schema(title = "参数配置序号", required = true, example = "1024")
  16 + @Schema(description = "参数配置序号", required = true, example = "1024")
17 17 private Long id;
18 18  
19   - @Schema(title = "参数键名", required = true, example = "yunai.db.username")
  19 + @Schema(description = "参数键名", required = true, example = "yunai.db.username")
20 20 @NotBlank(message = "参数键名长度不能为空")
21 21 @Size(max = 100, message = "参数键名长度不能超过100个字符")
22 22 private String key;
23 23  
24   - @Schema(title = "参数类型", required = true, example = "1", description = "参见 SysConfigTypeEnum 枚举")
  24 + @Schema(description = "参数类型,参见 SysConfigTypeEnum 枚举", required = true, example = "1")
25 25 private Integer type;
26 26  
27   - @Schema(title = "创建时间", required = true, example = "时间戳格式")
  27 + @Schema(description = "创建时间", required = true, example = "时间戳格式")
28 28 private LocalDateTime createTime;
29 29  
30 30 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/config/vo/ConfigUpdateReqVO.java
... ... @@ -7,13 +7,13 @@ import lombok.ToString;
7 7  
8 8 import javax.validation.constraints.NotNull;
9 9  
10   -@Schema(title = "管理后台 - 参数配置创建 Request VO")
  10 +@Schema(description = "管理后台 - 参数配置创建 Request VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class ConfigUpdateReqVO extends ConfigBaseVO {
15 15  
16   - @Schema(title = "参数配置序号", required = true, example = "1024")
  16 + @Schema(description = "参数配置序号", required = true, example = "1024")
17 17 @NotNull(message = "参数配置编号不能为空")
18 18 private Long id;
19 19  
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/db/vo/DataSourceConfigBaseVO.java
... ... @@ -10,15 +10,15 @@ import javax.validation.constraints.*;
10 10 @Data
11 11 public class DataSourceConfigBaseVO {
12 12  
13   - @Schema(title = "数据源名称", required = true, example = "test")
  13 + @Schema(description = "数据源名称", required = true, example = "test")
14 14 @NotNull(message = "数据源名称不能为空")
15 15 private String name;
16 16  
17   - @Schema(title = "数据源连接", required = true, example = "jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro")
  17 + @Schema(description = "数据源连接", required = true, example = "jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro")
18 18 @NotNull(message = "数据源连接不能为空")
19 19 private String url;
20 20  
21   - @Schema(title = "用户名", required = true, example = "root")
  21 + @Schema(description = "用户名", required = true, example = "root")
22 22 @NotNull(message = "用户名不能为空")
23 23 private String username;
24 24  
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/db/vo/DataSourceConfigCreateReqVO.java
... ... @@ -3,13 +3,13 @@ import io.swagger.v3.oas.annotations.media.Schema;
3 3 import lombok.*;
4 4 import javax.validation.constraints.*;
5 5  
6   -@Schema(title = "管理后台 - 数据源配置创建 Request VO")
  6 +@Schema(description = "管理后台 - 数据源配置创建 Request VO")
7 7 @Data
8 8 @EqualsAndHashCode(callSuper = true)
9 9 @ToString(callSuper = true)
10 10 public class DataSourceConfigCreateReqVO extends DataSourceConfigBaseVO {
11 11  
12   - @Schema(title = "密码", required = true, example = "123456")
  12 + @Schema(description = "密码", required = true, example = "123456")
13 13 @NotNull(message = "密码不能为空")
14 14 private String password;
15 15  
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/db/vo/DataSourceConfigRespVO.java
... ... @@ -4,16 +4,16 @@ import lombok.*;
4 4  
5 5 import java.time.LocalDateTime;
6 6  
7   -@Schema(title = "管理后台 - 数据源配置 Response VO")
  7 +@Schema(description = "管理后台 - 数据源配置 Response VO")
8 8 @Data
9 9 @EqualsAndHashCode(callSuper = true)
10 10 @ToString(callSuper = true)
11 11 public class DataSourceConfigRespVO extends DataSourceConfigBaseVO {
12 12  
13   - @Schema(title = "主键编号", required = true, example = "1024")
  13 + @Schema(description = "主键编号", required = true, example = "1024")
14 14 private Integer id;
15 15  
16   - @Schema(title = "创建时间", required = true)
  16 + @Schema(description = "创建时间", required = true)
17 17 private LocalDateTime createTime;
18 18  
19 19 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/db/vo/DataSourceConfigUpdateReqVO.java
... ... @@ -3,17 +3,17 @@ import io.swagger.v3.oas.annotations.media.Schema;
3 3 import lombok.*;
4 4 import javax.validation.constraints.*;
5 5  
6   -@Schema(title = "管理后台 - 数据源配置更新 Request VO")
  6 +@Schema(description = "管理后台 - 数据源配置更新 Request VO")
7 7 @Data
8 8 @EqualsAndHashCode(callSuper = true)
9 9 @ToString(callSuper = true)
10 10 public class DataSourceConfigUpdateReqVO extends DataSourceConfigBaseVO {
11 11  
12   - @Schema(title = "主键编号", required = true, example = "1024")
  12 + @Schema(description = "主键编号", required = true, example = "1024")
13 13 @NotNull(message = "主键编号不能为空")
14 14 private Long id;
15 15  
16   - @Schema(title = "密码", required = true, example = "123456")
  16 + @Schema(description = "密码", required = true, example = "123456")
17 17 @NotNull(message = "密码不能为空")
18 18 private String password;
19 19  
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/file/vo/config/FileConfigBaseVO.java
... ... @@ -11,11 +11,11 @@ import javax.validation.constraints.NotNull;
11 11 @Data
12 12 public class FileConfigBaseVO {
13 13  
14   - @Schema(title = "配置名", required = true, example = "S3 - 阿里云")
  14 + @Schema(description = "配置名", required = true, example = "S3 - 阿里云")
15 15 @NotNull(message = "配置名不能为空")
16 16 private String name;
17 17  
18   - @Schema(title = "备注", example = "我是备注")
  18 + @Schema(description = "备注", example = "我是备注")
19 19 private String remark;
20 20  
21 21 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/file/vo/config/FileConfigCreateReqVO.java
... ... @@ -8,17 +8,17 @@ import lombok.ToString;
8 8 import javax.validation.constraints.NotNull;
9 9 import java.util.Map;
10 10  
11   -@Schema(title = "管理后台 - 文件配置创建 Request VO")
  11 +@Schema(description = "管理后台 - 文件配置创建 Request VO")
12 12 @Data
13 13 @EqualsAndHashCode(callSuper = true)
14 14 @ToString(callSuper = true)
15 15 public class FileConfigCreateReqVO extends FileConfigBaseVO {
16 16  
17   - @Schema(title = "存储器", required = true, example = "1", description = "参见 FileStorageEnum 枚举类")
  17 + @Schema(description = "存储器,参见 FileStorageEnum 枚举类参见 FileStorageEnum 枚举类", required = true, example = "1")
18 18 @NotNull(message = "存储器不能为空")
19 19 private Integer storage;
20 20  
21   - @Schema(title = "存储配置", required = true, description = "配置是动态参数,所以使用 Map 接收")
  21 + @Schema(description = "存储配置,配置是动态参数,所以使用 Map 接收", required = true)
22 22 @NotNull(message = "存储配置不能为空")
23 23 private Map<String, Object> config;
24 24  
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/file/vo/config/FileConfigPageReqVO.java
... ... @@ -11,20 +11,20 @@ import java.time.LocalDateTime;
11 11  
12 12 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
13 13  
14   -@Schema(title = "管理后台 - 文件配置分页 Request VO")
  14 +@Schema(description = "管理后台 - 文件配置分页 Request VO")
15 15 @Data
16 16 @EqualsAndHashCode(callSuper = true)
17 17 @ToString(callSuper = true)
18 18 public class FileConfigPageReqVO extends PageParam {
19 19  
20   - @Schema(title = "配置名", example = "S3 - 阿里云")
  20 + @Schema(description = "配置名", example = "S3 - 阿里云")
21 21 private String name;
22 22  
23   - @Schema(title = "存储器", example = "1")
  23 + @Schema(description = "存储器", example = "1")
24 24 private Integer storage;
25 25  
26 26 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
27   - @Schema(title = "创建时间")
  27 + @Schema(description = "创建时间")
28 28 private LocalDateTime[] createTime;
29 29  
30 30 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/file/vo/config/FileConfigRespVO.java
... ... @@ -9,27 +9,27 @@ import lombok.ToString;
9 9 import javax.validation.constraints.NotNull;
10 10 import java.time.LocalDateTime;
11 11  
12   -@Schema(title = "管理后台 - 文件配置 Response VO")
  12 +@Schema(description = "管理后台 - 文件配置 Response VO")
13 13 @Data
14 14 @EqualsAndHashCode(callSuper = true)
15 15 @ToString(callSuper = true)
16 16 public class FileConfigRespVO extends FileConfigBaseVO {
17 17  
18   - @Schema(title = "编号", required = true, example = "1")
  18 + @Schema(description = "编号", required = true, example = "1")
19 19 private Long id;
20 20  
21   - @Schema(title = "存储器", required = true, example = "1", description = "参见 FileStorageEnum 枚举类")
  21 + @Schema(description = "存储器,参见 FileStorageEnum 枚举类", required = true, example = "1")
22 22 @NotNull(message = "存储器不能为空")
23 23 private Integer storage;
24 24  
25   - @Schema(title = "是否为主配置", required = true, example = "true")
  25 + @Schema(description = "是否为主配置", required = true, example = "true")
26 26 @NotNull(message = "是否为主配置不能为空")
27 27 private Boolean master;
28 28  
29   - @Schema(title = "存储配置", required = true)
  29 + @Schema(description = "存储配置", required = true)
30 30 private FileClientConfig config;
31 31  
32   - @Schema(title = "创建时间", required = true)
  32 + @Schema(description = "创建时间", required = true)
33 33 private LocalDateTime createTime;
34 34  
35 35 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/file/vo/config/FileConfigUpdateReqVO.java
... ... @@ -8,17 +8,17 @@ import lombok.ToString;
8 8 import javax.validation.constraints.NotNull;
9 9 import java.util.Map;
10 10  
11   -@Schema(title = "管理后台 - 文件配置更新 Request VO")
  11 +@Schema(description = "管理后台 - 文件配置更新 Request VO")
12 12 @Data
13 13 @EqualsAndHashCode(callSuper = true)
14 14 @ToString(callSuper = true)
15 15 public class FileConfigUpdateReqVO extends FileConfigBaseVO {
16 16  
17   - @Schema(title = "编号", required = true, example = "1")
  17 + @Schema(description = "编号", required = true, example = "1")
18 18 @NotNull(message = "编号不能为空")
19 19 private Long id;
20 20  
21   - @Schema(title = "存储配置", required = true, description = "配置是动态参数,所以使用 Map 接收")
  21 + @Schema(description = "存储配置,配置是动态参数,所以使用 Map 接收", required = true)
22 22 @NotNull(message = "存储配置不能为空")
23 23 private Map<String, Object> config;
24 24  
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/file/vo/file/FilePageReqVO.java
... ... @@ -11,20 +11,20 @@ import java.time.LocalDateTime;
11 11  
12 12 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
13 13  
14   -@Schema(title = "管理后台 - 文件分页 Request VO")
  14 +@Schema(description = "管理后台 - 文件分页 Request VO")
15 15 @Data
16 16 @EqualsAndHashCode(callSuper = true)
17 17 @ToString(callSuper = true)
18 18 public class FilePageReqVO extends PageParam {
19 19  
20   - @Schema(title = "文件路径", example = "yudao", description = "模糊匹配")
  20 + @Schema(description = "文件路径,模糊匹配", example = "yudao")
21 21 private String path;
22 22  
23   - @Schema(title = "文件类型", example = "application/octet-stream", description = "模糊匹配")
  23 + @Schema(description = "文件类型,模糊匹配", example = "application/octet-stream")
24 24 private String type;
25 25  
26 26 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
27   - @Schema(title = "创建时间")
  27 + @Schema(description = "创建时间")
28 28 private LocalDateTime[] createTime;
29 29  
30 30 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/file/vo/file/FileRespVO.java
... ... @@ -5,32 +5,32 @@ import lombok.Data;
5 5  
6 6 import java.time.LocalDateTime;
7 7  
8   -@Schema(title = "管理后台 - 文件 Response VO", description = "不返回 content 字段,太大")
  8 +@Schema(description = "管理后台 - 文件 Response VO,不返回 content 字段,太大")
9 9 @Data
10 10 public class FileRespVO {
11 11  
12   - @Schema(title = "文件编号", required = true, example = "1024")
  12 + @Schema(description = "文件编号", required = true, example = "1024")
13 13 private Long id;
14 14  
15   - @Schema(title = "配置编号", required = true, example = "11")
  15 + @Schema(description = "配置编号", required = true, example = "11")
16 16 private Long configId;
17 17  
18   - @Schema(title = "文件路径", required = true, example = "yudao.jpg")
  18 + @Schema(description = "文件路径", required = true, example = "yudao.jpg")
19 19 private String path;
20 20  
21   - @Schema(title = "原文件名", required = true, example = "yudao.jpg")
  21 + @Schema(description = "原文件名", required = true, example = "yudao.jpg")
22 22 private String name;
23 23  
24   - @Schema(title = "文件 URL", required = true, example = "https://www.iocoder.cn/yudao.jpg")
  24 + @Schema(description = "文件 URL", required = true, example = "https://www.iocoder.cn/yudao.jpg")
25 25 private String url;
26 26  
27   - @Schema(title = "文件MIME类型", example = "application/octet-stream")
  27 + @Schema(description = "文件MIME类型", example = "application/octet-stream")
28 28 private String type;
29 29  
30   - @Schema(title = "文件大小", example = "2048", required = true)
  30 + @Schema(description = "文件大小", example = "2048", required = true)
31 31 private Integer size;
32 32  
33   - @Schema(title = "创建时间", required = true)
  33 + @Schema(description = "创建时间", required = true)
34 34 private LocalDateTime createTime;
35 35  
36 36 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/file/vo/file/FileUploadReqVO.java
... ... @@ -6,15 +6,15 @@ import org.springframework.web.multipart.MultipartFile;
6 6  
7 7 import javax.validation.constraints.NotNull;
8 8  
9   -@Schema(title = "管理后台 - 上传文件 Request VO")
  9 +@Schema(description = "管理后台 - 上传文件 Request VO")
10 10 @Data
11 11 public class FileUploadReqVO {
12 12  
13   - @Schema(title = "文件附件", required = true)
  13 + @Schema(description = "文件附件", required = true)
14 14 @NotNull(message = "文件附件不能为空")
15 15 private MultipartFile file;
16 16  
17   - @Schema(title = "文件附件", example = "yudaoyuanma.png")
  17 + @Schema(description = "文件附件", example = "yudaoyuanma.png")
18 18 private String path;
19 19  
20 20 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/job/vo/job/JobBaseVO.java
... ... @@ -11,26 +11,26 @@ import javax.validation.constraints.NotNull;
11 11 @Data
12 12 public class JobBaseVO {
13 13  
14   - @Schema(title = "任务名称", required = true, example = "测试任务")
  14 + @Schema(description = "任务名称", required = true, example = "测试任务")
15 15 @NotNull(message = "任务名称不能为空")
16 16 private String name;
17 17  
18   - @Schema(title = "处理器的参数", example = "yudao")
  18 + @Schema(description = "处理器的参数", example = "yudao")
19 19 private String handlerParam;
20 20  
21   - @Schema(title = "CRON 表达式", required = true, example = "0/10 * * * * ? *")
  21 + @Schema(description = "CRON 表达式", required = true, example = "0/10 * * * * ? *")
22 22 @NotNull(message = "CRON 表达式不能为空")
23 23 private String cronExpression;
24 24  
25   - @Schema(title = "重试次数", required = true, example = "3")
  25 + @Schema(description = "重试次数", required = true, example = "3")
26 26 @NotNull(message = "重试次数不能为空")
27 27 private Integer retryCount;
28 28  
29   - @Schema(title = "重试间隔", required = true, example = "1000")
  29 + @Schema(description = "重试间隔", required = true, example = "1000")
30 30 @NotNull(message = "重试间隔不能为空")
31 31 private Integer retryInterval;
32 32  
33   - @Schema(title = "监控超时时间", example = "1000")
  33 + @Schema(description = "监控超时时间", example = "1000")
34 34 private Integer monitorTimeout;
35 35  
36 36 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/job/vo/job/JobCreateReqVO.java
... ... @@ -7,13 +7,13 @@ import lombok.ToString;
7 7  
8 8 import javax.validation.constraints.NotNull;
9 9  
10   -@Schema(title = "管理后台 - 定时任务创建 Request VO")
  10 +@Schema(description = "管理后台 - 定时任务创建 Request VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class JobCreateReqVO extends JobBaseVO {
15 15  
16   - @Schema(title = "处理器的名字", required = true, example = "sysUserSessionTimeoutJob")
  16 + @Schema(description = "处理器的名字", required = true, example = "sysUserSessionTimeoutJob")
17 17 @NotNull(message = "处理器的名字不能为空")
18 18 private String handlerName;
19 19  
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/job/vo/job/JobExportReqVO.java
... ... @@ -3,17 +3,17 @@ package cn.iocoder.yudao.module.infra.controller.admin.job.vo.job;
3 3 import io.swagger.v3.oas.annotations.media.Schema;
4 4 import lombok.Data;
5 5  
6   -@Schema(title = "管理后台 - 定时任务 Excel 导出 Request VO", description = "参数和 JobPageReqVO 是一致的")
  6 +@Schema(description = "管理后台 - 定时任务 Excel 导出 Request VO-参数和 JobPageReqVO 是一致的")
7 7 @Data
8 8 public class JobExportReqVO {
9 9  
10   - @Schema(title = "任务名称", example = "测试任务", description = "模糊匹配")
  10 + @Schema(description = "任务名称-模糊匹配", example = "测试任务")
11 11 private String name;
12 12  
13   - @Schema(title = "任务状态", example = "1", description = "参见 JobStatusEnum 枚举")
  13 + @Schema(description = "任务状态-参见 JobStatusEnum 枚举", example = "1")
14 14 private Integer status;
15 15  
16   - @Schema(title = "处理器的名字", example = "UserSessionTimeoutJob", description = "模糊匹配")
  16 + @Schema(description = "处理器的名字-模糊匹配", example = "UserSessionTimeoutJob")
17 17 private String handlerName;
18 18  
19 19 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/job/vo/job/JobPageReqVO.java
... ... @@ -6,19 +6,19 @@ import lombok.Data;
6 6 import lombok.EqualsAndHashCode;
7 7 import lombok.ToString;
8 8  
9   -@Schema(title = "管理后台 - 定时任务分页 Request VO")
  9 +@Schema(description = "管理后台 - 定时任务分页 Request VO")
10 10 @Data
11 11 @EqualsAndHashCode(callSuper = true)
12 12 @ToString(callSuper = true)
13 13 public class JobPageReqVO extends PageParam {
14 14  
15   - @Schema(title = "任务名称", example = "测试任务", description = "模糊匹配")
  15 + @Schema(description = "任务名称,模糊匹配", example = "测试任务")
16 16 private String name;
17 17  
18   - @Schema(title = "任务状态", example = "1", description = "参见 JobStatusEnum 枚举")
  18 + @Schema(description = "任务状态,参见 JobStatusEnum 枚举", example = "1")
19 19 private Integer status;
20 20  
21   - @Schema(title = "处理器的名字", example = "sysUserSessionTimeoutJob", description = "模糊匹配")
  21 + @Schema(description = "处理器的名字,模糊匹配", example = "sysUserSessionTimeoutJob")
22 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/job/JobRespVO.java
... ... @@ -8,23 +8,23 @@ import lombok.ToString;
8 8 import javax.validation.constraints.NotNull;
9 9 import java.time.LocalDateTime;
10 10  
11   -@Schema(title = "管理后台 - 定时任务 Response VO")
  11 +@Schema(description = "管理后台 - 定时任务 Response VO")
12 12 @Data
13 13 @EqualsAndHashCode(callSuper = true)
14 14 @ToString(callSuper = true)
15 15 public class JobRespVO extends JobBaseVO {
16 16  
17   - @Schema(title = "任务编号", required = true, example = "1024")
  17 + @Schema(description = "任务编号", required = true, example = "1024")
18 18 private Long id;
19 19  
20   - @Schema(title = "任务状态", required = true, example = "1")
  20 + @Schema(description = "任务状态", required = true, example = "1")
21 21 private Integer status;
22 22  
23   - @Schema(title = "处理器的名字", required = true, example = "sysUserSessionTimeoutJob")
  23 + @Schema(description = "处理器的名字", required = true, example = "sysUserSessionTimeoutJob")
24 24 @NotNull(message = "处理器的名字不能为空")
25 25 private String handlerName;
26 26  
27   - @Schema(title = "创建时间", required = true)
  27 + @Schema(description = "创建时间", required = true)
28 28 private LocalDateTime createTime;
29 29  
30 30 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/job/vo/job/JobUpdateReqVO.java
... ... @@ -7,13 +7,13 @@ import lombok.ToString;
7 7  
8 8 import javax.validation.constraints.NotNull;
9 9  
10   -@Schema(title = "管理后台 - 定时任务更新 Request VO")
  10 +@Schema(description = "管理后台 - 定时任务更新 Request VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class JobUpdateReqVO extends JobBaseVO {
15 15  
16   - @Schema(title = "任务编号", required = true, example = "1024")
  16 + @Schema(description = "任务编号", required = true, example = "1024")
17 17 @NotNull(message = "任务编号不能为空")
18 18 private Long id;
19 19  
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/job/vo/log/JobLogBaseVO.java
... ... @@ -15,38 +15,38 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_
15 15 @Data
16 16 public class JobLogBaseVO {
17 17  
18   - @Schema(title = "任务编号", required = true, example = "1024")
  18 + @Schema(description = "任务编号", required = true, example = "1024")
19 19 @NotNull(message = "任务编号不能为空")
20 20 private Long jobId;
21 21  
22   - @Schema(title = "处理器的名字", required = true, example = "sysUserSessionTimeoutJob")
  22 + @Schema(description = "处理器的名字", required = true, example = "sysUserSessionTimeoutJob")
23 23 @NotNull(message = "处理器的名字不能为空")
24 24 private String handlerName;
25 25  
26   - @Schema(title = "处理器的参数", example = "yudao")
  26 + @Schema(description = "处理器的参数", example = "yudao")
27 27 private String handlerParam;
28 28  
29   - @Schema(title = "第几次执行", required = true, example = "1")
  29 + @Schema(description = "第几次执行", required = true, example = "1")
30 30 @NotNull(message = "第几次执行不能为空")
31 31 private Integer executeIndex;
32 32  
33   - @Schema(title = "开始执行时间", required = true)
  33 + @Schema(description = "开始执行时间", required = true)
34 34 @NotNull(message = "开始执行时间不能为空")
35 35 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
36 36 private LocalDateTime beginTime;
37 37  
38   - @Schema(title = "结束执行时间")
  38 + @Schema(description = "结束执行时间")
39 39 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
40 40 private LocalDateTime endTime;
41 41  
42   - @Schema(title = "执行时长", example = "123")
  42 + @Schema(description = "执行时长", example = "123")
43 43 private Integer duration;
44 44  
45   - @Schema(title = "任务状态", required = true, example = "1", description = "参见 JobLogStatusEnum 枚举")
  45 + @Schema(description = "任务状态,参见 JobLogStatusEnum 枚举", required = true, example = "1")
46 46 @NotNull(message = "任务状态不能为空")
47 47 private Integer status;
48 48  
49   - @Schema(title = "结果数据", example = "执行成功")
  49 + @Schema(description = "结果数据", example = "执行成功")
50 50 private String result;
51 51  
52 52 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/job/vo/log/JobLogExportReqVO.java
... ... @@ -8,25 +8,25 @@ import java.time.LocalDateTime;
8 8  
9 9 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
10 10  
11   -@Schema(title = "管理后台 - 定时任务 Excel 导出 Request VO", description = "参数和 JobLogPageReqVO 是一致的")
  11 +@Schema(description = "管理后台 - 定时任务 Excel 导出 Request VO,参数和 JobLogPageReqVO 是一致的")
12 12 @Data
13 13 public class JobLogExportReqVO {
14 14  
15   - @Schema(title = "任务编号", example = "10")
  15 + @Schema(description = "任务编号", example = "10")
16 16 private Long jobId;
17 17  
18   - @Schema(title = "处理器的名字", description = "模糊匹配")
  18 + @Schema(description = "处理器的名字,模糊匹配")
19 19 private String handlerName;
20 20  
21 21 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
22   - @Schema(title = "开始执行时间")
  22 + @Schema(description = "开始执行时间")
23 23 private LocalDateTime beginTime;
24 24  
25 25 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
26   - @Schema(title = "结束执行时间")
  26 + @Schema(description = "结束执行时间")
27 27 private LocalDateTime endTime;
28 28  
29   - @Schema(title = "任务状态", description = "参见 JobLogStatusEnum 枚举")
  29 + @Schema(description = "任务状态,参见 JobLogStatusEnum 枚举")
30 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
... ... @@ -11,27 +11,27 @@ import java.time.LocalDateTime;
11 11  
12 12 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
13 13  
14   -@Schema(title = "管理后台 - 定时任务日志分页 Request VO")
  14 +@Schema(description = "管理后台 - 定时任务日志分页 Request VO")
15 15 @Data
16 16 @EqualsAndHashCode(callSuper = true)
17 17 @ToString(callSuper = true)
18 18 public class JobLogPageReqVO extends PageParam {
19 19  
20   - @Schema(title = "任务编号", example = "10")
  20 + @Schema(description = "任务编号", example = "10")
21 21 private Long jobId;
22 22  
23   - @Schema(title = "处理器的名字", description = "模糊匹配")
  23 + @Schema(description = "处理器的名字,模糊匹配")
24 24 private String handlerName;
25 25  
26 26 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
27   - @Schema(title = "开始执行时间")
  27 + @Schema(description = "开始执行时间")
28 28 private LocalDateTime beginTime;
29 29  
30 30 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
31   - @Schema(title = "结束执行时间")
  31 + @Schema(description = "结束执行时间")
32 32 private LocalDateTime endTime;
33 33  
34   - @Schema(title = "任务状态", description = "参见 JobLogStatusEnum 枚举")
  34 + @Schema(description = "任务状态,参见 JobLogStatusEnum 枚举")
35 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/job/vo/log/JobLogRespVO.java
... ... @@ -7,16 +7,16 @@ import lombok.ToString;
7 7  
8 8 import java.time.LocalDateTime;
9 9  
10   -@Schema(title = "管理后台 - 定时任务日志 Response VO")
  10 +@Schema(description = "管理后台 - 定时任务日志 Response VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class JobLogRespVO extends JobLogBaseVO {
15 15  
16   - @Schema(title = "日志编号", required = true, example = "1024")
  16 + @Schema(description = "日志编号", required = true, example = "1024")
17 17 private Long id;
18 18  
19   - @Schema(title = "创建时间", required = true)
  19 + @Schema(description = "创建时间", required = true)
20 20 private LocalDateTime createTime;
21 21  
22 22 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/logger/vo/apiaccesslog/ApiAccessLogBaseVO.java
... ... @@ -15,60 +15,60 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_
15 15 @Data
16 16 public class ApiAccessLogBaseVO {
17 17  
18   - @Schema(title = "链路追踪编号", required = true, example = "66600cb6-7852-11eb-9439-0242ac130002")
  18 + @Schema(description = "链路追踪编号", required = true, example = "66600cb6-7852-11eb-9439-0242ac130002")
19 19 @NotNull(message = "链路追踪编号不能为空")
20 20 private String traceId;
21 21  
22   - @Schema(title = "用户编号", required = true, example = "666")
  22 + @Schema(description = "用户编号", required = true, example = "666")
23 23 @NotNull(message = "用户编号不能为空")
24 24 private Long userId;
25 25  
26   - @Schema(title = "用户类型", required = true, example = "2", description = "参见 UserTypeEnum 枚举")
  26 + @Schema(description = "用户类型,参见 UserTypeEnum 枚举", required = true, example = "2")
27 27 @NotNull(message = "用户类型不能为空")
28 28 private Integer userType;
29 29  
30   - @Schema(title = "应用名", required = true, example = "dashboard")
  30 + @Schema(description = "应用名", required = true, example = "dashboard")
31 31 @NotNull(message = "应用名不能为空")
32 32 private String applicationName;
33 33  
34   - @Schema(title = "请求方法名", required = true, example = "GET")
  34 + @Schema(description = "请求方法名", required = true, example = "GET")
35 35 @NotNull(message = "请求方法名不能为空")
36 36 private String requestMethod;
37 37  
38   - @Schema(title = "请求地址", required = true, example = "/xxx/yyy")
  38 + @Schema(description = "请求地址", required = true, example = "/xxx/yyy")
39 39 @NotNull(message = "请求地址不能为空")
40 40 private String requestUrl;
41 41  
42   - @Schema(title = "请求参数")
  42 + @Schema(description = "请求参数")
43 43 private String requestParams;
44 44  
45   - @Schema(title = "用户 IP", required = true, example = "127.0.0.1")
  45 + @Schema(description = "用户 IP", required = true, example = "127.0.0.1")
46 46 @NotNull(message = "用户 IP不能为空")
47 47 private String userIp;
48 48  
49   - @Schema(title = "浏览器 UA", required = true, example = "Mozilla/5.0")
  49 + @Schema(description = "浏览器 UA", required = true, example = "Mozilla/5.0")
50 50 @NotNull(message = "浏览器 UA不能为空")
51 51 private String userAgent;
52 52  
53   - @Schema(title = "开始请求时间", required = true)
  53 + @Schema(description = "开始请求时间", required = true)
54 54 @NotNull(message = "开始请求时间不能为空")
55 55 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
56 56 private LocalDateTime beginTime;
57 57  
58   - @Schema(title = "结束请求时间", required = true)
  58 + @Schema(description = "结束请求时间", required = true)
59 59 @NotNull(message = "结束请求时间不能为空")
60 60 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
61 61 private LocalDateTime endTime;
62 62  
63   - @Schema(title = "执行时长", required = true, example = "100")
  63 + @Schema(description = "执行时长", required = true, example = "100")
64 64 @NotNull(message = "执行时长不能为空")
65 65 private Integer duration;
66 66  
67   - @Schema(title = "结果码", required = true, example = "0")
  67 + @Schema(description = "结果码", required = true, example = "0")
68 68 @NotNull(message = "结果码不能为空")
69 69 private Integer resultCode;
70 70  
71   - @Schema(title = "结果提示", example = "芋道源码,牛逼!")
  71 + @Schema(description = "结果提示", example = "芋道源码,牛逼!")
72 72 private String resultMsg;
73 73  
74 74 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/logger/vo/apiaccesslog/ApiAccessLogExportReqVO.java
... ... @@ -8,30 +8,30 @@ import java.time.LocalDateTime;
8 8  
9 9 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
10 10  
11   -@Schema(title = "管理后台 - API 访问日志 Excel 导出 Request VO", description = "参数和 ApiAccessLogPageReqVO 是一致的")
  11 +@Schema(description = "管理后台 - API 访问日志 Excel 导出 Request VO,参数和 ApiAccessLogPageReqVO 是一致的")
12 12 @Data
13 13 public class ApiAccessLogExportReqVO {
14 14  
15   - @Schema(title = "用户编号", example = "666")
  15 + @Schema(description = "用户编号", example = "666")
16 16 private Long userId;
17 17  
18   - @Schema(title = "用户类型", example = "2")
  18 + @Schema(description = "用户类型", example = "2")
19 19 private Integer userType;
20 20  
21   - @Schema(title = "应用名", example = "dashboard")
  21 + @Schema(description = "应用名", example = "dashboard")
22 22 private String applicationName;
23 23  
24   - @Schema(title = "请求地址", example = "/xxx/yyy", description = "模糊匹配")
  24 + @Schema(description = "请求地址,模糊匹配", example = "/xxx/yyy")
25 25 private String requestUrl;
26 26  
27 27 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
28   - @Schema(title = "开始请求时间")
  28 + @Schema(description = "开始请求时间")
29 29 private LocalDateTime[] beginTime;
30 30  
31   - @Schema(title = "执行时长", example = "100", description = "大于等于,单位:毫秒")
  31 + @Schema(description = "执行时长,大于等于,单位:毫秒", example = "100")
32 32 private Integer duration;
33 33  
34   - @Schema(title = "结果码", example = "0")
  34 + @Schema(description = "结果码", example = "0")
35 35 private Integer resultCode;
36 36  
37 37 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/logger/vo/apiaccesslog/ApiAccessLogPageReqVO.java
... ... @@ -11,32 +11,32 @@ import java.time.LocalDateTime;
11 11  
12 12 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
13 13  
14   -@Schema(title = "管理后台 - API 访问日志分页 Request VO")
  14 +@Schema(description = "管理后台 - API 访问日志分页 Request VO")
15 15 @Data
16 16 @EqualsAndHashCode(callSuper = true)
17 17 @ToString(callSuper = true)
18 18 public class ApiAccessLogPageReqVO extends PageParam {
19 19  
20   - @Schema(title = "用户编号", example = "666")
  20 + @Schema(description = "用户编号", example = "666")
21 21 private Long userId;
22 22  
23   - @Schema(title = "用户类型", example = "2")
  23 + @Schema(description = "用户类型", example = "2")
24 24 private Integer userType;
25 25  
26   - @Schema(title = "应用名", example = "dashboard")
  26 + @Schema(description = "应用名", example = "dashboard")
27 27 private String applicationName;
28 28  
29   - @Schema(title = "请求地址", example = "/xxx/yyy", description = "模糊匹配")
  29 + @Schema(description = "请求地址,模糊匹配", example = "/xxx/yyy")
30 30 private String requestUrl;
31 31  
32 32 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
33   - @Schema(title = "开始请求时间")
  33 + @Schema(description = "开始请求时间")
34 34 private LocalDateTime[] beginTime;
35 35  
36   - @Schema(title = "执行时长", example = "100", description = "大于等于,单位:毫秒")
  36 + @Schema(description = "执行时长,大于等于,单位:毫秒", example = "100")
37 37 private Integer duration;
38 38  
39   - @Schema(title = "结果码", example = "0")
  39 + @Schema(description = "结果码", example = "0")
40 40 private Integer resultCode;
41 41  
42 42 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/logger/vo/apiaccesslog/ApiAccessLogRespVO.java
... ... @@ -7,16 +7,16 @@ import lombok.ToString;
7 7  
8 8 import java.time.LocalDateTime;
9 9  
10   -@Schema(title = "管理后台 - API 访问日志 Response VO")
  10 +@Schema(description = "管理后台 - API 访问日志 Response VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class ApiAccessLogRespVO extends ApiAccessLogBaseVO {
15 15  
16   - @Schema(title = "日志主键", required = true, example = "1024")
  16 + @Schema(description = "日志主键", required = true, example = "1024")
17 17 private Long id;
18 18  
19   - @Schema(title = "创建时间", required = true)
  19 + @Schema(description = "创建时间", required = true)
20 20 private LocalDateTime createTime;
21 21  
22 22 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/logger/vo/apierrorlog/ApiErrorLogBaseVO.java
... ... @@ -15,80 +15,80 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_
15 15 @Data
16 16 public class ApiErrorLogBaseVO {
17 17  
18   - @Schema(title = "链路追踪编号", required = true, example = "66600cb6-7852-11eb-9439-0242ac130002")
  18 + @Schema(description = "链路追踪编号", required = true, example = "66600cb6-7852-11eb-9439-0242ac130002")
19 19 @NotNull(message = "链路追踪编号不能为空")
20 20 private String traceId;
21 21  
22   - @Schema(title = "用户编号", required = true, example = "666")
  22 + @Schema(description = "用户编号", required = true, example = "666")
23 23 @NotNull(message = "用户编号不能为空")
24 24 private Integer userId;
25 25  
26   - @Schema(title = "用户类型", required = true, example = "1")
  26 + @Schema(description = "用户类型", required = true, example = "1")
27 27 @NotNull(message = "用户类型不能为空")
28 28 private Integer userType;
29 29  
30   - @Schema(title = "应用名", required = true, example = "dashboard")
  30 + @Schema(description = "应用名", required = true, example = "dashboard")
31 31 @NotNull(message = "应用名不能为空")
32 32 private String applicationName;
33 33  
34   - @Schema(title = "请求方法名", required = true, example = "GET")
  34 + @Schema(description = "请求方法名", required = true, example = "GET")
35 35 @NotNull(message = "请求方法名不能为空")
36 36 private String requestMethod;
37 37  
38   - @Schema(title = "请求地址", required = true, example = "/xx/yy")
  38 + @Schema(description = "请求地址", required = true, example = "/xx/yy")
39 39 @NotNull(message = "请求地址不能为空")
40 40 private String requestUrl;
41 41  
42   - @Schema(title = "请求参数", required = true)
  42 + @Schema(description = "请求参数", required = true)
43 43 @NotNull(message = "请求参数不能为空")
44 44 private String requestParams;
45 45  
46   - @Schema(title = "用户 IP", required = true, example = "127.0.0.1")
  46 + @Schema(description = "用户 IP", required = true, example = "127.0.0.1")
47 47 @NotNull(message = "用户 IP不能为空")
48 48 private String userIp;
49 49  
50   - @Schema(title = "浏览器 UA", required = true, example = "Mozilla/5.0")
  50 + @Schema(description = "浏览器 UA", required = true, example = "Mozilla/5.0")
51 51 @NotNull(message = "浏览器 UA不能为空")
52 52 private String userAgent;
53 53  
54   - @Schema(title = "异常发生时间", required = true)
  54 + @Schema(description = "异常发生时间", required = true)
55 55 @NotNull(message = "异常发生时间不能为空")
56 56 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
57 57 private LocalDateTime exceptionTime;
58 58  
59   - @Schema(title = "异常名", required = true)
  59 + @Schema(description = "异常名", required = true)
60 60 @NotNull(message = "异常名不能为空")
61 61 private String exceptionName;
62 62  
63   - @Schema(title = "异常导致的消息", required = true)
  63 + @Schema(description = "异常导致的消息", required = true)
64 64 @NotNull(message = "异常导致的消息不能为空")
65 65 private String exceptionMessage;
66 66  
67   - @Schema(title = "异常导致的根消息", required = true)
  67 + @Schema(description = "异常导致的根消息", required = true)
68 68 @NotNull(message = "异常导致的根消息不能为空")
69 69 private String exceptionRootCauseMessage;
70 70  
71   - @Schema(title = "异常的栈轨迹", required = true)
  71 + @Schema(description = "异常的栈轨迹", required = true)
72 72 @NotNull(message = "异常的栈轨迹不能为空")
73 73 private String exceptionStackTrace;
74 74  
75   - @Schema(title = "异常发生的类全名", required = true)
  75 + @Schema(description = "异常发生的类全名", required = true)
76 76 @NotNull(message = "异常发生的类全名不能为空")
77 77 private String exceptionClassName;
78 78  
79   - @Schema(title = "异常发生的类文件", required = true)
  79 + @Schema(description = "异常发生的类文件", required = true)
80 80 @NotNull(message = "异常发生的类文件不能为空")
81 81 private String exceptionFileName;
82 82  
83   - @Schema(title = "异常发生的方法名", required = true)
  83 + @Schema(description = "异常发生的方法名", required = true)
84 84 @NotNull(message = "异常发生的方法名不能为空")
85 85 private String exceptionMethodName;
86 86  
87   - @Schema(title = "异常发生的方法所在行", required = true)
  87 + @Schema(description = "异常发生的方法所在行", required = true)
88 88 @NotNull(message = "异常发生的方法所在行不能为空")
89 89 private Integer exceptionLineNumber;
90 90  
91   - @Schema(title = "处理状态", required = true, example = "0")
  91 + @Schema(description = "处理状态", required = true, example = "0")
92 92 @NotNull(message = "处理状态不能为空")
93 93 private Integer processStatus;
94 94  
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/logger/vo/apierrorlog/ApiErrorLogExportReqVO.java
... ... @@ -8,27 +8,27 @@ import java.time.LocalDateTime;
8 8  
9 9 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
10 10  
11   -@Schema(title = "管理后台 - API 错误日志 Excel 导出 Request VO", description = "参数和 ApiErrorLogPageReqVO 是一致的")
  11 +@Schema(description = "管理后台 - API 错误日志 Excel 导出 Request VO,参数和 ApiErrorLogPageReqVO 是一致的")
12 12 @Data
13 13 public class ApiErrorLogExportReqVO {
14 14  
15   - @Schema(title = "用户编号", example = "666")
  15 + @Schema(description = "用户编号", example = "666")
16 16 private Long userId;
17 17  
18   - @Schema(title = "用户类型", example = "1")
  18 + @Schema(description = "用户类型", example = "1")
19 19 private Integer userType;
20 20  
21   - @Schema(title = "应用名", example = "dashboard")
  21 + @Schema(description = "应用名", example = "dashboard")
22 22 private String applicationName;
23 23  
24   - @Schema(title = "请求地址", example = "/xx/yy")
  24 + @Schema(description = "请求地址", example = "/xx/yy")
25 25 private String requestUrl;
26 26  
27 27 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
28   - @Schema(title = "异常发生时间")
  28 + @Schema(description = "异常发生时间")
29 29 private LocalDateTime[] exceptionTime;
30 30  
31   - @Schema(title = "处理状态", example = "0")
  31 + @Schema(description = "处理状态", example = "0")
32 32 private Integer processStatus;
33 33  
34 34 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/logger/vo/apierrorlog/ApiErrorLogPageReqVO.java
... ... @@ -11,29 +11,29 @@ import java.time.LocalDateTime;
11 11  
12 12 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
13 13  
14   -@Schema(title = "管理后台 - API 错误日志分页 Request VO")
  14 +@Schema(description = "管理后台 - API 错误日志分页 Request VO")
15 15 @Data
16 16 @EqualsAndHashCode(callSuper = true)
17 17 @ToString(callSuper = true)
18 18 public class ApiErrorLogPageReqVO extends PageParam {
19 19  
20   - @Schema(title = "用户编号", example = "666")
  20 + @Schema(description = "用户编号", example = "666")
21 21 private Long userId;
22 22  
23   - @Schema(title = "用户类型", example = "1")
  23 + @Schema(description = "用户类型", example = "1")
24 24 private Integer userType;
25 25  
26   - @Schema(title = "应用名", example = "dashboard")
  26 + @Schema(description = "应用名", example = "dashboard")
27 27 private String applicationName;
28 28  
29   - @Schema(title = "请求地址", example = "/xx/yy")
  29 + @Schema(description = "请求地址", example = "/xx/yy")
30 30 private String requestUrl;
31 31  
32 32 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
33   - @Schema(title = "异常发生时间")
  33 + @Schema(description = "异常发生时间")
34 34 private LocalDateTime[] exceptionTime;
35 35  
36   - @Schema(title = "处理状态", example = "0")
  36 + @Schema(description = "处理状态", example = "0")
37 37 private Integer processStatus;
38 38  
39 39 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/logger/vo/apierrorlog/ApiErrorLogRespVO.java
... ... @@ -7,22 +7,22 @@ import lombok.ToString;
7 7  
8 8 import java.time.LocalDateTime;
9 9  
10   -@Schema(title = "管理后台 - API 错误日志 Response VO")
  10 +@Schema(description = "管理后台 - API 错误日志 Response VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class ApiErrorLogRespVO extends ApiErrorLogBaseVO {
15 15  
16   - @Schema(title = "编号", required = true, example = "1024")
  16 + @Schema(description = "编号", required = true, example = "1024")
17 17 private Integer id;
18 18  
19   - @Schema(title = "创建时间", required = true)
  19 + @Schema(description = "创建时间", required = true)
20 20 private LocalDateTime createTime;
21 21  
22   - @Schema(title = "处理时间", required = true)
  22 + @Schema(description = "处理时间", required = true)
23 23 private LocalDateTime processTime;
24 24  
25   - @Schema(title = "处理用户编号", example = "233")
  25 + @Schema(description = "处理用户编号", example = "233")
26 26 private Integer processUserId;
27 27  
28 28 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/redis/vo/RedisKeyDefineRespVO.java
... ... @@ -8,28 +8,28 @@ import lombok.Data;
8 8  
9 9 import java.time.Duration;
10 10  
11   -@Schema(title = "管理后台 - Redis Key 信息 Response VO")
  11 +@Schema(description = "管理后台 - Redis Key 信息 Response VO")
12 12 @Data
13 13 @Builder
14 14 @AllArgsConstructor
15 15 public class RedisKeyDefineRespVO {
16 16  
17   - @Schema(title = "Key 模板", required = true, example = "login_user:%s")
  17 + @Schema(description = "Key 模板", required = true, example = "login_user:%s")
18 18 private String keyTemplate;
19 19  
20   - @Schema(title = "Key 类型的枚举", required = true, example = "String")
  20 + @Schema(description = "Key 类型的枚举", required = true, example = "String")
21 21 private RedisKeyDefine.KeyTypeEnum keyType;
22 22  
23   - @Schema(title = "Value 类型", required = true, example = "java.lang.String")
  23 + @Schema(description = "Value 类型", required = true, example = "java.lang.String")
24 24 private Class<?> valueType;
25 25  
26   - @Schema(title = "超时类型", required = true, example = "1")
  26 + @Schema(description = "超时类型", required = true, example = "1")
27 27 private RedisKeyDefine.TimeoutTypeEnum timeoutType;
28 28  
29   - @Schema(title = "过期时间,单位:毫秒", required = true, example = "1024")
  29 + @Schema(description = "过期时间,单位:毫秒", required = true, example = "1024")
30 30 private Duration timeout;
31 31  
32   - @Schema(title = "备注", required = true, example = "啦啦啦啦~")
  32 + @Schema(description = "备注", required = true, example = "啦啦啦啦~")
33 33 private String memo;
34 34  
35 35 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/redis/vo/RedisKeyValueRespVO.java
... ... @@ -4,12 +4,12 @@ import io.swagger.v3.oas.annotations.media.Schema;
4 4 import lombok.AllArgsConstructor;
5 5 import lombok.Data;
6 6  
7   -@Schema(title = "管理后台 - 单个 Redis Key Value Response VO")
  7 +@Schema(description = "管理后台 - 单个 Redis Key Value Response VO")
8 8 @Data
9 9 @AllArgsConstructor
10 10 public class RedisKeyValueRespVO {
11 11  
12   - @Schema(title = "c5f6990767804a928f4bb96ca249febf", required = true, example = "String")
  12 + @Schema(description = "c5f6990767804a928f4bb96ca249febf", required = true, example = "String")
13 13 private String key;
14 14  
15 15 @Schema(required = true, example = "String")
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/redis/vo/RedisMonitorRespVO.java
... ... @@ -8,34 +8,34 @@ import lombok.Data;
8 8 import java.util.List;
9 9 import java.util.Properties;
10 10  
11   -@Schema(title = "管理后台 - Redis 监控信息 Response VO")
  11 +@Schema(description = "管理后台 - Redis 监控信息 Response VO")
12 12 @Data
13 13 @Builder
14 14 @AllArgsConstructor
15 15 public class RedisMonitorRespVO {
16 16  
17   - @Schema(title = "Redis info 指令结果", required = true, description = "具体字段,查看 Redis 文档")
  17 + @Schema(description = "Redis info 指令结果,具体字段,查看 Redis 文档", required = true)
18 18 private Properties info;
19 19  
20   - @Schema(title = "Redis key 数量", required = true, example = "1024")
  20 + @Schema(description = "Redis key 数量", required = true, example = "1024")
21 21 private Long dbSize;
22 22  
23   - @Schema(title = "CommandStat 数组", required = true)
  23 + @Schema(description = "CommandStat 数组", required = true)
24 24 private List<CommandStat> commandStats;
25 25  
26   - @Schema(title = "Redis 命令统计结果")
  26 + @Schema(description = "Redis 命令统计结果")
27 27 @Data
28 28 @Builder
29 29 @AllArgsConstructor
30 30 public static class CommandStat {
31 31  
32   - @Schema(title = "Redis 命令", required = true, example = "get")
  32 + @Schema(description = "Redis 命令", required = true, example = "get")
33 33 private String command;
34 34  
35   - @Schema(title = "调用次数", required = true, example = "1024")
  35 + @Schema(description = "调用次数", required = true, example = "1024")
36 36 private Long calls;
37 37  
38   - @Schema(title = "消耗 CPU 秒数", required = true, example = "666")
  38 + @Schema(description = "消耗 CPU 秒数", required = true, example = "666")
39 39 private Long usec;
40 40  
41 41 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/test/vo/TestDemoBaseVO.java
... ... @@ -10,23 +10,23 @@ import javax.validation.constraints.*;
10 10 @Data
11 11 public class TestDemoBaseVO {
12 12  
13   - @Schema(title = "名字", required = true)
  13 + @Schema(description = "名字", required = true)
14 14 @NotNull(message = "名字不能为空")
15 15 private String name;
16 16  
17   - @Schema(title = "状态", required = true)
  17 + @Schema(description = "状态", required = true)
18 18 @NotNull(message = "状态不能为空")
19 19 private Integer status;
20 20  
21   - @Schema(title = "类型", required = true)
  21 + @Schema(description = "类型", required = true)
22 22 @NotNull(message = "类型不能为空")
23 23 private Integer type;
24 24  
25   - @Schema(title = "分类", required = true)
  25 + @Schema(description = "分类", required = true)
26 26 @NotNull(message = "分类不能为空")
27 27 private Integer category;
28 28  
29   - @Schema(title = "备注")
  29 + @Schema(description = "备注")
30 30 private String remark;
31 31  
32 32 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/test/vo/TestDemoCreateReqVO.java
... ... @@ -2,7 +2,7 @@ package cn.iocoder.yudao.module.infra.controller.admin.test.vo;
2 2 import io.swagger.v3.oas.annotations.media.Schema;
3 3 import lombok.*;
4 4  
5   -@Schema(title = "管理后台 - 字典类型创建 Request VO")
  5 +@Schema(description = "管理后台 - 字典类型创建 Request VO")
6 6 @Data
7 7 @EqualsAndHashCode(callSuper = true)
8 8 @ToString(callSuper = true)
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/test/vo/TestDemoExportReqVO.java
... ... @@ -7,27 +7,27 @@ import org.springframework.format.annotation.DateTimeFormat;
7 7  
8 8 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
9 9  
10   -@Schema(title = "管理后台 - 字典类型 Excel 导出 Request VO", description = "参数和 TestDemoPageReqVO 是一致的")
  10 +@Schema(description = "管理后台 - 字典类型 Excel 导出 Request VO,参数和 TestDemoPageReqVO 是一致的")
11 11 @Data
12 12 public class TestDemoExportReqVO {
13 13  
14   - @Schema(title = "名字")
  14 + @Schema(description = "名字")
15 15 private String name;
16 16  
17   - @Schema(title = "状态")
  17 + @Schema(description = "状态")
18 18 private Integer status;
19 19  
20   - @Schema(title = "类型")
  20 + @Schema(description = "类型")
21 21 private Integer type;
22 22  
23   - @Schema(title = "分类")
  23 + @Schema(description = "分类")
24 24 private Integer category;
25 25  
26   - @Schema(title = "备注")
  26 + @Schema(description = "备注")
27 27 private String remark;
28 28  
29 29 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
30   - @Schema(title = "创建时间")
  30 + @Schema(description = "创建时间")
31 31 private LocalDateTime[] createTime;
32 32  
33 33 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/test/vo/TestDemoPageReqVO.java
... ... @@ -8,29 +8,29 @@ import org.springframework.format.annotation.DateTimeFormat;
8 8  
9 9 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
10 10  
11   -@Schema(title = "管理后台 - 字典类型分页 Request VO")
  11 +@Schema(description = "管理后台 - 字典类型分页 Request VO")
12 12 @Data
13 13 @EqualsAndHashCode(callSuper = true)
14 14 @ToString(callSuper = true)
15 15 public class TestDemoPageReqVO extends PageParam {
16 16  
17   - @Schema(title = "名字")
  17 + @Schema(description = "名字")
18 18 private String name;
19 19  
20   - @Schema(title = "状态")
  20 + @Schema(description = "状态")
21 21 private Integer status;
22 22  
23   - @Schema(title = "类型")
  23 + @Schema(description = "类型")
24 24 private Integer type;
25 25  
26   - @Schema(title = "分类")
  26 + @Schema(description = "分类")
27 27 private Integer category;
28 28  
29   - @Schema(title = "备注")
  29 + @Schema(description = "备注")
30 30 private String remark;
31 31  
32 32 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
33   - @Schema(title = "创建时间")
  33 + @Schema(description = "创建时间")
34 34 private LocalDateTime[] createTime;
35 35  
36 36 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/test/vo/TestDemoRespVO.java
... ... @@ -4,16 +4,16 @@ import lombok.*;
4 4  
5 5 import java.time.LocalDateTime;
6 6  
7   -@Schema(title = "管理后台 - 字典类型 Response VO")
  7 +@Schema(description = "管理后台 - 字典类型 Response VO")
8 8 @Data
9 9 @EqualsAndHashCode(callSuper = true)
10 10 @ToString(callSuper = true)
11 11 public class TestDemoRespVO extends TestDemoBaseVO {
12 12  
13   - @Schema(title = "编号", required = true)
  13 + @Schema(description = "编号", required = true)
14 14 private Long id;
15 15  
16   - @Schema(title = "创建时间", required = true)
  16 + @Schema(description = "创建时间", required = true)
17 17 private LocalDateTime createTime;
18 18  
19 19 }
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/test/vo/TestDemoUpdateReqVO.java
... ... @@ -3,13 +3,13 @@ import io.swagger.v3.oas.annotations.media.Schema;
3 3 import lombok.*;
4 4 import javax.validation.constraints.*;
5 5  
6   -@Schema(title = "管理后台 - 字典类型更新 Request VO")
  6 +@Schema(description = "管理后台 - 字典类型更新 Request VO")
7 7 @Data
8 8 @EqualsAndHashCode(callSuper = true)
9 9 @ToString(callSuper = true)
10 10 public class TestDemoUpdateReqVO extends TestDemoBaseVO {
11 11  
12   - @Schema(title = "编号", required = true)
  12 + @Schema(description = "编号", required = true)
13 13 @NotNull(message = "编号不能为空")
14 14 private Long id;
15 15  
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/java/controller/vo/_column.vm
1 1 ## 提供给 baseVO、createVO、updateVO 生成字段
2   - @Schema(title = "${column.columnComment}"#if (!${column.nullable}), required = true#end#if ("$!column.example" != ""), example = "${column.example}"#end)
  2 + @Schema(description = "${column.columnComment}"#if (!${column.nullable}), required = true#end#if ("$!column.example" != ""), example = "${column.example}"#end)
3 3 #if (!${column.nullable})## 判断 @NotEmpty 和 @NotNull 注解
4 4 #if (${field.fieldType} == 'String')
5 5 @NotEmpty(message = "${column.columnComment}不能为空")
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/java/controller/vo/createReqVO.vm
... ... @@ -15,7 +15,7 @@ import static ${DateUtilsClassName}.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
15 15 #end
16 16 #end
17 17  
18   -@Schema(title = "${sceneEnum.name} - ${table.classComment}创建 Request VO")
  18 +@Schema(description = "${sceneEnum.name} - ${table.classComment}创建 Request VO")
19 19 @Data
20 20 @EqualsAndHashCode(callSuper = true)
21 21 @ToString(callSuper = true)
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/java/controller/vo/exportReqVO.vm
... ... @@ -16,18 +16,18 @@ import static ${DateUtilsClassName}.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
16 16 #end
17 17 ## 字段模板
18 18 #macro(columnTpl $prefix $prefixStr)
19   - @Schema(title = "${prefixStr}${column.columnComment}"#if ("$!column.example" != ""), example = "${column.example}"#end)
  19 + @Schema(description = "${prefixStr}${column.columnComment}"#if ("$!column.example" != ""), example = "${column.example}"#end)
20 20 private ${column.javaType}#if ("$!prefix" != "") ${prefix}${JavaField}#else ${column.javaField}#end;
21 21 #end
22 22  
23   -@Schema(title = "${sceneEnum.name} - ${table.classComment} Excel 导出 Request VO", description = "参数和 ${table.className}PageReqVO 是一致的")
  23 +@Schema(description = "${sceneEnum.name} - ${table.classComment} Excel 导出 Request VO,参数和 ${table.className}PageReqVO 是一致的")
24 24 @Data
25 25 public class ${sceneEnum.prefixClass}${table.className}ExportReqVO {
26 26  
27 27 #foreach ($column in $columns)
28 28 #if (${column.listOperation})##查询操作
29 29 #if (${column.listOperationCondition} == "BETWEEN")## 情况一,Between 的时候
30   - @Schema(title = "${column.columnComment}"#if ("$!column.example" != ""), example = "${column.example}"#end)
  30 + @Schema(description = "${column.columnComment}"#if ("$!column.example" != ""), example = "${column.example}"#end)
31 31 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
32 32 private ${column.javaType}[] ${column.javaField};
33 33 #else##情况二,非 Between 的时间
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/java/controller/vo/pageReqVO.vm
... ... @@ -16,11 +16,11 @@ import static ${DateUtilsClassName}.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
16 16 #end
17 17 ## 字段模板
18 18 #macro(columnTpl $prefix $prefixStr)
19   - @Schema(title = "${prefixStr}${column.columnComment}"#if ("$!column.example" != ""), example = "${column.example}"#end)
  19 + @Schema(description = "${prefixStr}${column.columnComment}"#if ("$!column.example" != ""), example = "${column.example}"#end)
20 20 private ${column.javaType}#if ("$!prefix" != "") ${prefix}${JavaField}#else ${column.javaField}#end;
21 21 #end
22 22  
23   -@Schema(title = "${sceneEnum.name} - ${table.classComment}分页 Request VO")
  23 +@Schema(description = "${sceneEnum.name} - ${table.classComment}分页 Request VO")
24 24 @Data
25 25 @EqualsAndHashCode(callSuper = true)
26 26 @ToString(callSuper = true)
... ... @@ -29,7 +29,7 @@ public class ${sceneEnum.prefixClass}${table.className}PageReqVO extends PagePar
29 29 #foreach ($column in $columns)
30 30 #if (${column.listOperation})##查询操作
31 31 #if (${column.listOperationCondition} == "BETWEEN")## 情况一,Between 的时候
32   - @Schema(title = "${column.columnComment}"#if ("$!column.example" != ""), example = "${column.example}"#end)
  32 + @Schema(description = "${column.columnComment}"#if ("$!column.example" != ""), example = "${column.example}"#end)
33 33 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
34 34 private ${column.javaType}[] ${column.javaField};
35 35 #else##情况二,非 Between 的时间
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/java/controller/vo/respVO.vm
... ... @@ -9,7 +9,7 @@ import java.time.LocalDateTime;
9 9 #end
10 10 import io.swagger.annotations.*;
11 11  
12   -@Schema(title = "${sceneEnum.name} - ${table.classComment} Response VO")
  12 +@Schema(description = "${sceneEnum.name} - ${table.classComment} Response VO")
13 13 @Data
14 14 @EqualsAndHashCode(callSuper = true)
15 15 @ToString(callSuper = true)
... ... @@ -17,7 +17,7 @@ public class ${sceneEnum.prefixClass}${table.className}RespVO extends ${sceneEnu
17 17  
18 18 #foreach ($column in $columns)
19 19 #if (${column.listOperationResult} && (!${column.createOperation} || !${column.updateOperation}))##不是通用字段
20   - @Schema(title = "${column.columnComment}"#if (!${column.nullable}), required = true#end#if ("$!column.example" != ""), example = "${column.example}"#end)
  20 + @Schema(description = "${column.columnComment}"#if (!${column.nullable}), required = true#end#if ("$!column.example" != ""), example = "${column.example}"#end)
21 21 private ${column.javaType} ${column.javaField};
22 22  
23 23 #end
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/java/controller/vo/updateReqVO.vm
... ... @@ -15,7 +15,7 @@ import static ${DateUtilsClassName}.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
15 15 #end
16 16 #end
17 17  
18   -@Schema(title = "${sceneEnum.name} - ${table.classComment}更新 Request VO")
  18 +@Schema(description = "${sceneEnum.name} - ${table.classComment}更新 Request VO")
19 19 @Data
20 20 @EqualsAndHashCode(callSuper = true)
21 21 @ToString(callSuper = true)
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/brand/vo/ProductBrandBaseVO.java
... ... @@ -11,22 +11,22 @@ import javax.validation.constraints.NotNull;
11 11 @Data
12 12 public class ProductBrandBaseVO {
13 13  
14   - @Schema(title = "品牌名称", required = true, example = "芋道")
  14 + @Schema(description = "品牌名称", required = true, example = "芋道")
15 15 @NotNull(message = "品牌名称不能为空")
16 16 private String name;
17 17  
18   - @Schema(title = "品牌图片", required = true)
  18 + @Schema(description = "品牌图片", required = true)
19 19 @NotNull(message = "品牌图片不能为空")
20 20 private String picUrl;
21 21  
22   - @Schema(title = "品牌排序", required = true, example = "1")
  22 + @Schema(description = "品牌排序", required = true, example = "1")
23 23 @NotNull(message = "品牌排序不能为空")
24 24 private Integer sort;
25 25  
26   - @Schema(title = "品牌描述", example = "描述")
  26 + @Schema(description = "品牌描述", example = "描述")
27 27 private String description;
28 28  
29   - @Schema(title = "状态", required = true, example = "0")
  29 + @Schema(description = "状态", required = true, example = "0")
30 30 @NotNull(message = "状态不能为空")
31 31 private Integer status;
32 32  
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/brand/vo/ProductBrandCreateReqVO.java
... ... @@ -2,7 +2,7 @@ package cn.iocoder.yudao.module.product.controller.admin.brand.vo;
2 2 import io.swagger.v3.oas.annotations.media.Schema;
3 3 import lombok.*;
4 4  
5   -@Schema(title = "管理后台 - 商品品牌创建 Request VO")
  5 +@Schema(description = "管理后台 - 商品品牌创建 Request VO")
6 6 @Data
7 7 @EqualsAndHashCode(callSuper = true)
8 8 @ToString(callSuper = true)
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/brand/vo/ProductBrandListReqVO.java
... ... @@ -3,11 +3,11 @@ package cn.iocoder.yudao.module.product.controller.admin.brand.vo;
3 3 import io.swagger.v3.oas.annotations.media.Schema;
4 4 import lombok.Data;
5 5  
6   -@Schema(title = "管理后台 - 商品品牌分页 Request VO")
  6 +@Schema(description = "管理后台 - 商品品牌分页 Request VO")
7 7 @Data
8 8 public class ProductBrandListReqVO {
9 9  
10   - @Schema(title = "品牌名称", example = "芋道")
  10 + @Schema(description = "品牌名称", example = "芋道")
11 11 private String name;
12 12  
13 13 }
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/brand/vo/ProductBrandPageReqVO.java
... ... @@ -11,20 +11,20 @@ import java.time.LocalDateTime;
11 11  
12 12 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
13 13  
14   -@Schema(title = "管理后台 - 商品品牌分页 Request VO")
  14 +@Schema(description = "管理后台 - 商品品牌分页 Request VO")
15 15 @Data
16 16 @EqualsAndHashCode(callSuper = true)
17 17 @ToString(callSuper = true)
18 18 public class ProductBrandPageReqVO extends PageParam {
19 19  
20   - @Schema(title = "品牌名称", example = "芋道")
  20 + @Schema(description = "品牌名称", example = "芋道")
21 21 private String name;
22 22  
23   - @Schema(title = "状态", example = "0", description = "参考 CommonStatusEnum 枚举")
  23 + @Schema(description = "状态-参考 CommonStatusEnum 枚举", example = "0")
24 24 private Integer status;
25 25  
26 26 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
27   - @Schema(title = "创建时间")
  27 + @Schema(description = "创建时间")
28 28 private LocalDateTime[] createTime;
29 29  
30 30 }
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/brand/vo/ProductBrandRespVO.java
... ... @@ -7,16 +7,16 @@ import lombok.ToString;
7 7  
8 8 import java.time.LocalDateTime;
9 9  
10   -@Schema(title = "管理后台 - 品牌 Response VO")
  10 +@Schema(description = "管理后台 - 品牌 Response VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class ProductBrandRespVO extends ProductBrandBaseVO {
15 15  
16   - @Schema(title = "品牌编号", required = true, example = "1")
  16 + @Schema(description = "品牌编号", required = true, example = "1")
17 17 private Long id;
18 18  
19   - @Schema(title = "创建时间", required = true)
  19 + @Schema(description = "创建时间", required = true)
20 20 private LocalDateTime createTime;
21 21  
22 22 }
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/brand/vo/ProductBrandUpdateReqVO.java
... ... @@ -3,13 +3,13 @@ import io.swagger.v3.oas.annotations.media.Schema;
3 3 import lombok.*;
4 4 import javax.validation.constraints.*;
5 5  
6   -@Schema(title = "管理后台 - 商品品牌更新 Request VO")
  6 +@Schema(description = "管理后台 - 商品品牌更新 Request VO")
7 7 @Data
8 8 @EqualsAndHashCode(callSuper = true)
9 9 @ToString(callSuper = true)
10 10 public class ProductBrandUpdateReqVO extends ProductBrandBaseVO {
11 11  
12   - @Schema(title = "品牌编号", required = true, example = "1")
  12 + @Schema(description = "品牌编号", required = true, example = "1")
13 13 @NotNull(message = "品牌编号不能为空")
14 14 private Long id;
15 15  
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/category/vo/ProductCategoryBaseVO.java
... ... @@ -12,25 +12,25 @@ import javax.validation.constraints.NotNull;
12 12 @Data
13 13 public class ProductCategoryBaseVO {
14 14  
15   - @Schema(title = "父分类编号", required = true, example = "1")
  15 + @Schema(description = "父分类编号", required = true, example = "1")
16 16 @NotNull(message = "父分类编号不能为空")
17 17 private Long parentId;
18 18  
19   - @Schema(title = "分类名称", required = true, example = "办公文具")
  19 + @Schema(description = "分类名称", required = true, example = "办公文具")
20 20 @NotBlank(message = "分类名称不能为空")
21 21 private String name;
22 22  
23   - @Schema(title = "分类图片", required = true)
  23 + @Schema(description = "分类图片", required = true)
24 24 @NotBlank(message = "分类图片不能为空")
25 25 private String picUrl;
26 26  
27   - @Schema(title = "分类排序", required = true, example = "1")
  27 + @Schema(description = "分类排序", required = true, example = "1")
28 28 private Integer sort;
29 29  
30   - @Schema(title = "分类描述", required = true, example = "描述")
  30 + @Schema(description = "分类描述", required = true, example = "描述")
31 31 private String description;
32 32  
33   - @Schema(title = "开启状态", required = true, example = "0")
  33 + @Schema(description = "开启状态", required = true, example = "0")
34 34 @NotNull(message = "开启状态不能为空")
35 35 private Integer status;
36 36  
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/category/vo/ProductCategoryCreateReqVO.java
... ... @@ -2,7 +2,7 @@ package cn.iocoder.yudao.module.product.controller.admin.category.vo;
2 2 import io.swagger.v3.oas.annotations.media.Schema;
3 3 import lombok.*;
4 4  
5   -@Schema(title = "管理后台 - 商品分类创建 Request VO")
  5 +@Schema(description = "管理后台 - 商品分类创建 Request VO")
6 6 @Data
7 7 @EqualsAndHashCode(callSuper = true)
8 8 @ToString(callSuper = true)
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/category/vo/ProductCategoryListReqVO.java
... ... @@ -3,11 +3,11 @@ package cn.iocoder.yudao.module.product.controller.admin.category.vo;
3 3 import io.swagger.v3.oas.annotations.media.Schema;
4 4 import lombok.Data;
5 5  
6   -@Schema(title = "管理后台 - 商品分类列表查询 Request VO")
  6 +@Schema(description = "管理后台 - 商品分类列表查询 Request VO")
7 7 @Data
8 8 public class ProductCategoryListReqVO {
9 9  
10   - @Schema(title = "分类名称", example = "办公文具")
  10 + @Schema(description = "分类名称", example = "办公文具")
11 11 private String name;
12 12  
13 13 }
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/category/vo/ProductCategoryRespVO.java
... ... @@ -4,16 +4,16 @@ import lombok.*;
4 4  
5 5 import java.time.LocalDateTime;
6 6  
7   -@Schema(title = "管理后台 - 商品分类 Response VO")
  7 +@Schema(description = "管理后台 - 商品分类 Response VO")
8 8 @Data
9 9 @EqualsAndHashCode(callSuper = true)
10 10 @ToString(callSuper = true)
11 11 public class ProductCategoryRespVO extends ProductCategoryBaseVO {
12 12  
13   - @Schema(title = "分类编号", required = true, example = "2")
  13 + @Schema(description = "分类编号", required = true, example = "2")
14 14 private Long id;
15 15  
16   - @Schema(title = "创建时间", required = true)
  16 + @Schema(description = "创建时间", required = true)
17 17 private LocalDateTime createTime;
18 18  
19 19 }
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/category/vo/ProductCategoryUpdateReqVO.java
... ... @@ -3,13 +3,13 @@ import io.swagger.v3.oas.annotations.media.Schema;
3 3 import lombok.*;
4 4 import javax.validation.constraints.*;
5 5  
6   -@Schema(title = "管理后台 - 商品分类更新 Request VO")
  6 +@Schema(description = "管理后台 - 商品分类更新 Request VO")
7 7 @Data
8 8 @EqualsAndHashCode(callSuper = true)
9 9 @ToString(callSuper = true)
10 10 public class ProductCategoryUpdateReqVO extends ProductCategoryBaseVO {
11 11  
12   - @Schema(title = "分类编号", required = true, example = "2")
  12 + @Schema(description = "分类编号", required = true, example = "2")
13 13 @NotNull(message = "分类编号不能为空")
14 14 private Long id;
15 15  
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/property/vo/ProductPropertyViewRespVO.java
... ... @@ -12,22 +12,22 @@ import java.util.List;
12 12 * @CreateDate: 2022/7/5 21:29
13 13 * @Version: 1.0.0
14 14 */
15   -@Schema(title = "管理后台 - 规格名称详情展示 Request VO")
  15 +@Schema(description = "管理后台 - 规格名称详情展示 Request VO")
16 16 @Data
17 17 @ToString(callSuper = true)
18 18 public class ProductPropertyViewRespVO {
19 19  
20   - @Schema(title = "规格名称id", example = "1")
  20 + @Schema(description = "规格名称id", example = "1")
21 21 public Long propertyId;
22 22  
23   - @Schema(title = "规格名称", example = "内存")
  23 + @Schema(description = "规格名称", example = "内存")
24 24 public String name;
25 25  
26   - @Schema(title = "规格属性值集合", example = "[{\"v1\":11,\"v2\":\"64G\"},{\"v1\":10,\"v2\":\"32G\"}]")
  26 + @Schema(description = "规格属性值集合", example = "[{\"v1\":11,\"v2\":\"64G\"},{\"v1\":10,\"v2\":\"32G\"}]")
27 27 public List<Tuple2> propertyValues;
28 28  
29 29 @Data
30   - @Schema(title = "规格属性值元组")
  30 + @Schema(description = "规格属性值元组")
31 31 public static class Tuple2 {
32 32 private final long id;
33 33 private final String name;
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/property/vo/property/ProductPropertyAndValueRespVO.java
... ... @@ -9,16 +9,16 @@ import lombok.ToString;
9 9 import java.time.LocalDateTime;
10 10 import java.util.List;
11 11  
12   -@Schema(title = "管理后台 - 规格 + 规格值 Response VO")
  12 +@Schema(description = "管理后台 - 规格 + 规格值 Response VO")
13 13 @Data
14 14 @EqualsAndHashCode(callSuper = true)
15 15 @ToString(callSuper = true)
16 16 public class ProductPropertyAndValueRespVO extends ProductPropertyBaseVO {
17 17  
18   - @Schema(title = "规格的编号", required = true, example = "1024")
  18 + @Schema(description = "规格的编号", required = true, example = "1024")
19 19 private Long id;
20 20  
21   - @Schema(title = "创建时间", required = true)
  21 + @Schema(description = "创建时间", required = true)
22 22 private LocalDateTime createTime;
23 23  
24 24 /**
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/property/vo/property/ProductPropertyBaseVO.java
... ... @@ -12,14 +12,14 @@ import javax.validation.constraints.NotNull;
12 12 @Data
13 13 public class ProductPropertyBaseVO {
14 14  
15   - @Schema(title = "规格名称", required = true, example = "颜色")
  15 + @Schema(description = "规格名称", required = true, example = "颜色")
16 16 @NotBlank(message = "规格名称不能为空")
17 17 private String name;
18 18  
19   - @Schema(title = "备注", example = "颜色")
  19 + @Schema(description = "备注", example = "颜色")
20 20 private String remark;
21 21  
22   - @Schema(title = "状态", required = true, example = "1", description = "参见 CommonStatusEnum 枚举")
  22 + @Schema(description = "状态-参见 CommonStatusEnum 枚举", required = true, example = "1")
23 23 @NotNull(message = "状态不能为空")
24 24 private Integer status;
25 25  
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/property/vo/property/ProductPropertyCreateReqVO.java
... ... @@ -4,7 +4,7 @@ import lombok.Data;
4 4 import lombok.EqualsAndHashCode;
5 5 import lombok.ToString;
6 6  
7   -@Schema(title = "管理后台 - 规格名称创建 Request VO")
  7 +@Schema(description = "管理后台 - 规格名称创建 Request VO")
8 8 @Data
9 9 @EqualsAndHashCode(callSuper = true)
10 10 @ToString(callSuper = true)
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/property/vo/property/ProductPropertyListReqVO.java
... ... @@ -4,15 +4,15 @@ import io.swagger.v3.oas.annotations.media.Schema;
4 4 import lombok.Data;
5 5 import lombok.ToString;
6 6  
7   -@Schema(title = "管理后台 - 规格名称 List Request VO")
  7 +@Schema(description = "管理后台 - 规格名称 List Request VO")
8 8 @Data
9 9 @ToString(callSuper = true)
10 10 public class ProductPropertyListReqVO {
11 11  
12   - @Schema(title = "规格名称", example = "颜色")
  12 + @Schema(description = "规格名称", example = "颜色")
13 13 private String name;
14 14  
15   - @Schema(title = "状态", required = true, example = "1", description = "参见 CommonStatusEnum 枚举")
  15 + @Schema(description = "状态,参见 CommonStatusEnum 枚举", required = true, example = "1")
16 16 private Integer status;
17 17  
18 18 }
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/property/vo/property/ProductPropertyPageReqVO.java
... ... @@ -11,20 +11,20 @@ import java.time.LocalDateTime;
11 11  
12 12 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
13 13  
14   -@Schema(title = "管理后台 - 规格名称分页 Request VO")
  14 +@Schema(description = "管理后台 - 规格名称分页 Request VO")
15 15 @Data
16 16 @EqualsAndHashCode(callSuper = true)
17 17 @ToString(callSuper = true)
18 18 public class ProductPropertyPageReqVO extends PageParam {
19 19  
20   - @Schema(title = "规格名称", example = "颜色")
  20 + @Schema(description = "规格名称", example = "颜色")
21 21 private String name;
22 22  
23   - @Schema(title = "状态", required = true, example = "1", description = "参见 CommonStatusEnum 枚举")
  23 + @Schema(description = "状态,参见 CommonStatusEnum 枚举", required = true, example = "1")
24 24 private Integer status;
25 25  
26 26 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
27   - @Schema(title = "创建时间")
  27 + @Schema(description = "创建时间")
28 28 private LocalDateTime[] createTime;
29 29  
30 30 }
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/property/vo/property/ProductPropertyRespVO.java
... ... @@ -7,16 +7,16 @@ import lombok.ToString;
7 7  
8 8 import java.time.LocalDateTime;
9 9  
10   -@Schema(title = "管理后台 - 规格 + 规格值 Response VO")
  10 +@Schema(description = "管理后台 - 规格 + 规格值 Response VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class ProductPropertyRespVO extends ProductPropertyBaseVO {
15 15  
16   - @Schema(title = "规格的编号", required = true, example = "1024")
  16 + @Schema(description = "规格的编号", required = true, example = "1024")
17 17 private Long id;
18 18  
19   - @Schema(title = "创建时间", required = true)
  19 + @Schema(description = "创建时间", required = true)
20 20 private LocalDateTime createTime;
21 21  
22 22 }
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/property/vo/property/ProductPropertyUpdateReqVO.java
... ... @@ -3,13 +3,13 @@ import io.swagger.v3.oas.annotations.media.Schema;
3 3 import lombok.*;
4 4 import javax.validation.constraints.*;
5 5  
6   -@Schema(title = "管理后台 - 规格名称更新 Request VO")
  6 +@Schema(description = "管理后台 - 规格名称更新 Request VO")
7 7 @Data
8 8 @EqualsAndHashCode(callSuper = true)
9 9 @ToString(callSuper = true)
10 10 public class ProductPropertyUpdateReqVO extends ProductPropertyBaseVO {
11 11  
12   - @Schema(title = "主键", required = true, example = "1")
  12 + @Schema(description = "主键", required = true, example = "1")
13 13 @NotNull(message = "主键不能为空")
14 14 private Long id;
15 15  
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/property/vo/value/ProductPropertyValueBaseVO.java
... ... @@ -12,19 +12,19 @@ import javax.validation.constraints.NotNull;
12 12 @Data
13 13 public class ProductPropertyValueBaseVO {
14 14  
15   - @Schema(title = "规格编号", required = true, example = "1024")
  15 + @Schema(description = "规格编号", required = true, example = "1024")
16 16 @NotNull(message = "规格编号不能为空")
17 17 private Long propertyId;
18 18  
19   - @Schema(title = "规格值名字", required = true, example = "红色")
  19 + @Schema(description = "规格值名字", required = true, example = "红色")
20 20 @NotEmpty(message = "规格值名字不能为空")
21 21 private String name;
22 22  
23   - @Schema(title = "状态", required = true, example = "1", description = "参见 CommonStatusEnum 枚举")
  23 + @Schema(description = "状态,参见 CommonStatusEnum 枚举", required = true, example = "1")
24 24 @NotNull(message = "状态不能为空")
25 25 private Integer status;
26 26  
27   - @Schema(title = "备注", example = "颜色")
  27 + @Schema(description = "备注", example = "颜色")
28 28 private String remark;
29 29  
30 30 }
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/property/vo/value/ProductPropertyValueCreateReqVO.java
... ... @@ -2,7 +2,7 @@ package cn.iocoder.yudao.module.product.controller.admin.property.vo.value;
2 2 import io.swagger.v3.oas.annotations.media.Schema;
3 3 import lombok.*;
4 4  
5   -@Schema(title = "管理后台 - 规格值创建 Request VO")
  5 +@Schema(description = "管理后台 - 规格值创建 Request VO")
6 6 @Data
7 7 @EqualsAndHashCode(callSuper = true)
8 8 @ToString(callSuper = true)
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/property/vo/value/ProductPropertyValuePageReqVO.java
... ... @@ -12,19 +12,19 @@ import java.util.Date;
12 12  
13 13 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
14 14  
15   -@Schema(title = "管理后台 - 规格名称值分页 Request VO")
  15 +@Schema(description = "管理后台 - 规格名称值分页 Request VO")
16 16 @Data
17 17 @EqualsAndHashCode(callSuper = true)
18 18 @ToString(callSuper = true)
19 19 public class ProductPropertyValuePageReqVO extends PageParam {
20 20  
21   - @Schema(title = "规格id", example = "1024")
  21 + @Schema(description = "规格id", example = "1024")
22 22 private String propertyId;
23 23  
24   - @Schema(title = "规格值", example = "红色")
  24 + @Schema(description = "规格值", example = "红色")
25 25 private String name;
26 26  
27   - @Schema(title = "状态", required = true, example = "1", description = "参见 CommonStatusEnum 枚举")
  27 + @Schema(description = "状态,参见 CommonStatusEnum 枚举", required = true, example = "1")
28 28 private Integer status;
29 29  
30 30 }
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/property/vo/value/ProductPropertyValueRespVO.java
... ... @@ -7,16 +7,16 @@ import lombok.ToString;
7 7  
8 8 import java.time.LocalDateTime;
9 9  
10   -@Schema(title = "管理后台 - 规格值 Response VO")
  10 +@Schema(description = "管理后台 - 规格值 Response VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class ProductPropertyValueRespVO extends ProductPropertyValueBaseVO {
15 15  
16   - @Schema(title = "主键", required = true, example = "10")
  16 + @Schema(description = "主键", required = true, example = "10")
17 17 private Long id;
18 18  
19   - @Schema(title = "创建时间")
  19 + @Schema(description = "创建时间")
20 20 private LocalDateTime createTime;
21 21  
22 22 }
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/property/vo/value/ProductPropertyValueUpdateReqVO.java
... ... @@ -3,13 +3,13 @@ import io.swagger.v3.oas.annotations.media.Schema;
3 3 import lombok.*;
4 4 import javax.validation.constraints.*;
5 5  
6   -@Schema(title = "管理后台 - 规格值更新 Request VO")
  6 +@Schema(description = "管理后台 - 规格值更新 Request VO")
7 7 @Data
8 8 @EqualsAndHashCode(callSuper = true)
9 9 @ToString(callSuper = true)
10 10 public class ProductPropertyValueUpdateReqVO extends ProductPropertyValueBaseVO {
11 11  
12   - @Schema(title = "主键", required = true, example = "1024")
  12 + @Schema(description = "主键", required = true, example = "1024")
13 13 @NotNull(message = "主键不能为空")
14 14 private Long id;
15 15  
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/sku/vo/ProductSkuBaseVO.java
... ... @@ -15,54 +15,54 @@ import javax.validation.constraints.NotNull;
15 15 @Data
16 16 public class ProductSkuBaseVO {
17 17  
18   - @Schema(title = "商品 SKU 名字", required = true, example = "芋道")
  18 + @Schema(description = "商品 SKU 名字", required = true, example = "芋道")
19 19 @NotEmpty(message = "商品 SKU 名字不能为空")
20 20 private String name;
21 21  
22   - @Schema(title = "销售价格,单位:分", required = true, example = "1024", description = "单位:分")
  22 + @Schema(description = "销售价格,单位:分", required = true, example = "1024")
23 23 @NotNull(message = "销售价格,单位:分不能为空")
24 24 private Integer price;
25 25  
26   - @Schema(title = "市场价", example = "1024", description = "单位:分")
  26 + @Schema(description = "市场价,单位:分", example = "1024")
27 27 private Integer marketPrice;
28 28  
29   - @Schema(title = "成本价", example = "1024", description = "单位:分")
  29 + @Schema(description = "成本价,单位:分", example = "1024")
30 30 private Integer costPrice;
31 31  
32   - @Schema(title = "条形码", example = "haha")
  32 + @Schema(description = "条形码", example = "haha")
33 33 private String barCode;
34 34  
35   - @Schema(title = "图片地址", required = true, example = "https://www.iocoder.cn/xx.png")
  35 + @Schema(description = "图片地址", required = true, example = "https://www.iocoder.cn/xx.png")
36 36 @NotNull(message = "图片地址不能为空")
37 37 private String picUrl;
38 38  
39   - @Schema(title = "SKU 状态", required = true, example = "1", description = "参见 CommonStatusEnum 枚举")
  39 + @Schema(description = "SKU 状态,参见 CommonStatusEnum 枚举", required = true, example = "1")
40 40 @NotNull(message = "SKU 状态不能为空")
41 41 @InEnum(CommonStatusEnum.class)
42 42 private Integer status;
43 43  
44   - @Schema(title = "库存", required = true, example = "1")
  44 + @Schema(description = "库存", required = true, example = "1")
45 45 @NotNull(message = "库存不能为空")
46 46 private Integer stock;
47 47  
48   - @Schema(title = "预警预存", example = "1")
  48 + @Schema(description = "预警预存", example = "1")
49 49 private Integer warnStock;
50 50  
51   - @Schema(title = "商品重量", example = "1", description = "单位:kg 千克")
  51 + @Schema(description = "商品重量,单位:kg 千克", example = "1")
52 52 private Double weight;
53 53  
54   - @Schema(title = "商品体积", example = "1024", description = "单位:m^3 平米")
  54 + @Schema(description = "商品体积,单位:m^3 平米", example = "1024")
55 55 private Double volume;
56 56  
57   - @Schema(title = "规格值")
  57 + @Schema(description = "规格值")
58 58 @Data
59 59 public static class Property {
60 60  
61   - @Schema(title = "属性编号", required = true, example = "1")
  61 + @Schema(description = "属性编号", required = true, example = "1")
62 62 @NotNull(message = "属性编号不能为空")
63 63 private Long propertyId;
64 64  
65   - @Schema(title = "属性值编号", required = true, example = "1024")
  65 + @Schema(description = "属性值编号", required = true, example = "1024")
66 66 @NotNull(message = "属性值编号不能为空")
67 67 private Long valueId;
68 68  
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/sku/vo/ProductSkuCreateOrUpdateReqVO.java
... ... @@ -7,13 +7,13 @@ import lombok.ToString;
7 7  
8 8 import java.util.List;
9 9  
10   -@Schema(title = "管理后台 - 商品 SKU 创建/更新 Request VO")
  10 +@Schema(description = "管理后台 - 商品 SKU 创建/更新 Request VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class ProductSkuCreateOrUpdateReqVO extends ProductSkuBaseVO {
15 15  
16   - @Schema(title = "商品 SKU 编号", example = "1")
  16 + @Schema(description = "商品 SKU 编号", example = "1")
17 17 private Long id;
18 18  
19 19 /**
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/sku/vo/ProductSkuOptionRespVO.java
... ... @@ -3,28 +3,28 @@ package cn.iocoder.yudao.module.product.controller.admin.sku.vo;
3 3 import io.swagger.v3.oas.annotations.media.Schema;
4 4 import lombok.Data;
5 5  
6   -@Schema(title = "管理后台 - 商品 SKU 选项 Response VO", description = "用于前端 SELECT 选项")
  6 +@Schema(description = "管理后台 - 商品 SKU 选项 Response VO,用于前端 SELECT 选项")
7 7 @Data
8 8 public class ProductSkuOptionRespVO {
9 9  
10   - @Schema(title = "主键", required = true, example = "1024")
  10 + @Schema(description = "主键", required = true, example = "1024")
11 11 private Long id;
12 12  
13   - @Schema(title = "商品 SKU 名字", example = "红色")
  13 + @Schema(description = "商品 SKU 名字", example = "红色")
14 14 private String name;
15 15  
16   - @Schema(title = "销售价格", required = true, example = "100", description = "单位:分")
  16 + @Schema(description = "销售价格,单位:分", required = true, example = "100")
17 17 private String price;
18 18  
19   - @Schema(title = "库存", required = true, example = "100")
  19 + @Schema(description = "库存", required = true, example = "100")
20 20 private Integer stock;
21 21  
22 22 // ========== 商品 SPU 信息 ==========
23 23  
24   - @Schema(title = "商品 SPU 编号", required = true, example = "1")
  24 + @Schema(description = "商品 SPU 编号", required = true, example = "1")
25 25 private Long spuId;
26 26  
27   - @Schema(title = "商品 SPU 名字", required = true, example = "iPhone 11")
  27 + @Schema(description = "商品 SPU 名字", required = true, example = "iPhone 11")
28 28 private String spuName;
29 29  
30 30 }
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/sku/vo/ProductSkuRespVO.java
... ... @@ -8,16 +8,16 @@ import lombok.ToString;
8 8 import java.time.LocalDateTime;
9 9 import java.util.List;
10 10  
11   -@Schema(title = "管理后台 - 商品 SKU Response VO")
  11 +@Schema(description = "管理后台 - 商品 SKU Response VO")
12 12 @Data
13 13 @EqualsAndHashCode(callSuper = true)
14 14 @ToString(callSuper = true)
15 15 public class ProductSkuRespVO extends ProductSkuBaseVO {
16 16  
17   - @Schema(title = "主键", required = true, example = "1024")
  17 + @Schema(description = "主键", required = true, example = "1024")
18 18 private Long id;
19 19  
20   - @Schema(title = "创建时间")
  20 + @Schema(description = "创建时间")
21 21 private LocalDateTime createTime;
22 22  
23 23 /**
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/spu/vo/ProductSpuBaseVO.java
... ... @@ -17,75 +17,75 @@ import java.util.List;
17 17 @Data
18 18 public class ProductSpuBaseVO {
19 19  
20   - @Schema(title = "商品名称", required = true, example = "芋道")
  20 + @Schema(description = "商品名称", required = true, example = "芋道")
21 21 @NotEmpty(message = "商品名称不能为空")
22 22 private String name;
23 23  
24   - @Schema(title = "商品编码", example = "yudaoyuanma")
  24 + @Schema(description = "商品编码", example = "yudaoyuanma")
25 25 private String code;
26 26  
27   - @Schema(title = "促销语", example = "好吃!")
  27 + @Schema(description = "促销语", example = "好吃!")
28 28 private String sellPoint;
29 29  
30   - @Schema(title = "商品详情", required = true, example = "我是商品描述")
  30 + @Schema(description = "商品详情", required = true, example = "我是商品描述")
31 31 @NotNull(message = "商品详情不能为空")
32 32 private String description;
33 33  
34   - @Schema(title = "商品分类编号", required = true, example = "1")
  34 + @Schema(description = "商品分类编号", required = true, example = "1")
35 35 @NotNull(message = "商品分类编号不能为空")
36 36 private Long categoryId;
37 37  
38   - @Schema(title = "商品品牌编号", example = "1")
  38 + @Schema(description = "商品品牌编号", example = "1")
39 39 private Long brandId;
40 40  
41   - @Schema(title = "商品图片的数组", required = true)
  41 + @Schema(description = "商品图片的数组", required = true)
42 42 @NotNull(message = "商品图片的数组不能为空")
43 43 private List<String> picUrls;
44 44  
45   - @Schema(title = "商品视频", required = true)
  45 + @Schema(description = "商品视频", required = true)
46 46 private String videoUrl;
47 47  
48   - @Schema(title = "排序字段", required = true, example = "1")
  48 + @Schema(description = "排序字段", required = true, example = "1")
49 49 private Integer sort;
50 50  
51   - @Schema(title = "商品状态", required = true, example = "1", description = "参见 ProductSpuStatusEnum 枚举类")
  51 + @Schema(description = "商品状态,参见 ProductSpuStatusEnum 枚举类", required = true, example = "1")
52 52 @NotNull(message = "商品状态不能为空")
53 53 @InEnum(ProductSpuStatusEnum.class)
54 54 private Integer status;
55 55  
56 56 // ========== SKU 相关字段 =========
57 57  
58   - @Schema(title = "规格类型", required = true, example = "1", description = "参见 ProductSpuSpecTypeEnum 枚举类")
  58 + @Schema(description = "规格类型,参见 ProductSpuSpecTypeEnum 枚举类", required = true, example = "1")
59 59 @NotNull(message = "规格类型不能为空")
60 60 @InEnum(ProductSpuSpecTypeEnum.class)
61 61 private Integer specType;
62 62  
63   - @Schema(title = "是否展示库存", required = true, example = "true")
  63 + @Schema(description = "是否展示库存", required = true, example = "true")
64 64 @NotNull(message = "是否展示库存不能为空")
65 65 private Boolean showStock;
66 66  
67   - @Schema(title = "库存", required = true, example = "true")
  67 + @Schema(description = "库存", required = true, example = "true")
68 68 private Integer totalStock;
69 69  
70   - @Schema(title = "市场价", example = "1024")
  70 + @Schema(description = "市场价", example = "1024")
71 71 private Integer marketPrice;
72 72  
73   - @Schema(title = " 最小价格,单位使用:分", required = true, example = "1024")
  73 + @Schema(description = " 最小价格,单位使用:分", required = true, example = "1024")
74 74 private Integer minPrice;
75 75  
76   - @Schema(title = "最大价格,单位使用:分", required = true, example = "1024")
  76 + @Schema(description = "最大价格,单位使用:分", required = true, example = "1024")
77 77 private Integer maxPrice;
78 78  
79 79 // ========== 统计相关字段 =========
80 80  
81   - @Schema(title = "商品销量", example = "1024")
  81 + @Schema(description = "商品销量", example = "1024")
82 82 private Integer salesCount;
83 83  
84   - @Schema(title = "虚拟销量", required = true, example = "1024")
  84 + @Schema(description = "虚拟销量", required = true, example = "1024")
85 85 @NotNull(message = "虚拟销量不能为空")
86 86 private Integer virtualSalesCount;
87 87  
88   - @Schema(title = "点击量", example = "1024")
  88 + @Schema(description = "点击量", example = "1024")
89 89 private Integer clickCount;
90 90  
91 91 }
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/spu/vo/ProductSpuCreateReqVO.java
... ... @@ -9,7 +9,7 @@ import lombok.ToString;
9 9 import javax.validation.Valid;
10 10 import java.util.List;
11 11  
12   -@Schema(title = "管理后台 - 商品 SPU 创建 Request VO")
  12 +@Schema(description = "管理后台 - 商品 SPU 创建 Request VO")
13 13 @Data
14 14 @EqualsAndHashCode(callSuper = true)
15 15 @ToString(callSuper = true)
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/spu/vo/ProductSpuDetailRespVO.java
... ... @@ -10,16 +10,16 @@ import lombok.ToString;
10 10 import java.time.LocalDateTime;
11 11 import java.util.List;
12 12  
13   -@Schema(title = "管理后台 - 商品 SPU 详细 Response VO", description = "包括关联的 SKU 等信息")
  13 +@Schema(description = "管理后台 - 商品 SPU 详细 Response VO,包括关联的 SKU 等信息")
14 14 @Data
15 15 @EqualsAndHashCode(callSuper = true)
16 16 @ToString(callSuper = true)
17 17 public class ProductSpuDetailRespVO extends ProductSpuBaseVO {
18 18  
19   - @Schema(title = "主键", required = true, example = "1")
  19 + @Schema(description = "主键", required = true, example = "1")
20 20 private Long id;
21 21  
22   - @Schema(title = "创建时间")
  22 + @Schema(description = "创建时间")
23 23 private LocalDateTime createTime;
24 24  
25 25 /**
... ... @@ -27,7 +27,7 @@ public class ProductSpuDetailRespVO extends ProductSpuBaseVO {
27 27 */
28 28 private List<Sku> skus;
29 29  
30   - @Schema(title = "管理后台 - 商品 SKU 详细 Response VO")
  30 + @Schema(description = "管理后台 - 商品 SKU 详细 Response VO")
31 31 @Data
32 32 @EqualsAndHashCode(callSuper = true)
33 33 @ToString(callSuper = true)
... ... @@ -40,25 +40,25 @@ public class ProductSpuDetailRespVO extends ProductSpuBaseVO {
40 40  
41 41 }
42 42  
43   - @Schema(title = "管理后台 - 商品规格的详细 Response VO")
  43 + @Schema(description = "管理后台 - 商品规格的详细 Response VO")
44 44 @Data
45 45 @EqualsAndHashCode(callSuper = true)
46 46 @ToString(callSuper = true)
47 47 public static class Property extends ProductSkuBaseVO.Property {
48 48  
49   - @Schema(title = "规格的名字", required = true, example = "颜色")
  49 + @Schema(description = "规格的名字", required = true, example = "颜色")
50 50 private String propertyName;
51 51  
52   - @Schema(title = "规格值的名字", required = true, example = "蓝色")
  52 + @Schema(description = "规格值的名字", required = true, example = "蓝色")
53 53 private String valueName;
54 54  
55 55 }
56 56  
57   - @Schema(title = "分类 id 数组,一直递归到一级父节点", example = "4")
  57 + @Schema(description = "分类 id 数组,一直递归到一级父节点", example = "4")
58 58 private Long categoryId;
59 59  
60 60 // TODO @芋艿:在瞅瞅~
61   - @Schema(title = "规格属性修改和详情展示组合", example = "[{\"propertyId\":2,\"name\":\"内存\",\"propertyValues\":[{\"v1\":11,\"v2\":\"64G\"},{\"v1\":10,\"v2\":\"32G\"}]},{\"propertyId\":3,\"name\":\"尺寸\",\"propertyValues\":[{\"v1\":16,\"v2\":\"6.1\"},{\"v1\":15,\"v2\":\"5.7\"}]}]")
  61 + @Schema(description = "规格属性修改和详情展示组合", example = "[{\"propertyId\":2,\"name\":\"内存\",\"propertyValues\":[{\"v1\":11,\"v2\":\"64G\"},{\"v1\":10,\"v2\":\"32G\"}]},{\"propertyId\":3,\"name\":\"尺寸\",\"propertyValues\":[{\"v1\":16,\"v2\":\"6.1\"},{\"v1\":15,\"v2\":\"5.7\"}]}]")
62 62 private List<ProductPropertyViewRespVO> productPropertyViews;
63 63  
64 64 }
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/spu/vo/ProductSpuPageReqVO.java
... ... @@ -6,40 +6,40 @@ import lombok.Data;
6 6 import lombok.EqualsAndHashCode;
7 7 import lombok.ToString;
8 8  
9   -@Schema(title = "管理后台 - 商品 SPU 分页 Request VO")
  9 +@Schema(description = "管理后台 - 商品 SPU 分页 Request VO")
10 10 @Data
11 11 @EqualsAndHashCode(callSuper = true)
12 12 @ToString(callSuper = true)
13 13 public class ProductSpuPageReqVO extends PageParam {
14 14  
15   - @Schema(title = "商品名称", example = "yutou")
  15 + @Schema(description = "商品名称", example = "yutou")
16 16 private String name;
17 17  
18   - @Schema(title = "商品编码", example = "yudaoyuanma")
  18 + @Schema(description = "商品编码", example = "yudaoyuanma")
19 19 private String code;
20 20  
21   - @Schema(title = "分类id", example = "1")
  21 + @Schema(description = "分类id", example = "1")
22 22 private Long categoryId;
23 23  
24   - @Schema(title = "商品品牌编号", example = "1")
  24 + @Schema(description = "商品品牌编号", example = "1")
25 25 private Long brandId;
26 26  
27   - @Schema(title = "上下架状态", example = "1", description = "参见 ProductSpuStatusEnum 枚举值")
  27 + @Schema(description = "上下架状态,参见 ProductSpuStatusEnum 枚举值", example = "1")
28 28 private Integer status;
29 29  
30   - @Schema(title = "销量最小值", example = "1")
  30 + @Schema(description = "销量最小值", example = "1")
31 31 private Integer salesCountMin;
32 32  
33   - @Schema(title = "销量最大值", example = "1024")
  33 + @Schema(description = "销量最大值", example = "1024")
34 34 private Integer salesCountMax;
35 35  
36   - @Schema(title = "市场价最小值", example = "1")
  36 + @Schema(description = "市场价最小值", example = "1")
37 37 private Integer marketPriceMin;
38 38  
39   - @Schema(title = "市场价最大值", example = "1024")
  39 + @Schema(description = "市场价最大值", example = "1024")
40 40 private Integer marketPriceMax;
41 41  
42   - @Schema(title = "是否库存告警", example = "true")
  42 + @Schema(description = "是否库存告警", example = "true")
43 43 private Boolean alarmStock;
44 44  
45 45 }
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/spu/vo/ProductSpuRespVO.java
... ... @@ -8,16 +8,16 @@ import lombok.ToString;
8 8 import java.time.LocalDateTime;
9 9 import java.util.List;
10 10  
11   -@Schema(title = "管理后台 - 商品 SPU Response VO")
  11 +@Schema(description = "管理后台 - 商品 SPU Response VO")
12 12 @Data
13 13 @EqualsAndHashCode(callSuper = true)
14 14 @ToString(callSuper = true)
15 15 public class ProductSpuRespVO extends ProductSpuBaseVO {
16 16  
17   - @Schema(title = "主键", required = true, example = "1")
  17 + @Schema(description = "主键", required = true, example = "1")
18 18 private Long id;
19 19  
20   - @Schema(title = "创建时间")
  20 + @Schema(description = "创建时间")
21 21 private LocalDateTime createTime;
22 22  
23 23 }
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/spu/vo/ProductSpuSimpleRespVO.java
... ... @@ -5,22 +5,22 @@ import lombok.Data;
5 5 import lombok.EqualsAndHashCode;
6 6 import lombok.ToString;
7 7  
8   -@Schema(title = "管理后台 - 商品 SPU 精简 Response VO")
  8 +@Schema(description = "管理后台 - 商品 SPU 精简 Response VO")
9 9 @Data
10 10 @EqualsAndHashCode(callSuper = true)
11 11 @ToString(callSuper = true)
12 12 public class ProductSpuSimpleRespVO extends ProductSpuBaseVO {
13 13  
14   - @Schema(title = "主键", required = true, example = "1")
  14 + @Schema(description = "主键", required = true, example = "1")
15 15 private Long id;
16 16  
17   - @Schema(title = "商品名称", required = true, example = "芋道")
  17 + @Schema(description = "商品名称", required = true, example = "芋道")
18 18 private String name;
19 19  
20   - @Schema(title = " 最小价格,单位使用:分", required = true, example = "1024")
  20 + @Schema(description = " 最小价格,单位使用:分", required = true, example = "1024")
21 21 private Integer minPrice;
22 22  
23   - @Schema(title = "最大价格,单位使用:分", required = true, example = "1024")
  23 + @Schema(description = "最大价格,单位使用:分", required = true, example = "1024")
24 24 private Integer maxPrice;
25 25  
26 26 }
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/spu/vo/ProductSpuUpdateReqVO.java
... ... @@ -10,13 +10,13 @@ import javax.validation.Valid;
10 10 import javax.validation.constraints.NotNull;
11 11 import java.util.List;
12 12  
13   -@Schema(title = "管理后台 - 商品 SPU 更新 Request VO")
  13 +@Schema(description = "管理后台 - 商品 SPU 更新 Request VO")
14 14 @Data
15 15 @EqualsAndHashCode(callSuper = true)
16 16 @ToString(callSuper = true)
17 17 public class ProductSpuUpdateReqVO extends ProductSpuBaseVO {
18 18  
19   - @Schema(title = "商品编号", required = true, example = "1")
  19 + @Schema(description = "商品编号", required = true, example = "1")
20 20 @NotNull(message = "商品编号不能为空")
21 21 private Long id;
22 22  
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/app/category/vo/AppCategoryRespVO.java
... ... @@ -7,21 +7,21 @@ import javax.validation.constraints.NotBlank;
7 7 import javax.validation.constraints.NotNull;
8 8  
9 9 @Data
10   -@Schema(title = "用户 APP - 商品分类 Response VO")
  10 +@Schema(description = "用户 APP - 商品分类 Response VO")
11 11 public class AppCategoryRespVO {
12 12  
13   - @Schema(title = "分类编号", required = true, example = "2")
  13 + @Schema(description = "分类编号", required = true, example = "2")
14 14 private Long id;
15 15  
16   - @Schema(title = "父分类编号", required = true, example = "1")
  16 + @Schema(description = "父分类编号", required = true, example = "1")
17 17 @NotNull(message = "父分类编号不能为空")
18 18 private Long parentId;
19 19  
20   - @Schema(title = "分类名称", required = true, example = "办公文具")
  20 + @Schema(description = "分类名称", required = true, example = "办公文具")
21 21 @NotBlank(message = "分类名称不能为空")
22 22 private String name;
23 23  
24   - @Schema(title = "分类图片", required = true)
  24 + @Schema(description = "分类图片", required = true)
25 25 @NotBlank(message = "分类图片不能为空")
26 26 private String picUrl;
27 27  
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/app/spu/vo/AppSpuPageReqVO.java
... ... @@ -6,12 +6,12 @@ import lombok.Data;
6 6 import lombok.EqualsAndHashCode;
7 7 import lombok.ToString;
8 8  
9   -@Schema(title = "App - 商品spu分页 Request VO")
  9 +@Schema(description = "App - 商品spu分页 Request VO")
10 10 @Data
11 11 @EqualsAndHashCode(callSuper = true)
12 12 @ToString(callSuper = true)
13 13 public class AppSpuPageReqVO extends PageParam {
14 14  
15   - @Schema(title = "分类id")
  15 + @Schema(description = "分类id")
16 16 private Long categoryId;
17 17 }
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/app/spu/vo/AppSpuPageRespVO.java
... ... @@ -6,46 +6,46 @@ import lombok.Data;
6 6 import javax.validation.constraints.NotNull;
7 7 import java.util.List;
8 8  
9   -@Schema(title = "App - 商品spu分页 Request VO")
  9 +@Schema(description = "App - 商品spu分页 Request VO")
10 10 @Data
11 11 public class AppSpuPageRespVO {
12 12  
13   - @Schema(title = "主键", required = true, example = "1")
  13 + @Schema(description = "主键", required = true, example = "1")
14 14 private Long id;
15 15  
16   - @Schema(title = "商品名称")
  16 + @Schema(description = "商品名称")
17 17 private String name;
18 18  
19   - @Schema(title = "卖点", required = true)
  19 + @Schema(description = "卖点", required = true)
20 20 @NotNull(message = "卖点不能为空")
21 21 private String sellPoint;
22 22  
23   - @Schema(title = "描述", required = true)
  23 + @Schema(description = "描述", required = true)
24 24 @NotNull(message = "描述不能为空")
25 25 private String description;
26 26  
27   - @Schema(title = "分类id", required = true)
  27 + @Schema(description = "分类id", required = true)
28 28 @NotNull(message = "分类id不能为空")
29 29 private Long categoryId;
30 30  
31   - @Schema(title = "商品主图地址,* 数组,以逗号分隔,最多上传15张", required = true)
  31 + @Schema(description = "商品主图地址,* 数组,以逗号分隔,最多上传15张", required = true)
32 32 @NotNull(message = "商品主图地址,* 数组,以逗号分隔,最多上传15张不能为空")
33 33 private List<String> picUrls;
34 34  
35   - @Schema(title = "排序字段", required = true)
  35 + @Schema(description = "排序字段", required = true)
36 36 @NotNull(message = "排序字段不能为空")
37 37 private Integer sort;
38 38  
39   - @Schema(title = "点赞初始人数")
  39 + @Schema(description = "点赞初始人数")
40 40 private Integer likeCount;
41 41  
42   - @Schema(title = "价格 单位使用:分")
  42 + @Schema(description = "价格 单位使用:分")
43 43 private Integer price;
44 44  
45   - @Schema(title = "库存数量")
  45 + @Schema(description = "库存数量")
46 46 private Integer quantity;
47 47  
48   - @Schema(title = "上下架状态: 0 上架(开启) 1 下架(禁用)")
  48 + @Schema(description = "上下架状态: 0 上架(开启) 1 下架(禁用)")
49 49 private Integer status;
50 50  
51 51 }
... ...
yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/app/spu/vo/AppSpuRespVO.java
... ... @@ -12,7 +12,7 @@ import lombok.EqualsAndHashCode;
12 12 *
13 13 * @author LuoWenFeng
14 14 */
15   -@Schema(title = "App - 商品spu Response VO")
  15 +@Schema(description = "App - 商品spu Response VO")
16 16 @Data
17 17 @EqualsAndHashCode(callSuper = true)
18 18 public class AppSpuRespVO extends ProductSpuRespVO {
... ...
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/admin/banner/vo/BannerBaseVO.java
... ... @@ -15,28 +15,28 @@ import javax.validation.constraints.NotNull;
15 15 @Data
16 16 public class BannerBaseVO {
17 17  
18   - @Schema(title = "标题", required = true)
  18 + @Schema(description = "标题", required = true)
19 19 @NotNull(message = "标题不能为空")
20 20 private String title;
21 21  
22   - @Schema(title = "跳转链接", required = true)
  22 + @Schema(description = "跳转链接", required = true)
23 23 @NotNull(message = "跳转链接不能为空")
24 24 private String url;
25 25  
26   - @Schema(title = "图片地址", required = true)
  26 + @Schema(description = "图片地址", required = true)
27 27 @NotNull(message = "图片地址不能为空")
28 28 private String picUrl;
29 29  
30   - @Schema(title = "排序", required = true)
  30 + @Schema(description = "排序", required = true)
31 31 @NotNull(message = "排序不能为空")
32 32 private Integer sort;
33 33  
34   - @Schema(title = "状态", required = true)
  34 + @Schema(description = "状态", required = true)
35 35 @NotNull(message = "状态不能为空")
36 36 @InEnum(CommonStatusEnum.class)
37 37 private Integer status;
38 38  
39   - @Schema(title = "备注")
  39 + @Schema(description = "备注")
40 40 private String memo;
41 41  
42 42 }
... ...
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/admin/banner/vo/BannerCreateReqVO.java
... ... @@ -7,7 +7,7 @@ import lombok.ToString;
7 7 /**
8 8 * @author xia
9 9 */
10   -@Schema(title = "管理后台 - Banner 创建 Request VO")
  10 +@Schema(description = "管理后台 - Banner 创建 Request VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
... ...
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/admin/banner/vo/BannerPageReqVO.java
... ... @@ -16,22 +16,22 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_
16 16 /**
17 17 * @author xia
18 18 */
19   -@Schema(title = "管理后台 - Banner 分页 Request VO")
  19 +@Schema(description = "管理后台 - Banner 分页 Request VO")
20 20 @Data
21 21 @EqualsAndHashCode(callSuper = true)
22 22 @ToString(callSuper = true)
23 23 public class BannerPageReqVO extends PageParam {
24 24  
25   - @Schema(title = "标题")
  25 + @Schema(description = "标题")
26 26 private String title;
27 27  
28 28  
29   - @Schema(title = "状态")
  29 + @Schema(description = "状态")
30 30 @InEnum(CommonStatusEnum.class)
31 31 private Integer status;
32 32  
33 33 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
34   - @Schema(title = "创建时间")
  34 + @Schema(description = "创建时间")
35 35 private LocalDateTime[] createTime;
36 36  
37 37 }
... ...
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/admin/banner/vo/BannerRespVO.java
... ... @@ -10,16 +10,16 @@ import java.time.LocalDateTime;
10 10 /**
11 11 * @author xia
12 12 */
13   -@Schema(title = "管理后台 - Banner Response VO")
  13 +@Schema(description = "管理后台 - Banner Response VO")
14 14 @Data
15 15 @ToString(callSuper = true)
16 16 public class BannerRespVO extends BannerBaseVO {
17 17  
18   - @Schema(title = "banner编号", required = true)
  18 + @Schema(description = "banner编号", required = true)
19 19 @NotNull(message = "banner编号不能为空")
20 20 private Long id;
21 21  
22   - @Schema(title = "创建时间", required = true)
  22 + @Schema(description = "创建时间", required = true)
23 23 private LocalDateTime createTime;
24 24  
25 25 }
... ...
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/admin/banner/vo/BannerUpdateReqVO.java
... ... @@ -10,13 +10,13 @@ import javax.validation.constraints.NotNull;
10 10 /**
11 11 * @author xia
12 12 */
13   -@Schema(title = "管理后台 - Banner更新 Request VO")
  13 +@Schema(description = "管理后台 - Banner更新 Request VO")
14 14 @Data
15 15 @EqualsAndHashCode(callSuper = true)
16 16 @ToString(callSuper = true)
17 17 public class BannerUpdateReqVO extends BannerBaseVO {
18 18  
19   - @Schema(title = "banner 编号", required = true)
  19 + @Schema(description = "banner 编号", required = true)
20 20 @NotNull(message = "banner 编号不能为空")
21 21 private Long id;
22 22  
... ...
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/admin/coupon/vo/coupon/CouponBaseVO.java
... ... @@ -24,76 +24,76 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.TIME_ZONE_DE
24 24 public class CouponBaseVO {
25 25  
26 26 // ========== 基本信息 BEGIN ==========
27   - @Schema(title = "优惠劵模板编号", required = true, example = "1024")
  27 + @Schema(description = "优惠劵模板编号", required = true, example = "1024")
28 28 @NotNull(message = "优惠劵模板编号不能为空")
29 29 private Integer templateId;
30 30  
31   - @Schema(title = "优惠劵名", required = true, example = "春节送送送")
  31 + @Schema(description = "优惠劵名", required = true, example = "春节送送送")
32 32 @NotNull(message = "优惠劵名不能为空")
33 33 private String name;
34 34  
35   - @Schema(title = "优惠码状态", required = true, example = "1", description = "参见 CouponStatusEnum 枚举")
  35 + @Schema(description = "优惠码状态,参见 CouponStatusEnum 枚举", required = true, example = "1")
36 36 private Integer status;
37 37  
38 38 // ========== 基本信息 END ==========
39 39  
40 40 // ========== 领取情况 BEGIN ==========
41   - @Schema(title = "用户编号", required = true, example = "1")
  41 + @Schema(description = "用户编号", required = true, example = "1")
42 42 @NotNull(message = "用户编号不能为空")
43 43 private Long userId;
44 44  
45   - @Schema(title = "领取方式", required = true, example = "1", description = "参见 CouponTakeTypeEnum 枚举类")
  45 + @Schema(description = "领取方式,参见 CouponTakeTypeEnum 枚举类", required = true, example = "1")
46 46 @NotNull(message = "领取方式不能为空")
47 47 private Integer takeType;
48 48 // ========== 领取情况 END ==========
49 49  
50 50 // ========== 使用规则 BEGIN ==========
51   - @Schema(title = "是否设置满多少金额可用", required = true, example = "100", description = "单位:分;0 - 不限制")
  51 + @Schema(description = "是否设置满多少金额可用,单位:分;0 - 不限制", required = true, example = "100")
52 52 @NotNull(message = "是否设置满多少金额可用不能为空")
53 53 private Integer usePrice;
54 54  
55   - @Schema(title = "固定日期 - 生效开始时间")
  55 + @Schema(description = "固定日期 - 生效开始时间")
56 56 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
57 57 @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND, timezone = TIME_ZONE_DEFAULT)
58 58 private LocalDateTime validStartTime;
59 59  
60   - @Schema(title = "固定日期 - 生效结束时间")
  60 + @Schema(description = "固定日期 - 生效结束时间")
61 61 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
62 62 @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND, timezone = TIME_ZONE_DEFAULT)
63 63 private LocalDateTime validEndTime;
64 64  
65   - @Schema(title = "商品范围", required = true, example = "1", description = "参见 PromotionProductScopeEnum 枚举类")
  65 + @Schema(description = "商品范围,参见 PromotionProductScopeEnum 枚举类", required = true, example = "1")
66 66 @NotNull(message = "商品范围不能为空")
67 67 @InEnum(PromotionProductScopeEnum.class)
68 68 private Integer productScope;
69 69  
70   - @Schema(title = "商品 SPU 编号的数组", example = "1,3")
  70 + @Schema(description = "商品 SPU 编号的数组", example = "1,3")
71 71 private List<Long> productSpuIds;
72 72 // ========== 使用规则 END ==========
73 73  
74 74 // ========== 使用效果 BEGIN ==========
75   - @Schema(title = "优惠类型", required = true, example = "1", description = "参见 PromotionDiscountTypeEnum 枚举")
  75 + @Schema(description = "优惠类型,参见 PromotionDiscountTypeEnum 枚举", required = true, example = "1")
76 76 @NotNull(message = "优惠类型不能为空")
77 77 @InEnum(PromotionDiscountTypeEnum.class)
78 78 private Integer discountType;
79 79  
80   - @Schema(title = "折扣百分比", example = "80", description = "例如说,80% 为 80")
  80 + @Schema(description = "折扣百分比,例如说,80% 为 80", example = "80")
81 81 private Integer discountPercent;
82 82  
83   - @Schema(title = "优惠金额", example = "10", description = "单位:分")
  83 + @Schema(description = "优惠金额,单位:分", example = "10")
84 84 @Min(value = 0, message = "优惠金额需要大于等于 0")
85 85 private Integer discountPrice;
86 86  
87   - @Schema(title = "折扣上限", example = "100", description = "单位:分,仅在 discountType 为 PERCENT 使用")
  87 + @Schema(description = "折扣上限,单位:分,仅在 discountType 为 PERCENT 使用", example = "100")
88 88 private Integer discountLimitPrice;
89 89 // ========== 使用效果 END ==========
90 90  
91 91 // ========== 使用情况 BEGIN ==========
92 92  
93   - @Schema(title = "使用订单号", example = "4096")
  93 + @Schema(description = "使用订单号", example = "4096")
94 94 private Long useOrderId;
95 95  
96   - @Schema(title = "使用时间")
  96 + @Schema(description = "使用时间")
97 97 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
98 98 @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND, timezone = TIME_ZONE_DEFAULT)
99 99 private LocalDateTime useTime;
... ...
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/admin/coupon/vo/coupon/CouponPageItemRespVO.java
... ... @@ -5,13 +5,13 @@ import lombok.Data;
5 5 import lombok.EqualsAndHashCode;
6 6 import lombok.ToString;
7 7  
8   -@Schema(title = "管理后台 - 优惠劵分页的每一项 Response VO")
  8 +@Schema(description = "管理后台 - 优惠劵分页的每一项 Response VO")
9 9 @Data
10 10 @EqualsAndHashCode(callSuper = true)
11 11 @ToString(callSuper = true)
12 12 public class CouponPageItemRespVO extends CouponRespVO {
13 13  
14   - @Schema(title = "用户昵称", example = "老芋艿")
  14 + @Schema(description = "用户昵称", example = "老芋艿")
15 15 private String nickname;
16 16  
17 17 }
... ...
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/admin/coupon/vo/coupon/CouponPageReqVO.java
... ... @@ -11,23 +11,23 @@ import java.time.LocalDateTime;
11 11  
12 12 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
13 13  
14   -@Schema(title = "管理后台 - 优惠劵分页 Request VO")
  14 +@Schema(description = "管理后台 - 优惠劵分页 Request VO")
15 15 @Data
16 16 @EqualsAndHashCode(callSuper = true)
17 17 @ToString(callSuper = true)
18 18 public class CouponPageReqVO extends PageParam {
19 19  
20   - @Schema(title = "优惠劵模板编号", example = "2048")
  20 + @Schema(description = "优惠劵模板编号", example = "2048")
21 21 private Long templateId;
22 22  
23   - @Schema(title = "优惠码状态", example = "1", description = "参见 CouponStatusEnum 枚举")
  23 + @Schema(description = "优惠码状态,参见 CouponStatusEnum 枚举", example = "1")
24 24 private Integer status;
25 25  
26   - @Schema(title = "创建时间")
  26 + @Schema(description = "创建时间")
27 27 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
28 28 private LocalDateTime[] createTime;
29 29  
30   - @Schema(title = "用户昵称", example = "芋艿", description = "模糊匹配")
  30 + @Schema(description = "用户昵称,模糊匹配", example = "芋艿")
31 31 private String nickname;
32 32  
33 33 }
... ...
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/admin/coupon/vo/coupon/CouponRespVO.java
... ... @@ -7,16 +7,16 @@ import lombok.ToString;
7 7  
8 8 import java.time.LocalDateTime;
9 9  
10   -@Schema(title = "管理后台 - 优惠劵 Response VO")
  10 +@Schema(description = "管理后台 - 优惠劵 Response VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class CouponRespVO extends CouponBaseVO {
15 15  
16   - @Schema(title = "优惠劵编号", required = true, example = "1024")
  16 + @Schema(description = "优惠劵编号", required = true, example = "1024")
17 17 private Long id;
18 18  
19   - @Schema(title = "创建时间", required = true)
  19 + @Schema(description = "创建时间", required = true)
20 20 private LocalDateTime createTime;
21 21  
22 22 }
... ...
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/admin/coupon/vo/template/CouponTemplateBaseVO.java
... ... @@ -29,70 +29,70 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.TIME_ZONE_DE
29 29 @Data
30 30 public class CouponTemplateBaseVO {
31 31  
32   - @Schema(title = "优惠劵名", required = true, example = "春节送送送")
  32 + @Schema(description = "优惠劵名", required = true, example = "春节送送送")
33 33 @NotNull(message = "优惠劵名不能为空")
34 34 private String name;
35 35  
36   - @Schema(title = "发行总量", required = true, example = "1024", description = "-1 - 则表示不限制发放数量")
  36 + @Schema(description = "发行总量,-1 - 则表示不限制发放数量", required = true, example = "1024")
37 37 @NotNull(message = "发行总量不能为空")
38 38 private Integer totalCount;
39 39  
40   - @Schema(title = "每人限领个数", required = true, example = "66", description = "-1 - 则表示不限制")
  40 + @Schema(description = "每人限领个数,-1 - 则表示不限制", required = true, example = "66")
41 41 @NotNull(message = "每人限领个数不能为空")
42 42 private Integer takeLimitCount;
43 43  
44   - @Schema(title = "领取方式", required = true, example = "1", description = "参见 CouponTakeTypeEnum 枚举类")
  44 + @Schema(description = "领取方式,参见 CouponTakeTypeEnum 枚举类", required = true, example = "1")
45 45 @NotNull(message = "领取方式不能为空")
46 46 private Integer takeType;
47 47  
48   - @Schema(title = "是否设置满多少金额可用", required = true, example = "100", description = "单位:分;0 - 不限制")
  48 + @Schema(description = "是否设置满多少金额可用,单位:分;0 - 不限制", required = true, example = "100")
49 49 @NotNull(message = "是否设置满多少金额可用不能为空")
50 50 private Integer usePrice;
51 51  
52   - @Schema(title = "商品范围", required = true, example = "1", description = "参见 PromotionProductScopeEnum 枚举类")
  52 + @Schema(description = "商品范围,参见 PromotionProductScopeEnum 枚举类", required = true, example = "1")
53 53 @NotNull(message = "商品范围不能为空")
54 54 @InEnum(PromotionProductScopeEnum.class)
55 55 private Integer productScope;
56 56  
57   - @Schema(title = "商品 SPU 编号的数组", example = "1,3")
  57 + @Schema(description = "商品 SPU 编号的数组", example = "1,3")
58 58 private List<Long> productSpuIds;
59 59  
60   - @Schema(title = "生效日期类型", required = true, example = "1")
  60 + @Schema(description = "生效日期类型", required = true, example = "1")
61 61 @NotNull(message = "生效日期类型不能为空")
62 62 @InEnum(CouponTemplateValidityTypeEnum.class)
63 63 private Integer validityType;
64 64  
65   - @Schema(title = "固定日期 - 生效开始时间")
  65 + @Schema(description = "固定日期 - 生效开始时间")
66 66 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
67 67 @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND, timezone = TIME_ZONE_DEFAULT)
68 68 private LocalDateTime validStartTime;
69 69  
70   - @Schema(title = "固定日期 - 生效结束时间")
  70 + @Schema(description = "固定日期 - 生效结束时间")
71 71 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
72 72 @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND, timezone = TIME_ZONE_DEFAULT)
73 73 private LocalDateTime validEndTime;
74 74  
75   - @Schema(title = "领取日期 - 开始天数")
  75 + @Schema(description = "领取日期 - 开始天数")
76 76 @Min(value = 0L, message = "开始天数必须大于 0")
77 77 private Integer fixedStartTerm;
78 78  
79   - @Schema(title = "领取日期 - 结束天数")
  79 + @Schema(description = "领取日期 - 结束天数")
80 80 @Min(value = 1L, message = "开始天数必须大于 1")
81 81 private Integer fixedEndTerm;
82 82  
83   - @Schema(title = "优惠类型", required = true, example = "1", description = "参见 PromotionDiscountTypeEnum 枚举")
  83 + @Schema(description = "优惠类型,参见 PromotionDiscountTypeEnum 枚举", required = true, example = "1")
84 84 @NotNull(message = "优惠类型不能为空")
85 85 @InEnum(PromotionDiscountTypeEnum.class)
86 86 private Integer discountType;
87 87  
88   - @Schema(title = "折扣百分比", example = "80", description = "例如说,80% 为 80")
  88 + @Schema(description = "折扣百分比,例如说,80% 为 80", example = "80")
89 89 private Integer discountPercent;
90 90  
91   - @Schema(title = "优惠金额", example = "10", description = "单位:分")
  91 + @Schema(description = "优惠金额,单位:分", example = "10")
92 92 @Min(value = 0, message = "优惠金额需要大于等于 0")
93 93 private Integer discountPrice;
94 94  
95   - @Schema(title = "折扣上限", example = "100", description = "单位:分,仅在 discountType 为 PERCENT 使用")
  95 + @Schema(description = "折扣上限,单位:分,仅在 discountType 为 PERCENT 使用", example = "100")
96 96 private Integer discountLimitPrice;
97 97  
98 98 @AssertTrue(message = "商品 SPU 编号的数组不能为空")
... ...
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/admin/coupon/vo/template/CouponTemplateCreateReqVO.java
... ... @@ -4,7 +4,7 @@ import lombok.Data;
4 4 import lombok.EqualsAndHashCode;
5 5 import lombok.ToString;
6 6  
7   -@Schema(title = "管理后台 - 优惠劵模板创建 Request VO")
  7 +@Schema(description = "管理后台 - 优惠劵模板创建 Request VO")
8 8 @Data
9 9 @EqualsAndHashCode(callSuper = true)
10 10 @ToString(callSuper = true)
... ...
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/admin/coupon/vo/template/CouponTemplatePageReqVO.java
... ... @@ -11,22 +11,22 @@ import java.time.LocalDateTime;
11 11  
12 12 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
13 13  
14   -@Schema(title = "管理后台 - 优惠劵模板分页 Request VO")
  14 +@Schema(description = "管理后台 - 优惠劵模板分页 Request VO")
15 15 @Data
16 16 @EqualsAndHashCode(callSuper = true)
17 17 @ToString(callSuper = true)
18 18 public class CouponTemplatePageReqVO extends PageParam {
19 19  
20   - @Schema(title = "优惠劵名", example = "你好")
  20 + @Schema(description = "优惠劵名", example = "你好")
21 21 private String name;
22 22  
23   - @Schema(title = "状态", example = "1", description = "参见 CommonStatusEnum 枚举类")
  23 + @Schema(description = "状态,参见 CommonStatusEnum 枚举类", example = "1")
24 24 private Integer status;
25 25  
26   - @Schema(title = "优惠类型", example = "1", description = "参见 PromotionDiscountTypeEnum 枚举")
  26 + @Schema(description = "优惠类型,参见 PromotionDiscountTypeEnum 枚举", example = "1")
27 27 private Integer discountType;
28 28  
29   - @Schema(title = "创建时间")
  29 + @Schema(description = "创建时间")
30 30 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
31 31 private LocalDateTime[] createTime;
32 32  
... ...
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/admin/coupon/vo/template/CouponTemplateRespVO.java
... ... @@ -9,26 +9,26 @@ import lombok.ToString;
9 9  
10 10 import java.time.LocalDateTime;
11 11  
12   -@Schema(title = "管理后台 - 优惠劵模板 Response VO")
  12 +@Schema(description = "管理后台 - 优惠劵模板 Response VO")
13 13 @Data
14 14 @EqualsAndHashCode(callSuper = true)
15 15 @ToString(callSuper = true)
16 16 public class CouponTemplateRespVO extends CouponTemplateBaseVO {
17 17  
18   - @Schema(title = "模板编号", required = true, example = "1024")
  18 + @Schema(description = "模板编号", required = true, example = "1024")
19 19 private Long id;
20 20  
21   - @Schema(title = "状态", required = true, example = "1")
  21 + @Schema(description = "状态", required = true, example = "1")
22 22 @InEnum(CommonStatusEnum.class)
23 23 private Integer status;
24 24  
25   - @Schema(title = "领取优惠券的数量", required = true, example = "1024")
  25 + @Schema(description = "领取优惠券的数量", required = true, example = "1024")
26 26 private Integer takeCount;
27 27  
28   - @Schema(title = "使用优惠券的次数", required = true, example = "2048")
  28 + @Schema(description = "使用优惠券的次数", required = true, example = "2048")
29 29 private Integer useCount;
30 30  
31   - @Schema(title = "创建时间", required = true)
  31 + @Schema(description = "创建时间", required = true)
32 32 private LocalDateTime createTime;
33 33  
34 34 }
... ...
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/admin/coupon/vo/template/CouponTemplateUpdateReqVO.java
... ... @@ -7,13 +7,13 @@ import lombok.ToString;
7 7  
8 8 import javax.validation.constraints.NotNull;
9 9  
10   -@Schema(title = "管理后台 - 优惠劵模板更新 Request VO")
  10 +@Schema(description = "管理后台 - 优惠劵模板更新 Request VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class CouponTemplateUpdateReqVO extends CouponTemplateBaseVO {
15 15  
16   - @Schema(title = "模板编号", required = true, example = "1024")
  16 + @Schema(description = "模板编号", required = true, example = "1024")
17 17 @NotNull(message = "模板编号不能为空")
18 18 private Long id;
19 19  
... ...
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/admin/coupon/vo/template/CouponTemplateUpdateStatusReqVO.java
... ... @@ -7,15 +7,15 @@ import lombok.Data;
7 7  
8 8 import javax.validation.constraints.NotNull;
9 9  
10   -@Schema(title = "管理后台 - 优惠劵模板更新状态 Request VO")
  10 +@Schema(description = "管理后台 - 优惠劵模板更新状态 Request VO")
11 11 @Data
12 12 public class CouponTemplateUpdateStatusReqVO {
13 13  
14   - @Schema(title = "优惠劵模板编号", required = true, example = "1024")
  14 + @Schema(description = "优惠劵模板编号", required = true, example = "1024")
15 15 @NotNull(message = "优惠劵模板编号不能为空")
16 16 private Long id;
17 17  
18   - @Schema(title = "状态", required = true, example = "1", description = "见 CommonStatusEnum 枚举")
  18 + @Schema(description = "状态,见 CommonStatusEnum 枚举", required = true, example = "1")
19 19 @NotNull(message = "状态不能为空")
20 20 @InEnum(value = CommonStatusEnum.class, message = "修改状态必须是 {value}")
21 21 private Integer status;
... ...
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/admin/discount/vo/DiscountActivityBaseVO.java
... ... @@ -22,44 +22,44 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_
22 22 @Data
23 23 public class DiscountActivityBaseVO {
24 24  
25   - @Schema(title = "活动标题", required = true, example = "一个标题")
  25 + @Schema(description = "活动标题", required = true, example = "一个标题")
26 26 @NotNull(message = "活动标题不能为空")
27 27 private String name;
28 28  
29   - @Schema(title = "开始时间", required = true)
  29 + @Schema(description = "开始时间", required = true)
30 30 @NotNull(message = "开始时间不能为空")
31 31 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
32 32 private LocalDateTime startTime;
33 33  
34   - @Schema(title = "结束时间", required = true)
  34 + @Schema(description = "结束时间", required = true)
35 35 @NotNull(message = "结束时间不能为空")
36 36 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
37 37 private LocalDateTime endTime;
38 38  
39   - @Schema(title = "备注", example = "我是备注")
  39 + @Schema(description = "备注", example = "我是备注")
40 40 private String remark;
41 41  
42   - @Schema(title = "商品")
  42 + @Schema(description = "商品")
43 43 @Data
44 44 public static class Product {
45 45  
46   - @Schema(title = "商品 SPU 编号", required = true, example = "1")
  46 + @Schema(description = "商品 SPU 编号", required = true, example = "1")
47 47 @NotNull(message = "商品 SPU 编号不能为空")
48 48 private Long spuId;
49 49  
50   - @Schema(title = "商品 SKU 编号", required = true, example = "1")
  50 + @Schema(description = "商品 SKU 编号", required = true, example = "1")
51 51 @NotNull(message = "商品 SKU 编号不能为空")
52 52 private Long skuId;
53 53  
54   - @Schema(title = "优惠类型", required = true, example = "1", description = "参见 PromotionDiscountTypeEnum 枚举")
  54 + @Schema(description = "优惠类型,参见 PromotionDiscountTypeEnum 枚举", required = true, example = "1")
55 55 @NotNull(message = "优惠类型不能为空")
56 56 @InEnum(PromotionDiscountTypeEnum.class)
57 57 private Integer discountType;
58 58  
59   - @Schema(title = "折扣百分比", example = "80", description = "例如说,80% 为 80")
  59 + @Schema(description = "折扣百分比,例如说,80% 为 80", example = "80")
60 60 private Integer discountPercent;
61 61  
62   - @Schema(title = "优惠金额", example = "10", description = "单位:分")
  62 + @Schema(description = "优惠金额,单位:分", example = "10")
63 63 @Min(value = 0, message = "优惠金额需要大于等于 0")
64 64 private Integer discountPrice;
65 65  
... ...
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/admin/discount/vo/DiscountActivityCreateReqVO.java
... ... @@ -8,7 +8,7 @@ import javax.validation.Valid;
8 8 import javax.validation.constraints.NotEmpty;
9 9 import java.util.List;
10 10  
11   -@Schema(title = "管理后台 - 限时折扣活动创建 Request VO")
  11 +@Schema(description = "管理后台 - 限时折扣活动创建 Request VO")
12 12 @Data
13 13 @EqualsAndHashCode(callSuper = true)
14 14 @ToString(callSuper = true)
... ...
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/admin/discount/vo/DiscountActivityDetailRespVO.java
... ... @@ -6,7 +6,7 @@ import lombok.ToString;
6 6  
7 7 import java.util.List;
8 8  
9   -@Schema(title = "管理后台 - 限时折扣活动的详细 Response VO")
  9 +@Schema(description = "管理后台 - 限时折扣活动的详细 Response VO")
10 10 @Data
11 11 @EqualsAndHashCode(callSuper = true)
12 12 @ToString(callSuper = true)
... ...
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/admin/discount/vo/DiscountActivityPageReqVO.java
... ... @@ -11,19 +11,19 @@ import java.time.LocalDateTime;
11 11  
12 12 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
13 13  
14   -@Schema(title = "管理后台 - 限时折扣活动分页 Request VO")
  14 +@Schema(description = "管理后台 - 限时折扣活动分页 Request VO")
15 15 @Data
16 16 @EqualsAndHashCode(callSuper = true)
17 17 @ToString(callSuper = true)
18 18 public class DiscountActivityPageReqVO extends PageParam {
19 19  
20   - @Schema(title = "活动标题", example = "一个标题")
  20 + @Schema(description = "活动标题", example = "一个标题")
21 21 private String name;
22 22  
23   - @Schema(title = "活动状态", example = "1")
  23 + @Schema(description = "活动状态", example = "1")
24 24 private Integer status;
25 25  
26   - @Schema(title = "创建时间")
  26 + @Schema(description = "创建时间")
27 27 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
28 28 private LocalDateTime[] createTime;
29 29  
... ...
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/admin/discount/vo/DiscountActivityRespVO.java
... ... @@ -8,20 +8,20 @@ import lombok.ToString;
8 8 import javax.validation.constraints.NotNull;
9 9 import java.time.LocalDateTime;
10 10  
11   -@Schema(title = "管理后台 - 限时折扣活动 Response VO")
  11 +@Schema(description = "管理后台 - 限时折扣活动 Response VO")
12 12 @Data
13 13 @EqualsAndHashCode(callSuper = true)
14 14 @ToString(callSuper = true)
15 15 public class DiscountActivityRespVO extends DiscountActivityBaseVO {
16 16  
17   - @Schema(title = "活动编号", required = true, example = "1024")
  17 + @Schema(description = "活动编号", required = true, example = "1024")
18 18 private Long id;
19 19  
20   - @Schema(title = "活动状态", required = true, example = "1")
  20 + @Schema(description = "活动状态", required = true, example = "1")
21 21 @NotNull(message = "活动状态不能为空")
22 22 private Integer status;
23 23  
24   - @Schema(title = "创建时间", required = true)
  24 + @Schema(description = "创建时间", required = true)
25 25 private LocalDateTime createTime;
26 26  
27 27 }
... ...
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/admin/discount/vo/DiscountActivityUpdateReqVO.java
... ... @@ -10,13 +10,13 @@ import javax.validation.constraints.NotEmpty;
10 10 import javax.validation.constraints.NotNull;
11 11 import java.util.List;
12 12  
13   -@Schema(title = "管理后台 - 限时折扣活动更新 Request VO")
  13 +@Schema(description = "管理后台 - 限时折扣活动更新 Request VO")
14 14 @Data
15 15 @EqualsAndHashCode(callSuper = true)
16 16 @ToString(callSuper = true)
17 17 public class DiscountActivityUpdateReqVO extends DiscountActivityBaseVO {
18 18  
19   - @Schema(title = "活动编号", required = true, example = "1024")
  19 + @Schema(description = "活动编号", required = true, example = "1024")
20 20 @NotNull(message = "活动编号不能为空")
21 21 private Long id;
22 22  
... ...
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/admin/reward/vo/RewardActivityBaseVO.java
... ... @@ -25,35 +25,35 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_
25 25 @Data
26 26 public class RewardActivityBaseVO {
27 27  
28   - @Schema(title = "活动标题", required = true, example = "满啦满啦")
  28 + @Schema(description = "活动标题", required = true, example = "满啦满啦")
29 29 @NotNull(message = "活动标题不能为空")
30 30 private String name;
31 31  
32   - @Schema(title = "开始时间", required = true)
  32 + @Schema(description = "开始时间", required = true)
33 33 @NotNull(message = "开始时间不能为空")
34 34 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
35 35 private LocalDateTime startTime;
36 36  
37   - @Schema(title = "结束时间", required = true)
  37 + @Schema(description = "结束时间", required = true)
38 38 @NotNull(message = "结束时间不能为空")
39 39 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
40 40 @Future(message = "结束时间必须大于当前时间")
41 41 private LocalDateTime endTime;
42 42  
43   - @Schema(title = "备注", example = "biubiubiu")
  43 + @Schema(description = "备注", example = "biubiubiu")
44 44 private String remark;
45 45  
46   - @Schema(title = "条件类型", required = true, example = "1")
  46 + @Schema(description = "条件类型", required = true, example = "1")
47 47 @NotNull(message = "条件类型不能为空")
48 48 @InEnum(value = PromotionConditionTypeEnum.class, message = "条件类型必须是 {value}")
49 49 private Integer conditionType;
50 50  
51   - @Schema(title = "商品范围", required = true, example = "1")
  51 + @Schema(description = "商品范围", required = true, example = "1")
52 52 @NotNull(message = "商品范围不能为空")
53 53 @InEnum(value = PromotionConditionTypeEnum.class, message = "商品范围必须是 {value}")
54 54 private Integer productScope;
55 55  
56   - @Schema(title = "商品 SPU 编号的数组", example = "1,2,3")
  56 + @Schema(description = "商品 SPU 编号的数组", example = "1,2,3")
57 57 private List<Long> productSpuIds;
58 58  
59 59 /**
... ... @@ -62,29 +62,29 @@ public class RewardActivityBaseVO {
62 62 @Valid // 校验下子对象
63 63 private List<Rule> rules;
64 64  
65   - @Schema(title = "优惠规则")
  65 + @Schema(description = "优惠规则")
66 66 @Data
67 67 public static class Rule {
68 68  
69   - @Schema(title = "优惠门槛", required = true, example = "100", description = "1. 满 N 元,单位:分; 2. 满 N 件")
  69 + @Schema(description = "优惠门槛,1. 满 N 元,单位:分; 2. 满 N 件", required = true, example = "100")
70 70 @Min(value = 1L, message = "优惠门槛必须大于等于 1")
71 71 private Integer limit;
72 72  
73   - @Schema(title = "优惠价格", required = true, example = "100", description = "单位:分")
  73 + @Schema(description = "优惠价格,单位:分", required = true, example = "100")
74 74 @Min(value = 1L, message = "优惠价格必须大于等于 1")
75 75 private Integer discountPrice;
76 76  
77   - @Schema(title = "是否包邮", required = true, example = "true")
  77 + @Schema(description = "是否包邮", required = true, example = "true")
78 78 private Boolean freeDelivery;
79 79  
80   - @Schema(title = "赠送的积分", required = true, example = "100")
  80 + @Schema(description = "赠送的积分", required = true, example = "100")
81 81 @Min(value = 1L, message = "赠送的积分必须大于等于 1")
82 82 private Integer point;
83 83  
84   - @Schema(title = "赠送的优惠劵编号的数组", example = "1,2,3")
  84 + @Schema(description = "赠送的优惠劵编号的数组", example = "1,2,3")
85 85 private List<Long> couponIds;
86 86  
87   - @Schema(title = "赠送的优惠卷数量的数组", example = "1,2,3")
  87 + @Schema(description = "赠送的优惠卷数量的数组", example = "1,2,3")
88 88 private List<Integer> couponCounts;
89 89  
90 90 @AssertTrue(message = "优惠劵和数量必须一一对应")
... ...
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/admin/reward/vo/RewardActivityCreateReqVO.java
... ... @@ -2,7 +2,7 @@ package cn.iocoder.yudao.module.promotion.controller.admin.reward.vo;
2 2 import io.swagger.v3.oas.annotations.media.Schema;
3 3 import lombok.*;
4 4  
5   -@Schema(title = "管理后台 - 满减送活动创建 Request VO")
  5 +@Schema(description = "管理后台 - 满减送活动创建 Request VO")
6 6 @Data
7 7 @EqualsAndHashCode(callSuper = true)
8 8 @ToString(callSuper = true)
... ...
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/admin/reward/vo/RewardActivityPageReqVO.java
... ... @@ -3,16 +3,16 @@ import io.swagger.v3.oas.annotations.media.Schema;
3 3 import lombok.*;
4 4 import cn.iocoder.yudao.framework.common.pojo.PageParam;
5 5  
6   -@Schema(title = "管理后台 - 满减送活动分页 Request VO")
  6 +@Schema(description = "管理后台 - 满减送活动分页 Request VO")
7 7 @Data
8 8 @EqualsAndHashCode(callSuper = true)
9 9 @ToString(callSuper = true)
10 10 public class RewardActivityPageReqVO extends PageParam {
11 11  
12   - @Schema(title = "活动标题", example = "满啦满啦")
  12 + @Schema(description = "活动标题", example = "满啦满啦")
13 13 private String name;
14 14  
15   - @Schema(title = "活动状态", example = "1")
  15 + @Schema(description = "活动状态", example = "1")
16 16 private Integer status;
17 17  
18 18 }
... ...
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/admin/reward/vo/RewardActivityRespVO.java
... ... @@ -7,19 +7,19 @@ import lombok.ToString;
7 7  
8 8 import java.time.LocalDateTime;
9 9  
10   -@Schema(title = "管理后台 - 满减送活动 Response VO")
  10 +@Schema(description = "管理后台 - 满减送活动 Response VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class RewardActivityRespVO extends RewardActivityBaseVO {
15 15  
16   - @Schema(title = "活动编号", required = true, example = "1024")
  16 + @Schema(description = "活动编号", required = true, example = "1024")
17 17 private Integer id;
18 18  
19   - @Schema(title = "活动状态", required = true, example = "1")
  19 + @Schema(description = "活动状态", required = true, example = "1")
20 20 private Integer status;
21 21  
22   - @Schema(title = "创建时间", required = true)
  22 + @Schema(description = "创建时间", required = true)
23 23 private LocalDateTime createTime;
24 24  
25 25 }
... ...
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/admin/reward/vo/RewardActivityUpdateReqVO.java
... ... @@ -3,13 +3,13 @@ import io.swagger.v3.oas.annotations.media.Schema;
3 3 import lombok.*;
4 4 import javax.validation.constraints.*;
5 5  
6   -@Schema(title = "管理后台 - 满减送活动更新 Request VO")
  6 +@Schema(description = "管理后台 - 满减送活动更新 Request VO")
7 7 @Data
8 8 @EqualsAndHashCode(callSuper = true)
9 9 @ToString(callSuper = true)
10 10 public class RewardActivityUpdateReqVO extends RewardActivityBaseVO {
11 11  
12   - @Schema(title = "活动编号", required = true, example = "1024")
  12 + @Schema(description = "活动编号", required = true, example = "1024")
13 13 @NotNull(message = "活动编号不能为空")
14 14 private Long id;
15 15  
... ...
yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/base/property/AppProductPropertyValueDetailRespVO.java
... ... @@ -3,20 +3,20 @@ package cn.iocoder.yudao.module.trade.controller.app.base.property;
3 3 import io.swagger.v3.oas.annotations.media.Schema;
4 4 import lombok.Data;
5 5  
6   -@Schema(title = "用户 App - 规格 + 规格值 Response VO")
  6 +@Schema(description = "用户 App - 规格 + 规格值 Response VO")
7 7 @Data
8 8 public class AppProductPropertyValueDetailRespVO {
9 9  
10   - @Schema(title = "属性的编号", required = true, example = "1")
  10 + @Schema(description = "属性的编号", required = true, example = "1")
11 11 private Long propertyId;
12 12  
13   - @Schema(title = "属性的名称", required = true, example = "颜色")
  13 + @Schema(description = "属性的名称", required = true, example = "颜色")
14 14 private String propertyName;
15 15  
16   - @Schema(title = "属性值的编号", required = true, example = "1024")
  16 + @Schema(description = "属性值的编号", required = true, example = "1024")
17 17 private Long valueId;
18 18  
19   - @Schema(title = "属性值的名称", required = true, example = "红色")
  19 + @Schema(description = "属性值的名称", required = true, example = "红色")
20 20 private String valueName;
21 21  
22 22 }
... ...
yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/base/sku/AppProductSkuBaseRespVO.java
... ... @@ -14,16 +14,16 @@ import java.util.List;
14 14 @Data
15 15 public class AppProductSkuBaseRespVO {
16 16  
17   - @Schema(title = "主键", required = true, example = "1024")
  17 + @Schema(description = "主键", required = true, example = "1024")
18 18 private Long id;
19 19  
20   - @Schema(title = "商品 SKU 名字", required = true, example = "芋道")
  20 + @Schema(description = "商品 SKU 名字", required = true, example = "芋道")
21 21 private String name;
22 22  
23   - @Schema(title = "图片地址", example = "https://www.iocoder.cn/xx.png")
  23 + @Schema(description = "图片地址", example = "https://www.iocoder.cn/xx.png")
24 24 private String picUrl;
25 25  
26   - @Schema(title = "库存", required = true, example = "1")
  26 + @Schema(description = "库存", required = true, example = "1")
27 27 private Integer stock;
28 28  
29 29 /**
... ...
yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/base/spu/AppProductSpuBaseRespVO.java
... ... @@ -12,13 +12,13 @@ import java.util.List;
12 12 @Data
13 13 public class AppProductSpuBaseRespVO {
14 14  
15   - @Schema(title = "主键", required = true, example = "1024")
  15 + @Schema(description = "主键", required = true, example = "1024")
16 16 private Long id;
17 17  
18   - @Schema(title = "商品 SPU 名字", required = true, example = "芋道")
  18 + @Schema(description = "商品 SPU 名字", required = true, example = "芋道")
19 19 private String name;
20 20  
21   - @Schema(title = "商品主图地址", example = "https://www.iocoder.cn/xx.png")
  21 + @Schema(description = "商品主图地址", example = "https://www.iocoder.cn/xx.png")
22 22 private List<String> picUrls;
23 23  
24 24 }
... ...
yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/cart/vo/AppTradeCartDetailRespVO.java
... ... @@ -6,7 +6,7 @@ import lombok.Data;
6 6  
7 7 import java.util.List;
8 8  
9   -@Schema(title = "用户 App - 用户的购物车明细 Response VO")
  9 +@Schema(description = "用户 App - 用户的购物车明细 Response VO")
10 10 @Data
11 11 public class AppTradeCartDetailRespVO {
12 12  
... ... @@ -20,7 +20,7 @@ public class AppTradeCartDetailRespVO {
20 20 */
21 21 private Order order;
22 22  
23   - @Schema(title = "商品分组", description = "多个商品,参加同一个活动,从而形成分组")
  23 + @Schema(description = "商品分组,多个商品,参加同一个活动,从而形成分组")
24 24 @Data
25 25 public static class ItemGroup {
26 26  
... ... @@ -35,7 +35,7 @@ public class AppTradeCartDetailRespVO {
35 35  
36 36 }
37 37  
38   - @Schema(title = "商品 SKU")
  38 + @Schema(description = "商品 SKU")
39 39 @Data
40 40 public static class Sku extends AppProductSkuBaseRespVO {
41 41  
... ... @@ -46,26 +46,26 @@ public class AppTradeCartDetailRespVO {
46 46  
47 47 // ========== 购物车相关的字段 ==========
48 48  
49   - @Schema(title = "商品数量", required = true, example = "1")
  49 + @Schema(description = "商品数量", required = true, example = "1")
50 50 private Integer count;
51   - @Schema(title = "是否选中", required = true, example = "true")
  51 + @Schema(description = "是否选中", required = true, example = "true")
52 52 private Boolean selected;
53 53  
54 54 // ========== 价格相关的字段,对应 PriceCalculateRespDTO.OrderItem 的属性 ==========
55 55  
56 56 // TODO 芋艿:后续可以去除一些无用的字段
57 57  
58   - @Schema(title = "商品原价(单)", required = true, example = "100")
  58 + @Schema(description = "商品原价(单)", required = true, example = "100")
59 59 private Integer originalPrice;
60   - @Schema(title = "商品原价(总)", required = true, example = "200")
  60 + @Schema(description = "商品原价(总)", required = true, example = "200")
61 61 private Integer totalOriginalPrice;
62   - @Schema(title = "商品级优惠(总)", required = true, example = "300")
  62 + @Schema(description = "商品级优惠(总)", required = true, example = "300")
63 63 private Integer totalPromotionPrice;
64   - @Schema(title = "最终购买金额(总)", required = true, example = "400")
  64 + @Schema(description = "最终购买金额(总)", required = true, example = "400")
65 65 private Integer totalPresentPrice;
66   - @Schema(title = "最终购买金额(单)", required = true, example = "500")
  66 + @Schema(description = "最终购买金额(单)", required = true, example = "500")
67 67 private Integer presentPrice;
68   - @Schema(title = "应付金额(总)", required = true, example = "600")
  68 + @Schema(description = "应付金额(总)", required = true, example = "600")
69 69 private Integer totalPayPrice;
70 70  
71 71 // ========== 营销相关的字段 ==========
... ... @@ -76,40 +76,40 @@ public class AppTradeCartDetailRespVO {
76 76  
77 77 }
78 78  
79   - @Schema(title = "订单", description = "对应 PriceCalculateRespDTO.Order 类,用于费用(合计)")
  79 + @Schema(description = "订单,对应 PriceCalculateRespDTO.Order 类,用于费用(合计)")
80 80 @Data
81 81 public static class Order {
82 82  
83 83 // TODO 芋艿:后续可以去除一些无用的字段
84 84  
85   - @Schema(title = "商品原价(总)", required = true, example = "100")
  85 + @Schema(description = "商品原价(总)", required = true, example = "100")
86 86 private Integer skuOriginalPrice;
87   - @Schema(title = "商品优惠(总)", required = true, example = "200")
  87 + @Schema(description = "商品优惠(总)", required = true, example = "200")
88 88 private Integer skuPromotionPrice;
89   - @Schema(title = "订单优惠(总)", required = true, example = "300")
  89 + @Schema(description = "订单优惠(总)", required = true, example = "300")
90 90 private Integer orderPromotionPrice;
91   - @Schema(title = "运费金额", required = true, example = "400")
  91 + @Schema(description = "运费金额", required = true, example = "400")
92 92 private Integer deliveryPrice;
93   - @Schema(title = "应付金额(总)", required = true, example = "500")
  93 + @Schema(description = "应付金额(总)", required = true, example = "500")
94 94 private Integer payPrice;
95 95  
96 96 }
97 97  
98   - @Schema(title = "营销活动", description = "对应 PriceCalculateRespDTO.Promotion 类的属性")
  98 + @Schema(description = "营销活动,对应 PriceCalculateRespDTO.Promotion 类的属性")
99 99 @Data
100 100 public static class Promotion {
101 101  
102   - @Schema(title = "营销编号", required = true, example = "1024", description = "营销活动的编号、优惠劵的编号")
  102 + @Schema(description = "营销编号,营销活动的编号、优惠劵的编号", required = true, example = "1024")
103 103 private Long id;
104   - @Schema(title = "营销名字", required = true, example = "xx 活动")
  104 + @Schema(description = "营销名字", required = true, example = "xx 活动")
105 105 private String name;
106   - @Schema(title = "营销类型", required = true, example = "1", description = "参见 PromotionTypeEnum 枚举类")
  106 + @Schema(description = "营销类型,参见 PromotionTypeEnum 枚举类", required = true, example = "1")
107 107 private Integer type;
108 108  
109 109 // ========== 匹配情况 ==========
110   - @Schema(title = "是否满足优惠条件", required = true, example = "true")
  110 + @Schema(description = "是否满足优惠条件", required = true, example = "true")
111 111 private Boolean meet;
112   - @Schema(title = "满足条件的提示", required = true, example = "圣诞价:省 150.00 元")
  112 + @Schema(description = "满足条件的提示", required = true, example = "圣诞价:省 150.00 元")
113 113 private String meetTip;
114 114  
115 115 }
... ...
yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/cart/vo/AppTradeCartItemAddCountReqVO.java
... ... @@ -6,15 +6,15 @@ import lombok.Data;
6 6 import javax.validation.constraints.Min;
7 7 import javax.validation.constraints.NotNull;
8 8  
9   -@Schema(title = "用户 App - 购物车添加购物项 Request VO")
  9 +@Schema(description = "用户 App - 购物车添加购物项 Request VO")
10 10 @Data
11 11 public class AppTradeCartItemAddCountReqVO {
12 12  
13   - @Schema(title = "商品 SKU 编号", required = true,example = "1024")
  13 + @Schema(description = "商品 SKU 编号", required = true,example = "1024")
14 14 @NotNull(message = "商品 SKU 编号不能为空")
15 15 private Long skuId;
16 16  
17   - @Schema(title = "商品数量", required = true, example = "1", description = "注意,这是新增数量")
  17 + @Schema(description = "商品数量,注意,这是新增数量", required = true, example = "1")
18 18 @NotNull(message = "数量不能为空")
19 19 @Min(message = "数量必须大于 0", value = 1L)
20 20 private Integer count;
... ...
yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/cart/vo/AppTradeCartItemUpdateCountReqVO.java
... ... @@ -6,15 +6,15 @@ import lombok.Data;
6 6 import javax.validation.constraints.Min;
7 7 import javax.validation.constraints.NotNull;
8 8  
9   -@Schema(title = "用户 App - 购物车更新数量 Request VO")
  9 +@Schema(description = "用户 App - 购物车更新数量 Request VO")
10 10 @Data
11 11 public class AppTradeCartItemUpdateCountReqVO {
12 12  
13   - @Schema(title = "商品 SKU 编号", required = true, example = "1024")
  13 + @Schema(description = "商品 SKU 编号", required = true, example = "1024")
14 14 @NotNull(message = "商品 SKU 编号不能为空")
15 15 private Long skuId;
16 16  
17   - @Schema(title = "商品数量", required = true, example = "1")
  17 + @Schema(description = "商品数量", required = true, example = "1")
18 18 @NotNull(message = "数量不能为空")
19 19 @Min(message = "数量必须大于 0", value = 1L)
20 20 private Integer count;
... ...
yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/cart/vo/AppTradeCartItemUpdateSelectedReqVO.java
... ... @@ -6,15 +6,15 @@ import lombok.Data;
6 6 import javax.validation.constraints.NotNull;
7 7 import java.util.Collection;
8 8  
9   -@Schema(title = "用户 App - 购物车更新是否选中 Request VO")
  9 +@Schema(description = "用户 App - 购物车更新是否选中 Request VO")
10 10 @Data
11 11 public class AppTradeCartItemUpdateSelectedReqVO {
12 12  
13   - @Schema(title = "商品 SKU 编号列表", required = true, example = "1024,2048")
  13 + @Schema(description = "商品 SKU 编号列表", required = true, example = "1024,2048")
14 14 @NotNull(message = "商品 SKU 编号列表不能为空")
15 15 private Collection<Long> skuIds;
16 16  
17   - @Schema(title = "是否选中", required = true, example = "true")
  17 + @Schema(description = "是否选中", required = true, example = "true")
18 18 @NotNull(message = "是否选中不能为空")
19 19 private Boolean selected;
20 20  
... ...
yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/order/vo/AppTradeOrderCreateReqVO.java
... ... @@ -8,21 +8,21 @@ import javax.validation.constraints.NotEmpty;
8 8 import javax.validation.constraints.NotNull;
9 9 import java.util.List;
10 10  
11   -@Schema(title = "用户 App - 交易订单创建 Request VO")
  11 +@Schema(description = "用户 App - 交易订单创建 Request VO")
12 12 @Data
13 13 public class AppTradeOrderCreateReqVO {
14 14  
15   - @Schema(name = "收件地址编号", required = true, example = "1")
  15 + @Schema(description = "收件地址编号", required = true, example = "1")
16 16 @NotNull(message = "收件地址不能为空")
17 17 private Long addressId;
18 18  
19   - @Schema(name = "优惠劵编号", example = "1024")
  19 + @Schema(description = "优惠劵编号", example = "1024")
20 20 private Long couponId;
21 21  
22   - @Schema(name = "备注", example = "这个是我的订单哟")
  22 + @Schema(description = "备注", example = "这个是我的订单哟")
23 23 private String remark;
24 24  
25   - @Schema(name = "是否来自购物车", required = true, example = "true", description = "true - 来自购物车;false - 立即购买")
  25 + @Schema(description = "是否来自购物车,true - 来自购物车;false - 立即购买", required = true, example = "true")
26 26 @NotNull(message = "是否来自购物车不能为空")
27 27 private Boolean fromCart;
28 28  
... ... @@ -32,15 +32,15 @@ public class AppTradeOrderCreateReqVO {
32 32 @NotEmpty(message = "必须选择购买的商品")
33 33 private List<Item> items;
34 34  
35   - @Schema(title = "订单商品项")
  35 + @Schema(description = "订单商品项")
36 36 @Data
37 37 public static class Item {
38 38  
39   - @Schema(name = "商品 SKU 编号", required = true, example = "111")
  39 + @Schema(description = "商品 SKU 编号", required = true, example = "111")
40 40 @NotNull(message = "商品 SKU 编号不能为空")
41 41 private Long skuId;
42 42  
43   - @Schema(name = "商品 SKU 购买数量", required = true, example = "1024")
  43 + @Schema(description = "商品 SKU 购买数量", required = true, example = "1024")
44 44 @NotNull(message = "商品 SKU 购买数量不能为空")
45 45 @Min(value = 1, message = "商品 SKU 购买数量必须大于 0")
46 46 private Integer count;
... ...
yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/order/vo/AppTradeOrderGetCreateInfoRespVO.java
... ... @@ -6,7 +6,7 @@ import lombok.Data;
6 6  
7 7 import java.util.List;
8 8  
9   -@Schema(title = "用户 App - 订单获得创建信息 Response VO")
  9 +@Schema(description = "用户 App - 订单获得创建信息 Response VO")
10 10 @Data
11 11 public class AppTradeOrderGetCreateInfoRespVO {
12 12  
... ... @@ -24,7 +24,7 @@ public class AppTradeOrderGetCreateInfoRespVO {
24 24 // */
25 25 // private List<CouponCardAvailableRespDTO> coupons;
26 26  
27   - @Schema(title = "商品分组", description = "多个商品,参加同一个活动,从而形成分组")
  27 + @Schema(description = "商品分组,多个商品,参加同一个活动,从而形成分组")
28 28 @Data
29 29 public static class ItemGroup {
30 30  
... ... @@ -39,12 +39,12 @@ public class AppTradeOrderGetCreateInfoRespVO {
39 39  
40 40 }
41 41  
42   - @Schema(title = "商品 SKU")
  42 + @Schema(description = "商品 SKU")
43 43 @Data
44 44 public static class Sku {
45 45  
46 46 // SKU 自带信息
47   - @Schema(title = "SKU 编号", required = true, example = "1024")
  47 + @Schema(description = "SKU 编号", required = true, example = "1024")
48 48 private Integer id;
49 49 /**
50 50 * SPU 信息
... ... @@ -139,12 +139,12 @@ public class AppTradeOrderGetCreateInfoRespVO {
139 139  
140 140 }
141 141  
142   - @Schema(title = "费用(合计)")
  142 + @Schema(description = "费用(合计)")
143 143 @Data
144 144 @AllArgsConstructor
145 145 public static class Fee {
146 146  
147   - @Schema(title = "购买总价", required = true, example = "1024")
  147 + @Schema(description = "购买总价", required = true, example = "1024")
148 148 private Integer buyPrice;
149 149 /**
150 150 * 优惠总价
... ...
yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/order/vo/TradeOrderItemRespVO.java
... ... @@ -5,47 +5,47 @@ import lombok.Data;
5 5  
6 6 import java.time.LocalDateTime;
7 7  
8   -@Schema(title = "交易订单项 Response VO")
  8 +@Schema(description = "交易订单项 Response VO")
9 9 @Data
10 10 public class TradeOrderItemRespVO {
11 11  
12   - @Schema(title = "id自增长", required = true)
  12 + @Schema(description = "id自增长", required = true)
13 13 private Integer id;
14   - @Schema(title = "订单编号", required = true)
  14 + @Schema(description = "订单编号", required = true)
15 15 private Integer orderId;
16   - @Schema(title = "订单项状态", required = true)
  16 + @Schema(description = "订单项状态", required = true)
17 17 private Integer status;
18   - @Schema(title = "商品 SKU 编号", required = true)
  18 + @Schema(description = "商品 SKU 编号", required = true)
19 19 private Integer skuId;
20   - @Schema(title = "商品 SPU 编号", required = true)
  20 + @Schema(description = "商品 SPU 编号", required = true)
21 21 private Integer spuId;
22   - @Schema(title = "商品名字", required = true)
  22 + @Schema(description = "商品名字", required = true)
23 23 private String skuName;
24   - @Schema(title = "图片名字", required = true)
  24 + @Schema(description = "图片名字", required = true)
25 25 private String skuImage;
26   - @Schema(title = "商品数量", required = true)
  26 + @Schema(description = "商品数量", required = true)
27 27 private Integer quantity;
28   - @Schema(title = "原始单价,单位:分", required = true)
  28 + @Schema(description = "原始单价,单位:分", required = true)
29 29 private Integer originPrice;
30   - @Schema(title = "购买单价,单位:分", required = true)
  30 + @Schema(description = "购买单价,单位:分", required = true)
31 31 private Integer buyPrice;
32   - @Schema(title = "最终价格,单位:分", required = true)
  32 + @Schema(description = "最终价格,单位:分", required = true)
33 33 private Integer presentPrice;
34   - @Schema(title = "购买总金额,单位:分", required = true)
  34 + @Schema(description = "购买总金额,单位:分", required = true)
35 35 private Integer buyTotal;
36   - @Schema(title = "优惠总金额,单位:分", required = true)
  36 + @Schema(description = "优惠总金额,单位:分", required = true)
37 37 private Integer discountTotal;
38   - @Schema(title = "最终总金额,单位:分", required = true)
  38 + @Schema(description = "最终总金额,单位:分", required = true)
39 39 private Integer presentTotal;
40   - @Schema(title = "退款总金额,单位:分", required = true)
  40 + @Schema(description = "退款总金额,单位:分", required = true)
41 41 private Integer refundTotal;
42   - @Schema(title = "物流id")
  42 + @Schema(description = "物流id")
43 43 private Integer logisticsId;
44   - @Schema(title = "售后状态", required = true)
  44 + @Schema(description = "售后状态", required = true)
45 45 private Integer afterSaleStatus;
46   - @Schema(title = "售后订单编号")
  46 + @Schema(description = "售后订单编号")
47 47 private Integer afterSaleOrderId;
48   - @Schema(title = "创建时间", required = true)
  48 + @Schema(description = "创建时间", required = true)
49 49 private LocalDateTime createTime;
50 50  
51 51  
... ...
yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/order/vo/TradeOrderPageReqVO.java
... ... @@ -5,12 +5,12 @@ import io.swagger.v3.oas.annotations.media.Schema;
5 5 import lombok.Data;
6 6 import lombok.EqualsAndHashCode;
7 7  
8   -@Schema(title = "交易订单分页 Request VO")
  8 +@Schema(description = "交易订单分页 Request VO")
9 9 @Data
10 10 @EqualsAndHashCode(callSuper = true)
11 11 public class TradeOrderPageReqVO extends PageParam {
12 12  
13   - @Schema(title = "订单状态", example = "1", description = "参见 TradeOrderStatusEnum 枚举")
  13 + @Schema(description = "订单状态-参见 TradeOrderStatusEnum 枚举", example = "1")
14 14 private Integer orderStatus;
15 15  
16 16 }
... ...
yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/order/vo/TradeOrderRespVO.java
... ... @@ -5,59 +5,59 @@ import lombok.*;
5 5 import java.time.LocalDateTime;
6 6 import java.util.*;
7 7  
8   -@Schema(title = "订单交易 Response VO")
  8 +@Schema(description = "订单交易 Response VO")
9 9 @Data
10 10 public class TradeOrderRespVO {
11 11  
12   - @Schema(title = "订单编号", required = true)
  12 + @Schema(description = "订单编号", required = true)
13 13 private Integer id;
14   - @Schema(title = "用户编号", required = true)
  14 + @Schema(description = "用户编号", required = true)
15 15 private Integer userId;
16   - @Schema(title = "订单单号", required = true)
  16 + @Schema(description = "订单单号", required = true)
17 17 private String orderNo;
18   - @Schema(title = "订单状态", required = true)
  18 + @Schema(description = "订单状态", required = true)
19 19 private Integer orderStatus;
20   - @Schema(title = "备注")
  20 + @Schema(description = "备注")
21 21 private String remark;
22   - @Schema(title = "订单结束时间")
  22 + @Schema(description = "订单结束时间")
23 23 private LocalDateTime endTime;
24   - @Schema(title = "订单金额(总金额),单位:分", required = true)
  24 + @Schema(description = "订单金额(总金额),单位:分", required = true)
25 25 private Integer buyPrice;
26   - @Schema(title = "优惠总金额,单位:分", required = true)
  26 + @Schema(description = "优惠总金额,单位:分", required = true)
27 27 private Integer discountPrice;
28   - @Schema(title = "物流金额,单位:分", required = true)
  28 + @Schema(description = "物流金额,单位:分", required = true)
29 29 private Integer logisticsPrice;
30   - @Schema(title = "最终金额,单位:分", required = true)
  30 + @Schema(description = "最终金额,单位:分", required = true)
31 31 private Integer presentPrice;
32   - @Schema(title = "支付金额,单位:分", required = true)
  32 + @Schema(description = "支付金额,单位:分", required = true)
33 33 private Integer payPrice;
34   - @Schema(title = "退款金额,单位:分", required = true)
  34 + @Schema(description = "退款金额,单位:分", required = true)
35 35 private Integer refundPrice;
36   - @Schema(title = "付款时间")
  36 + @Schema(description = "付款时间")
37 37 private LocalDateTime payTime;
38   - @Schema(title = "支付订单编号")
  38 + @Schema(description = "支付订单编号")
39 39 private Integer payTransactionId;
40   - @Schema(title = "支付渠道")
  40 + @Schema(description = "支付渠道")
41 41 private Integer payChannel;
42   - @Schema(title = "配送类型", required = true)
  42 + @Schema(description = "配送类型", required = true)
43 43 private Integer deliveryType;
44   - @Schema(title = "发货时间")
  44 + @Schema(description = "发货时间")
45 45 private LocalDateTime deliveryTime;
46   - @Schema(title = "收货时间")
  46 + @Schema(description = "收货时间")
47 47 private LocalDateTime receiveTime;
48   - @Schema(title = "收件人名称", required = true)
  48 + @Schema(description = "收件人名称", required = true)
49 49 private String receiverName;
50   - @Schema(title = "手机号", required = true)
  50 + @Schema(description = "手机号", required = true)
51 51 private String receiverMobile;
52   - @Schema(title = "地区编码", required = true)
  52 + @Schema(description = "地区编码", required = true)
53 53 private Integer receiverAreaCode;
54   - @Schema(title = "收件详细地址", required = true)
  54 + @Schema(description = "收件详细地址", required = true)
55 55 private String receiverDetailAddress;
56   - @Schema(title = "售后状态", required = true)
  56 + @Schema(description = "售后状态", required = true)
57 57 private Integer afterSaleStatus;
58   - @Schema(title = "优惠劵编号")
  58 + @Schema(description = "优惠劵编号")
59 59 private Integer couponCardId;
60   - @Schema(title = "创建时间", required = true)
  60 + @Schema(description = "创建时间", required = true)
61 61 private LocalDateTime createTime;
62 62  
63 63 /**
... ...
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/app/address/vo/AppAddressBaseVO.java
... ... @@ -12,27 +12,27 @@ import javax.validation.constraints.NotNull;
12 12 @Data
13 13 public class AppAddressBaseVO {
14 14  
15   - @Schema(title = "收件人名称", required = true)
  15 + @Schema(description = "收件人名称", required = true)
16 16 @NotNull(message = "收件人名称不能为空")
17 17 private String name;
18 18  
19   - @Schema(title = "手机号", required = true)
  19 + @Schema(description = "手机号", required = true)
20 20 @NotNull(message = "手机号不能为空")
21 21 private String mobile;
22 22  
23   - @Schema(title = "地区编号", required = true)
  23 + @Schema(description = "地区编号", required = true)
24 24 @NotNull(message = "地区编号不能为空")
25 25 private Long areaId;
26 26  
27   - @Schema(title = "邮编", required = true)
  27 + @Schema(description = "邮编", required = true)
28 28 @NotEmpty(message = "邮编不能为空")
29 29 private String postCode;
30 30  
31   - @Schema(title = "收件详细地址", required = true)
  31 + @Schema(description = "收件详细地址", required = true)
32 32 @NotNull(message = "收件详细地址不能为空")
33 33 private String detailAddress;
34 34  
35   - @Schema(title = "是否默认地址", required = true)
  35 + @Schema(description = "是否默认地址", required = true)
36 36 @NotNull(message = "是否默认地址不能为空")
37 37 private Boolean defaulted;
38 38  
... ...
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/app/address/vo/AppAddressCreateReqVO.java
... ... @@ -2,7 +2,7 @@ package cn.iocoder.yudao.module.member.controller.app.address.vo;
2 2 import io.swagger.v3.oas.annotations.media.Schema;
3 3 import lombok.*;
4 4  
5   -@Schema(title = "用户 APP - 用户收件地址创建 Request VO")
  5 +@Schema(description = "用户 APP - 用户收件地址创建 Request VO")
6 6 @Data
7 7 @EqualsAndHashCode(callSuper = true)
8 8 @ToString(callSuper = true)
... ...
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/app/address/vo/AppAddressRespVO.java
... ... @@ -3,16 +3,16 @@ import io.swagger.v3.oas.annotations.media.Schema;
3 3 import lombok.*;
4 4 import java.time.LocalDateTime;
5 5  
6   -@Schema(title = "用户 APP - 用户收件地址 Response VO")
  6 +@Schema(description = "用户 APP - 用户收件地址 Response VO")
7 7 @Data
8 8 @EqualsAndHashCode(callSuper = true)
9 9 @ToString(callSuper = true)
10 10 public class AppAddressRespVO extends AppAddressBaseVO {
11 11  
12   - @Schema(title = "编号", required = true)
  12 + @Schema(description = "编号", required = true)
13 13 private Long id;
14 14  
15   - @Schema(title = "创建时间", required = true)
  15 + @Schema(description = "创建时间", required = true)
16 16 private LocalDateTime createTime;
17 17  
18 18 }
... ...
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/app/address/vo/AppAddressUpdateReqVO.java
... ... @@ -3,13 +3,13 @@ import io.swagger.v3.oas.annotations.media.Schema;
3 3 import lombok.*;
4 4 import javax.validation.constraints.*;
5 5  
6   -@Schema(title = "用户 APP - 用户收件地址更新 Request VO")
  6 +@Schema(description = "用户 APP - 用户收件地址更新 Request VO")
7 7 @Data
8 8 @EqualsAndHashCode(callSuper = true)
9 9 @ToString(callSuper = true)
10 10 public class AppAddressUpdateReqVO extends AppAddressBaseVO {
11 11  
12   - @Schema(title = "编号", required = true)
  12 + @Schema(description = "编号", required = true)
13 13 @NotNull(message = "编号不能为空")
14 14 private Long id;
15 15  
... ...
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/app/auth/vo/AppAuthCheckCodeReqVO.java
... ... @@ -15,25 +15,25 @@ import javax.validation.constraints.NotNull;
15 15 import javax.validation.constraints.Pattern;
16 16  
17 17 // TODO 芋艿:code review 相关逻辑
18   -@Schema(title = "用户 APP - 校验验证码 Request VO")
  18 +@Schema(description = "用户 APP - 校验验证码 Request VO")
19 19 @Data
20 20 @NoArgsConstructor
21 21 @AllArgsConstructor
22 22 @Builder
23 23 public class AppAuthCheckCodeReqVO {
24 24  
25   - @Schema(title = "手机号", example = "15601691234")
  25 + @Schema(description = "手机号", example = "15601691234")
26 26 @NotBlank(message = "手机号不能为空")
27 27 @Mobile
28 28 private String mobile;
29 29  
30   - @Schema(title = "手机验证码", required = true, example = "1024")
  30 + @Schema(description = "手机验证码", required = true, example = "1024")
31 31 @NotBlank(message = "手机验证码不能为空")
32 32 @Length(min = 4, max = 6, message = "手机验证码长度为 4-6 位")
33 33 @Pattern(regexp = "^[0-9]+$", message = "手机验证码必须都是数字")
34 34 private String code;
35 35  
36   - @Schema(title = "发送场景", example = "1", description = "对应 SmsSceneEnum 枚举")
  36 + @Schema(description = "发送场景,对应 SmsSceneEnum 枚举", example = "1")
37 37 @NotNull(message = "发送场景不能为空")
38 38 @InEnum(SmsSceneEnum.class)
39 39 private Integer scene;
... ...
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/app/auth/vo/AppAuthLoginReqVO.java
... ... @@ -14,33 +14,33 @@ import org.hibernate.validator.constraints.Length;
14 14 import javax.validation.constraints.AssertTrue;
15 15 import javax.validation.constraints.NotEmpty;
16 16  
17   -@Schema(title = "用户 APP - 手机 + 密码登录 Request VO", description = "如果登录并绑定社交用户,需要传递 social 开头的参数")
  17 +@Schema(description = "用户 APP - 手机 + 密码登录 Request VO,如果登录并绑定社交用户,需要传递 social 开头的参数")
18 18 @Data
19 19 @NoArgsConstructor
20 20 @AllArgsConstructor
21 21 @Builder
22 22 public class AppAuthLoginReqVO {
23 23  
24   - @Schema(title = "手机号", required = true, example = "15601691300")
  24 + @Schema(description = "手机号", required = true, example = "15601691300")
25 25 @NotEmpty(message = "手机号不能为空")
26 26 @Mobile
27 27 private String mobile;
28 28  
29   - @Schema(title = "密码", required = true, example = "buzhidao")
  29 + @Schema(description = "密码", required = true, example = "buzhidao")
30 30 @NotEmpty(message = "密码不能为空")
31 31 @Length(min = 4, max = 16, message = "密码长度为 4-16 位")
32 32 private String password;
33 33  
34 34 // ========== 绑定社交登录时,需要传递如下参数 ==========
35 35  
36   - @Schema(title = "社交平台的类型", required = true, example = "10", description = "参见 SysUserSocialTypeEnum 枚举值")
  36 + @Schema(description = "社交平台的类型,参见 SysUserSocialTypeEnum 枚举值", required = true, example = "10")
37 37 @InEnum(SocialTypeEnum.class)
38 38 private Integer socialType;
39 39  
40   - @Schema(title = "授权码", required = true, example = "1024")
  40 + @Schema(description = "授权码", required = true, example = "1024")
41 41 private String socialCode;
42 42  
43   - @Schema(title = "state", required = true, example = "9b2ffbc1-7425-4155-9894-9d5c08541d62")
  43 + @Schema(description = "state", required = true, example = "9b2ffbc1-7425-4155-9894-9d5c08541d62")
44 44 private String socialState;
45 45  
46 46 @AssertTrue(message = "授权码不能为空")
... ...
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/app/auth/vo/AppAuthLoginRespVO.java
... ... @@ -8,23 +8,23 @@ import lombok.NoArgsConstructor;
8 8  
9 9 import java.time.LocalDateTime;
10 10  
11   -@Schema(title = "用户 APP - 登录 Response VO")
  11 +@Schema(description = "用户 APP - 登录 Response VO")
12 12 @Data
13 13 @NoArgsConstructor
14 14 @AllArgsConstructor
15 15 @Builder
16 16 public class AppAuthLoginRespVO {
17 17  
18   - @Schema(title = "用户编号", required = true, example = "1024")
  18 + @Schema(description = "用户编号", required = true, example = "1024")
19 19 private Long userId;
20 20  
21   - @Schema(title = "访问令牌", required = true, example = "happy")
  21 + @Schema(description = "访问令牌", required = true, example = "happy")
22 22 private String accessToken;
23 23  
24   - @Schema(title = "刷新令牌", required = true, example = "nice")
  24 + @Schema(description = "刷新令牌", required = true, example = "nice")
25 25 private String refreshToken;
26 26  
27   - @Schema(title = "过期时间", required = true)
  27 + @Schema(description = "过期时间", required = true)
28 28 private LocalDateTime expiresTime;
29 29  
30 30 }
... ...
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/app/auth/vo/AppAuthResetPasswordReqVO.java
... ... @@ -13,25 +13,25 @@ import javax.validation.constraints.NotEmpty;
13 13 import javax.validation.constraints.Pattern;
14 14  
15 15 // TODO 芋艿:code review 相关逻辑
16   -@Schema(title = "用户 APP - 重置密码 Request VO")
  16 +@Schema(description = "用户 APP - 重置密码 Request VO")
17 17 @Data
18 18 @NoArgsConstructor
19 19 @AllArgsConstructor
20 20 @Builder
21 21 public class AppAuthResetPasswordReqVO {
22 22  
23   - @Schema(title = "新密码", required = true, example = "buzhidao")
  23 + @Schema(description = "新密码", required = true, example = "buzhidao")
24 24 @NotEmpty(message = "新密码不能为空")
25 25 @Length(min = 4, max = 16, message = "密码长度为 4-16 位")
26 26 private String password;
27 27  
28   - @Schema(title = "手机验证码", required = true, example = "1024")
  28 + @Schema(description = "手机验证码", required = true, example = "1024")
29 29 @NotEmpty(message = "手机验证码不能为空")
30 30 @Length(min = 4, max = 6, message = "手机验证码长度为 4-6 位")
31 31 @Pattern(regexp = "^[0-9]+$", message = "手机验证码必须都是数字")
32 32 private String code;
33 33  
34   - @Schema(title = "手机号",required = true,example = "15878962356")
  34 + @Schema(description = "手机号",required = true,example = "15878962356")
35 35 @NotBlank(message = "手机号不能为空")
36 36 @Mobile
37 37 private String mobile;
... ...
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/app/auth/vo/AppAuthSmsLoginReqVO.java
... ... @@ -15,19 +15,19 @@ import javax.validation.constraints.AssertTrue;
15 15 import javax.validation.constraints.NotEmpty;
16 16 import javax.validation.constraints.Pattern;
17 17  
18   -@Schema(title = "用户 APP - 手机 + 验证码登录 Request VO", description = "如果登录并绑定社交用户,需要传递 social 开头的参数")
  18 +@Schema(description = "用户 APP - 手机 + 验证码登录 Request VO,如果登录并绑定社交用户,需要传递 social 开头的参数")
19 19 @Data
20 20 @NoArgsConstructor
21 21 @AllArgsConstructor
22 22 @Builder
23 23 public class AppAuthSmsLoginReqVO {
24 24  
25   - @Schema(title = "手机号", required = true, example = "15601691300")
  25 + @Schema(description = "手机号", required = true, example = "15601691300")
26 26 @NotEmpty(message = "手机号不能为空")
27 27 @Mobile
28 28 private String mobile;
29 29  
30   - @Schema(title = "手机验证码", required = true, example = "1024")
  30 + @Schema(description = "手机验证码", required = true, example = "1024")
31 31 @NotEmpty(message = "手机验证码不能为空")
32 32 @Length(min = 4, max = 6, message = "手机验证码长度为 4-6 位")
33 33 @Pattern(regexp = "^[0-9]+$", message = "手机验证码必须都是数字")
... ... @@ -35,14 +35,14 @@ public class AppAuthSmsLoginReqVO {
35 35  
36 36 // ========== 绑定社交登录时,需要传递如下参数 ==========
37 37  
38   - @Schema(title = "社交平台的类型", required = true, example = "10", description = "参见 SysUserSocialTypeEnum 枚举值")
  38 + @Schema(description = "社交平台的类型,参见 SysUserSocialTypeEnum 枚举值", required = true, example = "10")
39 39 @InEnum(SocialTypeEnum.class)
40 40 private Integer socialType;
41 41  
42   - @Schema(title = "授权码", required = true, example = "1024")
  42 + @Schema(description = "授权码", required = true, example = "1024")
43 43 private String socialCode;
44 44  
45   - @Schema(title = "state", required = true, example = "9b2ffbc1-7425-4155-9894-9d5c08541d62")
  45 + @Schema(description = "state", required = true, example = "9b2ffbc1-7425-4155-9894-9d5c08541d62")
46 46 private String socialState;
47 47  
48 48 @AssertTrue(message = "授权码不能为空")
... ...
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/app/auth/vo/AppAuthSmsSendReqVO.java
... ... @@ -9,16 +9,16 @@ import lombok.experimental.Accessors;
9 9  
10 10 import javax.validation.constraints.NotNull;
11 11  
12   -@Schema(title = "用户 APP - 发送手机验证码 Request VO")
  12 +@Schema(description = "用户 APP - 发送手机验证码 Request VO")
13 13 @Data
14 14 @Accessors(chain = true)
15 15 public class AppAuthSmsSendReqVO {
16 16  
17   - @Schema(title = "手机号", example = "15601691234")
  17 + @Schema(description = "手机号", example = "15601691234")
18 18 @Mobile
19 19 private String mobile;
20 20  
21   - @Schema(title = "发送场景", example = "1", description = "对应 SmsSceneEnum 枚举")
  21 + @Schema(description = "发送场景,对应 SmsSceneEnum 枚举", example = "1")
22 22 @NotNull(message = "发送场景不能为空")
23 23 @InEnum(SmsSceneEnum.class)
24 24 private Integer scene;
... ...
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/app/auth/vo/AppAuthSocialLoginReqVO.java
... ... @@ -11,23 +11,23 @@ import lombok.NoArgsConstructor;
11 11 import javax.validation.constraints.NotEmpty;
12 12 import javax.validation.constraints.NotNull;
13 13  
14   -@Schema(title = "用户 APP - 社交快捷登录 Request VO,使用 code 授权码")
  14 +@Schema(description = "用户 APP - 社交快捷登录 Request VO,使用 code 授权码")
15 15 @Data
16 16 @NoArgsConstructor
17 17 @AllArgsConstructor
18 18 @Builder
19 19 public class AppAuthSocialLoginReqVO {
20 20  
21   - @Schema(title = "社交平台的类型", required = true, example = "10", description = "参见 SysUserSocialTypeEnum 枚举值")
  21 + @Schema(description = "社交平台的类型,参见 SysUserSocialTypeEnum 枚举值", required = true, example = "10")
22 22 @InEnum(SocialTypeEnum.class)
23 23 @NotNull(message = "社交平台的类型不能为空")
24 24 private Integer type;
25 25  
26   - @Schema(title = "授权码", required = true, example = "1024")
  26 + @Schema(description = "授权码", required = true, example = "1024")
27 27 @NotEmpty(message = "授权码不能为空")
28 28 private String code;
29 29  
30   - @Schema(title = "state", required = true, example = "9b2ffbc1-7425-4155-9894-9d5c08541d62")
  30 + @Schema(description = "state", required = true, example = "9b2ffbc1-7425-4155-9894-9d5c08541d62")
31 31 @NotEmpty(message = "state 不能为空")
32 32 private String state;
33 33  
... ...
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/app/auth/vo/AppAuthUpdatePasswordReqVO.java
... ... @@ -11,19 +11,19 @@ import javax.validation.constraints.NotBlank;
11 11 import javax.validation.constraints.NotEmpty;
12 12  
13 13 // TODO 芋艿:code review 相关逻辑
14   -@Schema(title = "用户 APP - 修改密码 Request VO")
  14 +@Schema(description = "用户 APP - 修改密码 Request VO")
15 15 @Data
16 16 @NoArgsConstructor
17 17 @AllArgsConstructor
18 18 @Builder
19 19 public class AppAuthUpdatePasswordReqVO {
20 20  
21   - @Schema(title = "用户旧密码", required = true, example = "123456")
  21 + @Schema(description = "用户旧密码", required = true, example = "123456")
22 22 @NotBlank(message = "旧密码不能为空")
23 23 @Length(min = 4, max = 16, message = "密码长度为 4-16 位")
24 24 private String oldPassword;
25 25  
26   - @Schema(title = "新密码", required = true, example = "buzhidao")
  26 + @Schema(description = "新密码", required = true, example = "buzhidao")
27 27 @NotEmpty(message = "新密码不能为空")
28 28 @Length(min = 4, max = 16, message = "密码长度为 4-16 位")
29 29 private String password;
... ...
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/app/auth/vo/AppAuthWeixinMiniAppLoginReqVO.java
... ... @@ -8,18 +8,18 @@ import lombok.NoArgsConstructor;
8 8  
9 9 import javax.validation.constraints.NotEmpty;
10 10  
11   -@Schema(title = "用户 APP - 微信小程序手机登录 Request VO")
  11 +@Schema(description = "用户 APP - 微信小程序手机登录 Request VO")
12 12 @Data
13 13 @NoArgsConstructor
14 14 @AllArgsConstructor
15 15 @Builder
16 16 public class AppAuthWeixinMiniAppLoginReqVO {
17 17  
18   - @Schema(title = "手机 code", required = true, example = "hello", description = "小程序通过 wx.getPhoneNumber 方法获得")
  18 + @Schema(description = "手机 code,小程序通过 wx.getPhoneNumber 方法获得", required = true, example = "hello")
19 19 @NotEmpty(message = "手机 code 不能为空")
20 20 private String phoneCode;
21 21  
22   - @Schema(title = "登录 code", required = true, example = "word", description = "小程序通过 wx.login 方法获得")
  22 + @Schema(description = "登录 code,小程序通过 wx.login 方法获得", required = true, example = "word")
23 23 @NotEmpty(message = "登录 code 不能为空")
24 24 private String loginCode;
25 25  
... ...
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/app/social/vo/AppSocialUserBindReqVO.java
... ... @@ -11,23 +11,23 @@ import lombok.NoArgsConstructor;
11 11 import javax.validation.constraints.NotEmpty;
12 12 import javax.validation.constraints.NotNull;
13 13  
14   -@Schema(title = "用户 APP - 社交绑定 Request VO,使用 code 授权码")
  14 +@Schema(description = "用户 APP - 社交绑定 Request VO,使用 code 授权码")
15 15 @Data
16 16 @NoArgsConstructor
17 17 @AllArgsConstructor
18 18 @Builder
19 19 public class AppSocialUserBindReqVO {
20 20  
21   - @Schema(title = "社交平台的类型", required = true, example = "10", description = "参见 SysUserSocialTypeEnum 枚举值")
  21 + @Schema(description = "社交平台的类型,参见 SysUserSocialTypeEnum 枚举值", required = true, example = "10")
22 22 @InEnum(SocialTypeEnum.class)
23 23 @NotNull(message = "社交平台的类型不能为空")
24 24 private Integer type;
25 25  
26   - @Schema(title = "授权码", required = true, example = "1024")
  26 + @Schema(description = "授权码", required = true, example = "1024")
27 27 @NotEmpty(message = "授权码不能为空")
28 28 private String code;
29 29  
30   - @Schema(title = "state", required = true, example = "9b2ffbc1-7425-4155-9894-9d5c08541d62")
  30 + @Schema(description = "state", required = true, example = "9b2ffbc1-7425-4155-9894-9d5c08541d62")
31 31 @NotEmpty(message = "state 不能为空")
32 32 private String state;
33 33  
... ...
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/app/social/vo/AppSocialUserUnbindReqVO.java
... ... @@ -11,19 +11,19 @@ import lombok.NoArgsConstructor;
11 11 import javax.validation.constraints.NotEmpty;
12 12 import javax.validation.constraints.NotNull;
13 13  
14   -@Schema(title = "用户 APP - 取消社交绑定 Request VO")
  14 +@Schema(description = "用户 APP - 取消社交绑定 Request VO")
15 15 @Data
16 16 @NoArgsConstructor
17 17 @AllArgsConstructor
18 18 @Builder
19 19 public class AppSocialUserUnbindReqVO {
20 20  
21   - @Schema(title = "社交平台的类型", required = true, example = "10", description = "参见 SysUserSocialTypeEnum 枚举值")
  21 + @Schema(description = "社交平台的类型,参见 SysUserSocialTypeEnum 枚举值", required = true, example = "10")
22 22 @InEnum(SocialTypeEnum.class)
23 23 @NotNull(message = "社交平台的类型不能为空")
24 24 private Integer type;
25 25  
26   - @Schema(title = "社交用户的 openid", required = true, example = "IPRmJ0wvBptiPIlGEZiPewGwiEiE")
  26 + @Schema(description = "社交用户的 openid", required = true, example = "IPRmJ0wvBptiPIlGEZiPewGwiEiE")
27 27 @NotEmpty(message = "社交用户的 openid 不能为空")
28 28 private String openid;
29 29  
... ...
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/app/user/vo/AppUserInfoRespVO.java
... ... @@ -5,18 +5,18 @@ import lombok.AllArgsConstructor;
5 5 import lombok.Data;
6 6 import lombok.NoArgsConstructor;
7 7  
8   -@Schema(title = "用户 APP - 用户个人信息 Response VO")
  8 +@Schema(description = "用户 APP - 用户个人信息 Response VO")
9 9 @Data
10 10 @NoArgsConstructor
11 11 @AllArgsConstructor
12 12 public class AppUserInfoRespVO {
13 13  
14   - @Schema(title = "用户昵称", required = true, example = "芋艿")
  14 + @Schema(description = "用户昵称", required = true, example = "芋艿")
15 15 private String nickname;
16 16  
17   - @Schema(title = "用户头像", required = true, example = "/infra/file/get/35a12e57-4297-4faa-bf7d-7ed2f211c952")
  17 + @Schema(description = "用户头像", required = true, example = "/infra/file/get/35a12e57-4297-4faa-bf7d-7ed2f211c952")
18 18 private String avatar;
19 19  
20   - @Schema(title = "用户手机号", required = true, example = "15601691300")
  20 + @Schema(description = "用户手机号", required = true, example = "15601691300")
21 21 private String mobile;
22 22 }
... ...
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/app/user/vo/AppUserUpdateMobileReqVO.java
... ... @@ -12,26 +12,26 @@ import javax.validation.constraints.NotBlank;
12 12 import javax.validation.constraints.NotEmpty;
13 13 import javax.validation.constraints.Pattern;
14 14  
15   -@Schema(title = "用户 APP - 修改手机 Request VO")
  15 +@Schema(description = "用户 APP - 修改手机 Request VO")
16 16 @Data
17 17 @NoArgsConstructor
18 18 @AllArgsConstructor
19 19 @Builder
20 20 public class AppUserUpdateMobileReqVO {
21 21  
22   - @Schema(title = "手机验证码", required = true, example = "1024")
  22 + @Schema(description = "手机验证码", required = true, example = "1024")
23 23 @NotEmpty(message = "手机验证码不能为空")
24 24 @Length(min = 4, max = 6, message = "手机验证码长度为 4-6 位")
25 25 @Pattern(regexp = "^[0-9]+$", message = "手机验证码必须都是数字")
26 26 private String code;
27 27  
28   - @Schema(title = "手机号",required = true,example = "15823654487")
  28 + @Schema(description = "手机号",required = true,example = "15823654487")
29 29 @NotBlank(message = "手机号不能为空")
30 30 @Length(min = 8, max = 11, message = "手机号码长度为 8-11 位")
31 31 @Mobile
32 32 private String mobile;
33 33  
34   - @Schema(title = "原手机验证码", required = true, example = "1024")
  34 + @Schema(description = "原手机验证码", required = true, example = "1024")
35 35 @NotEmpty(message = "原手机验证码不能为空")
36 36 @Length(min = 4, max = 6, message = "手机验证码长度为 4-6 位")
37 37 @Pattern(regexp = "^[0-9]+$", message = "手机验证码必须都是数字")
... ... @@ -39,7 +39,7 @@ public class AppUserUpdateMobileReqVO {
39 39  
40 40 // TODO @芋艿:oldMobile 应该不用传递
41 41  
42   - @Schema(title = "原手机号",required = true,example = "15823654487")
  42 + @Schema(description = "原手机号",required = true,example = "15823654487")
43 43 @NotBlank(message = "手机号不能为空")
44 44 @Length(min = 8, max = 11, message = "手机号码长度为 8-11 位")
45 45 @Mobile
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/merchant/vo/app/PayAppBaseVO.java
... ... @@ -10,26 +10,26 @@ import javax.validation.constraints.*;
10 10 @Data
11 11 public class PayAppBaseVO {
12 12  
13   - @Schema(title = "应用名", required = true)
  13 + @Schema(description = "应用名", required = true)
14 14 @NotNull(message = "应用名不能为空")
15 15 private String name;
16 16  
17   - @Schema(title = "开启状态", required = true)
  17 + @Schema(description = "开启状态", required = true)
18 18 @NotNull(message = "开启状态不能为空")
19 19 private Integer status;
20 20  
21   - @Schema(title = "备注")
  21 + @Schema(description = "备注")
22 22 private String remark;
23 23  
24   - @Schema(title = "支付结果的回调地址", required = true)
  24 + @Schema(description = "支付结果的回调地址", required = true)
25 25 @NotNull(message = "支付结果的回调地址不能为空")
26 26 private String payNotifyUrl;
27 27  
28   - @Schema(title = "退款结果的回调地址", required = true)
  28 + @Schema(description = "退款结果的回调地址", required = true)
29 29 @NotNull(message = "退款结果的回调地址不能为空")
30 30 private String refundNotifyUrl;
31 31  
32   - @Schema(title = "商户编号", required = true)
  32 + @Schema(description = "商户编号", required = true)
33 33 @NotNull(message = "商户编号不能为空")
34 34 private Long merchantId;
35 35  
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/merchant/vo/app/PayAppCreateReqVO.java
... ... @@ -2,7 +2,7 @@ package cn.iocoder.yudao.module.pay.controller.admin.merchant.vo.app;
2 2 import io.swagger.v3.oas.annotations.media.Schema;
3 3 import lombok.*;
4 4  
5   -@Schema(title = "管理后台 - 支付应用信息创建 Request VO")
  5 +@Schema(description = "管理后台 - 支付应用信息创建 Request VO")
6 6 @Data
7 7 @EqualsAndHashCode(callSuper = true)
8 8 @ToString(callSuper = true)
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/merchant/vo/app/PayAppExportReqVO.java
... ... @@ -7,30 +7,30 @@ import org.springframework.format.annotation.DateTimeFormat;
7 7  
8 8 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
9 9  
10   -@Schema(title = "管理后台 - 支付应用信息 Excel 导出 Request VO", description = "参数和 PayAppPageReqVO 是一致的")
  10 +@Schema(description = "管理后台 - 支付应用信息 Excel 导出 Request VO,参数和 PayAppPageReqVO 是一致的")
11 11 @Data
12 12 public class PayAppExportReqVO {
13 13  
14   - @Schema(title = "应用名")
  14 + @Schema(description = "应用名")
15 15 private String name;
16 16  
17   - @Schema(title = "开启状态")
  17 + @Schema(description = "开启状态")
18 18 private Integer status;
19 19  
20   - @Schema(title = "备注")
  20 + @Schema(description = "备注")
21 21 private String remark;
22 22  
23   - @Schema(title = "支付结果的回调地址")
  23 + @Schema(description = "支付结果的回调地址")
24 24 private String payNotifyUrl;
25 25  
26   - @Schema(title = "退款结果的回调地址")
  26 + @Schema(description = "退款结果的回调地址")
27 27 private String refundNotifyUrl;
28 28  
29   - @Schema(title = "商户名称")
  29 + @Schema(description = "商户名称")
30 30 private String merchantName;
31 31  
32 32 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
33   - @Schema(title = "创建时间")
  33 + @Schema(description = "创建时间")
34 34 private LocalDateTime[] createTime;
35 35  
36 36 }
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/merchant/vo/app/PayAppPageItemRespVO.java
... ... @@ -8,16 +8,16 @@ import lombok.ToString;
8 8 import java.time.LocalDateTime;
9 9 import java.util.Set;
10 10  
11   -@Schema(title = "管理后台 - 支付应用信息分页查询 Response VO", description = "相比于支付信息,还会多出应用渠道的开关信息")
  11 +@Schema(description = "管理后台 - 支付应用信息分页查询 Response VO,相比于支付信息,还会多出应用渠道的开关信息")
12 12 @Data
13 13 @EqualsAndHashCode(callSuper = true)
14 14 @ToString(callSuper = true)
15 15 public class PayAppPageItemRespVO extends PayAppBaseVO {
16 16  
17   - @Schema(title = "应用编号", required = true)
  17 + @Schema(description = "应用编号", required = true)
18 18 private Long id;
19 19  
20   - @Schema(title = "创建时间", required = true)
  20 + @Schema(description = "创建时间", required = true)
21 21 private LocalDateTime createTime;
22 22  
23 23 /**
... ... @@ -25,19 +25,19 @@ public class PayAppPageItemRespVO extends PayAppBaseVO {
25 25 */
26 26 private PayMerchant payMerchant;
27 27  
28   - @Schema(title = "商户")
  28 + @Schema(description = "商户")
29 29 @Data
30 30 public static class PayMerchant {
31 31  
32   - @Schema(title = "商户编号", required = true, example = "1")
  32 + @Schema(description = "商户编号", required = true, example = "1")
33 33 private Long id;
34 34  
35   - @Schema(title = "商户名称", required = true, example = "研发部")
  35 + @Schema(description = "商户名称", required = true, example = "研发部")
36 36 private String name;
37 37  
38 38 }
39 39  
40   - @Schema(title = "渠道编码集合", required = true, example = "alipay_pc,alipay_wap...")
  40 + @Schema(description = "渠道编码集合", required = true, example = "alipay_pc,alipay_wap...")
41 41 private Set<String> channelCodes;
42 42  
43 43  
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/merchant/vo/app/PayAppPageReqVO.java
... ... @@ -8,32 +8,32 @@ import org.springframework.format.annotation.DateTimeFormat;
8 8  
9 9 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
10 10  
11   -@Schema(title = "管理后台 - 支付应用信息分页 Request VO")
  11 +@Schema(description = "管理后台 - 支付应用信息分页 Request VO")
12 12 @Data
13 13 @EqualsAndHashCode(callSuper = true)
14 14 @ToString(callSuper = true)
15 15 public class PayAppPageReqVO extends PageParam {
16 16  
17   - @Schema(title = "应用名")
  17 + @Schema(description = "应用名")
18 18 private String name;
19 19  
20   - @Schema(title = "开启状态")
  20 + @Schema(description = "开启状态")
21 21 private Integer status;
22 22  
23   - @Schema(title = "备注")
  23 + @Schema(description = "备注")
24 24 private String remark;
25 25  
26   - @Schema(title = "支付结果的回调地址")
  26 + @Schema(description = "支付结果的回调地址")
27 27 private String payNotifyUrl;
28 28  
29   - @Schema(title = "退款结果的回调地址")
  29 + @Schema(description = "退款结果的回调地址")
30 30 private String refundNotifyUrl;
31 31  
32   - @Schema(title = "商户名称")
  32 + @Schema(description = "商户名称")
33 33 private String merchantName;
34 34  
35 35 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
36   - @Schema(title = "创建时间")
  36 + @Schema(description = "创建时间")
37 37 private LocalDateTime[] createTime;
38 38  
39 39 }
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/merchant/vo/app/PayAppRespVO.java
... ... @@ -4,16 +4,16 @@ import lombok.*;
4 4  
5 5 import java.time.LocalDateTime;
6 6  
7   -@Schema(title = "管理后台 - 支付应用信息 Response VO")
  7 +@Schema(description = "管理后台 - 支付应用信息 Response VO")
8 8 @Data
9 9 @EqualsAndHashCode(callSuper = true)
10 10 @ToString(callSuper = true)
11 11 public class PayAppRespVO extends PayAppBaseVO {
12 12  
13   - @Schema(title = "应用编号", required = true)
  13 + @Schema(description = "应用编号", required = true)
14 14 private Long id;
15 15  
16   - @Schema(title = "创建时间", required = true)
  16 + @Schema(description = "创建时间", required = true)
17 17 private LocalDateTime createTime;
18 18  
19 19 }
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/merchant/vo/app/PayAppUpdateReqVO.java
... ... @@ -3,13 +3,13 @@ import io.swagger.v3.oas.annotations.media.Schema;
3 3 import lombok.*;
4 4 import javax.validation.constraints.*;
5 5  
6   -@Schema(title = "管理后台 - 支付应用信息更新 Request VO")
  6 +@Schema(description = "管理后台 - 支付应用信息更新 Request VO")
7 7 @Data
8 8 @EqualsAndHashCode(callSuper = true)
9 9 @ToString(callSuper = true)
10 10 public class PayAppUpdateReqVO extends PayAppBaseVO {
11 11  
12   - @Schema(title = "应用编号", required = true)
  12 + @Schema(description = "应用编号", required = true)
13 13 @NotNull(message = "应用编号不能为空")
14 14 private Long id;
15 15  
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/merchant/vo/app/PayAppUpdateStatusReqVO.java
... ... @@ -5,15 +5,15 @@ import lombok.Data;
5 5  
6 6 import javax.validation.constraints.NotNull;
7 7  
8   -@Schema(title = "管理后台 - 应用更新状态 Request VO")
  8 +@Schema(description = "管理后台 - 应用更新状态 Request VO")
9 9 @Data
10 10 public class PayAppUpdateStatusReqVO {
11 11  
12   - @Schema(title = "商户编号", required = true, example = "1024")
  12 + @Schema(description = "商户编号", required = true, example = "1024")
13 13 @NotNull(message = "商户编号不能为空")
14 14 private Long id;
15 15  
16   - @Schema(title = "状态", required = true, example = "1", description = "见 SysCommonStatusEnum 枚举")
  16 + @Schema(description = "状态,见 SysCommonStatusEnum 枚举", required = true, example = "1")
17 17 @NotNull(message = "状态不能为空")
18 18 private Integer status;
19 19  
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/merchant/vo/channel/PayChannelBaseVO.java
... ... @@ -10,26 +10,26 @@ import javax.validation.constraints.*;
10 10 @Data
11 11 public class PayChannelBaseVO {
12 12  
13   - @Schema(title = "渠道编码", required = true)
  13 + @Schema(description = "渠道编码", required = true)
14 14 @NotNull(message = "渠道编码不能为空")
15 15 private String code;
16 16  
17   - @Schema(title = "开启状态", required = true)
  17 + @Schema(description = "开启状态", required = true)
18 18 @NotNull(message = "开启状态不能为空")
19 19 private Integer status;
20 20  
21   - @Schema(title = "备注")
  21 + @Schema(description = "备注")
22 22 private String remark;
23 23  
24   - @Schema(title = "渠道费率,单位:百分比", required = true)
  24 + @Schema(description = "渠道费率,单位:百分比", required = true)
25 25 @NotNull(message = "渠道费率,单位:百分比不能为空")
26 26 private Double feeRate;
27 27  
28   - @Schema(title = "商户编号", required = true)
  28 + @Schema(description = "商户编号", required = true)
29 29 @NotNull(message = "商户编号不能为空")
30 30 private Long merchantId;
31 31  
32   - @Schema(title = "应用编号", required = true)
  32 + @Schema(description = "应用编号", required = true)
33 33 @NotNull(message = "应用编号不能为空")
34 34 private Long appId;
35 35  
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/merchant/vo/channel/PayChannelCreateReqVO.java
... ... @@ -7,13 +7,13 @@ import lombok.ToString;
7 7  
8 8 import javax.validation.constraints.NotBlank;
9 9  
10   -@Schema(title = "管理后台 - 支付渠道 创建 Request VO")
  10 +@Schema(description = "管理后台 - 支付渠道 创建 Request VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class PayChannelCreateReqVO extends PayChannelBaseVO {
15 15  
16   - @Schema(title = "渠道配置的 json 字符串")
  16 + @Schema(description = "渠道配置的 json 字符串")
17 17 @NotBlank(message = "渠道配置不能为空")
18 18 private String config;
19 19  
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/merchant/vo/channel/PayChannelExportReqVO.java
... ... @@ -7,33 +7,33 @@ import org.springframework.format.annotation.DateTimeFormat;
7 7  
8 8 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
9 9  
10   -@Schema(title = "管理后台 - 支付渠道 Excel 导出 Request VO", description = "参数和 PayChannelPageReqVO 是一致的")
  10 +@Schema(description = "管理后台 - 支付渠道 Excel 导出 Request VO,参数和 PayChannelPageReqVO 是一致的")
11 11 @Data
12 12 public class PayChannelExportReqVO {
13 13  
14   - @Schema(title = "渠道编码")
  14 + @Schema(description = "渠道编码")
15 15 private String code;
16 16  
17   - @Schema(title = "开启状态")
  17 + @Schema(description = "开启状态")
18 18 private Integer status;
19 19  
20   - @Schema(title = "备注")
  20 + @Schema(description = "备注")
21 21 private String remark;
22 22  
23   - @Schema(title = "渠道费率,单位:百分比")
  23 + @Schema(description = "渠道费率,单位:百分比")
24 24 private Double feeRate;
25 25  
26   - @Schema(title = "商户编号")
  26 + @Schema(description = "商户编号")
27 27 private Long merchantId;
28 28  
29   - @Schema(title = "应用编号")
  29 + @Schema(description = "应用编号")
30 30 private Long appId;
31 31  
32   - @Schema(title = "支付渠道配置")
  32 + @Schema(description = "支付渠道配置")
33 33 private String config;
34 34  
35 35 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
36   - @Schema(title = "创建时间")
  36 + @Schema(description = "创建时间")
37 37 private LocalDateTime[] createTime;
38 38  
39 39 }
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/merchant/vo/channel/PayChannelPageReqVO.java
... ... @@ -8,35 +8,35 @@ import org.springframework.format.annotation.DateTimeFormat;
8 8  
9 9 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
10 10  
11   -@Schema(title = "管理后台 - 支付渠道 分页 Request VO")
  11 +@Schema(description = "管理后台 - 支付渠道 分页 Request VO")
12 12 @Data
13 13 @EqualsAndHashCode(callSuper = true)
14 14 @ToString(callSuper = true)
15 15 public class PayChannelPageReqVO extends PageParam {
16 16  
17   - @Schema(title = "渠道编码")
  17 + @Schema(description = "渠道编码")
18 18 private String code;
19 19  
20   - @Schema(title = "开启状态")
  20 + @Schema(description = "开启状态")
21 21 private Integer status;
22 22  
23   - @Schema(title = "备注")
  23 + @Schema(description = "备注")
24 24 private String remark;
25 25  
26   - @Schema(title = "渠道费率,单位:百分比")
  26 + @Schema(description = "渠道费率,单位:百分比")
27 27 private Double feeRate;
28 28  
29   - @Schema(title = "商户编号")
  29 + @Schema(description = "商户编号")
30 30 private Long merchantId;
31 31  
32   - @Schema(title = "应用编号")
  32 + @Schema(description = "应用编号")
33 33 private Long appId;
34 34  
35   - @Schema(title = "支付渠道配置")
  35 + @Schema(description = "支付渠道配置")
36 36 private String config;
37 37  
38 38 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
39   - @Schema(title = "创建时间")
  39 + @Schema(description = "创建时间")
40 40 private LocalDateTime[] createTime;
41 41  
42 42 }
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/merchant/vo/channel/PayChannelRespVO.java
... ... @@ -4,18 +4,18 @@ import lombok.*;
4 4  
5 5 import java.time.LocalDateTime;
6 6  
7   -@Schema(title = "管理后台 - 支付渠道 Response VO")
  7 +@Schema(description = "管理后台 - 支付渠道 Response VO")
8 8 @Data
9 9 @EqualsAndHashCode(callSuper = true)
10 10 @ToString(callSuper = true)
11 11 public class PayChannelRespVO extends PayChannelBaseVO {
12 12  
13   - @Schema(title = "商户编号", required = true)
  13 + @Schema(description = "商户编号", required = true)
14 14 private Long id;
15 15  
16   - @Schema(title = "创建时间", required = true)
  16 + @Schema(description = "创建时间", required = true)
17 17 private LocalDateTime createTime;
18 18  
19   - @Schema(title = "配置", required = true)
  19 + @Schema(description = "配置", required = true)
20 20 private String config;
21 21 }
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/merchant/vo/channel/PayChannelUpdateReqVO.java
... ... @@ -3,17 +3,17 @@ import io.swagger.v3.oas.annotations.media.Schema;
3 3 import lombok.*;
4 4 import javax.validation.constraints.*;
5 5  
6   -@Schema(title = "管理后台 - 支付渠道 更新 Request VO")
  6 +@Schema(description = "管理后台 - 支付渠道 更新 Request VO")
7 7 @Data
8 8 @EqualsAndHashCode(callSuper = true)
9 9 @ToString(callSuper = true)
10 10 public class PayChannelUpdateReqVO extends PayChannelBaseVO {
11 11  
12   - @Schema(title = "商户编号", required = true)
  12 + @Schema(description = "商户编号", required = true)
13 13 @NotNull(message = "商户编号不能为空")
14 14 private Long id;
15 15  
16   - @Schema(title = "渠道配置的json字符串")
  16 + @Schema(description = "渠道配置的json字符串")
17 17 @NotBlank(message = "渠道配置不能为空")
18 18 private String config;
19 19 }
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/merchant/vo/merchant/PayMerchantBaseVO.java
... ... @@ -11,19 +11,19 @@ import javax.validation.constraints.NotNull;
11 11 @Data
12 12 public class PayMerchantBaseVO {
13 13  
14   - @Schema(title = "商户全称", required = true)
  14 + @Schema(description = "商户全称", required = true)
15 15 @NotNull(message = "商户全称不能为空")
16 16 private String name;
17 17  
18   - @Schema(title = "商户简称", required = true)
  18 + @Schema(description = "商户简称", required = true)
19 19 @NotNull(message = "商户简称不能为空")
20 20 private String shortName;
21 21  
22   - @Schema(title = "开启状态", required = true)
  22 + @Schema(description = "开启状态", required = true)
23 23 @NotNull(message = "开启状态不能为空")
24 24 private Integer status;
25 25  
26   - @Schema(title = "备注")
  26 + @Schema(description = "备注")
27 27 private String remark;
28 28  
29 29 }
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/merchant/vo/merchant/PayMerchantCreateReqVO.java
... ... @@ -2,7 +2,7 @@ package cn.iocoder.yudao.module.pay.controller.admin.merchant.vo.merchant;
2 2 import io.swagger.v3.oas.annotations.media.Schema;
3 3 import lombok.*;
4 4  
5   -@Schema(title = "管理后台 - 支付商户信息创建 Request VO")
  5 +@Schema(description = "管理后台 - 支付商户信息创建 Request VO")
6 6 @Data
7 7 @EqualsAndHashCode(callSuper = true)
8 8 @ToString(callSuper = true)
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/merchant/vo/merchant/PayMerchantExportReqVO.java
... ... @@ -7,27 +7,27 @@ import org.springframework.format.annotation.DateTimeFormat;
7 7  
8 8 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
9 9  
10   -@Schema(title = "管理后台 - 支付商户信息 Excel 导出 Request VO", description = "参数和 PayMerchantPageReqVO 是一致的")
  10 +@Schema(description = "管理后台 - 支付商户信息 Excel 导出 Request VO,参数和 PayMerchantPageReqVO 是一致的")
11 11 @Data
12 12 public class PayMerchantExportReqVO {
13 13  
14   - @Schema(title = "商户号")
  14 + @Schema(description = "商户号")
15 15 private String no;
16 16  
17   - @Schema(title = "商户全称")
  17 + @Schema(description = "商户全称")
18 18 private String name;
19 19  
20   - @Schema(title = "商户简称")
  20 + @Schema(description = "商户简称")
21 21 private String shortName;
22 22  
23   - @Schema(title = "开启状态")
  23 + @Schema(description = "开启状态")
24 24 private Integer status;
25 25  
26   - @Schema(title = "备注")
  26 + @Schema(description = "备注")
27 27 private String remark;
28 28  
29 29 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
30   - @Schema(title = "创建时间")
  30 + @Schema(description = "创建时间")
31 31 private LocalDateTime[] createTime;
32 32  
33 33 }
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/merchant/vo/merchant/PayMerchantPageReqVO.java
... ... @@ -8,29 +8,29 @@ import org.springframework.format.annotation.DateTimeFormat;
8 8  
9 9 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
10 10  
11   -@Schema(title = "管理后台 - 支付商户信息分页 Request VO")
  11 +@Schema(description = "管理后台 - 支付商户信息分页 Request VO")
12 12 @Data
13 13 @EqualsAndHashCode(callSuper = true)
14 14 @ToString(callSuper = true)
15 15 public class PayMerchantPageReqVO extends PageParam {
16 16  
17   - @Schema(title = "商户号")
  17 + @Schema(description = "商户号")
18 18 private String no;
19 19  
20   - @Schema(title = "商户全称")
  20 + @Schema(description = "商户全称")
21 21 private String name;
22 22  
23   - @Schema(title = "商户简称")
  23 + @Schema(description = "商户简称")
24 24 private String shortName;
25 25  
26   - @Schema(title = "开启状态")
  26 + @Schema(description = "开启状态")
27 27 private Integer status;
28 28  
29   - @Schema(title = "备注")
  29 + @Schema(description = "备注")
30 30 private String remark;
31 31  
32 32 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
33   - @Schema(title = "创建时间")
  33 + @Schema(description = "创建时间")
34 34 private LocalDateTime[] createTime;
35 35  
36 36 }
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/merchant/vo/merchant/PayMerchantRespVO.java
... ... @@ -7,19 +7,19 @@ import lombok.ToString;
7 7  
8 8 import java.time.LocalDateTime;
9 9  
10   -@Schema(title = "管理后台 - 支付商户信息 Response VO")
  10 +@Schema(description = "管理后台 - 支付商户信息 Response VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class PayMerchantRespVO extends PayMerchantBaseVO {
15 15  
16   - @Schema(title = "商户编号", required = true)
  16 + @Schema(description = "商户编号", required = true)
17 17 private Long id;
18 18  
19   - @Schema(title = "创建时间", required = true)
  19 + @Schema(description = "创建时间", required = true)
20 20 private LocalDateTime createTime;
21 21  
22   - @Schema(title = "商户号", required = true, example = "M233666999")
  22 + @Schema(description = "商户号", required = true, example = "M233666999")
23 23 private String no;
24 24  
25 25 }
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/merchant/vo/merchant/PayMerchantUpdateReqVO.java
... ... @@ -3,13 +3,13 @@ import io.swagger.v3.oas.annotations.media.Schema;
3 3 import lombok.*;
4 4 import javax.validation.constraints.*;
5 5  
6   -@Schema(title = "管理后台 - 支付商户信息更新 Request VO")
  6 +@Schema(description = "管理后台 - 支付商户信息更新 Request VO")
7 7 @Data
8 8 @EqualsAndHashCode(callSuper = true)
9 9 @ToString(callSuper = true)
10 10 public class PayMerchantUpdateReqVO extends PayMerchantBaseVO {
11 11  
12   - @Schema(title = "商户编号", required = true)
  12 + @Schema(description = "商户编号", required = true)
13 13 @NotNull(message = "商户编号不能为空")
14 14 private Long id;
15 15  
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/merchant/vo/merchant/PayMerchantUpdateStatusReqVO.java
... ... @@ -5,15 +5,15 @@ import lombok.Data;
5 5  
6 6 import javax.validation.constraints.NotNull;
7 7  
8   -@Schema(title = "管理后台 - 商户更新状态 Request VO")
  8 +@Schema(description = "管理后台 - 商户更新状态 Request VO")
9 9 @Data
10 10 public class PayMerchantUpdateStatusReqVO {
11 11  
12   - @Schema(title = "商户编号", required = true, example = "1024")
  12 + @Schema(description = "商户编号", required = true, example = "1024")
13 13 @NotNull(message = "商户编号不能为空")
14 14 private Long id;
15 15  
16   - @Schema(title = "状态", required = true, example = "1", description = "见 SysCommonStatusEnum 枚举")
  16 + @Schema(description = "状态,见 SysCommonStatusEnum 枚举", required = true, example = "1")
17 17 @NotNull(message = "状态不能为空")
18 18 private Integer status;
19 19  
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/order/vo/PayOrderBaseVO.java
... ... @@ -17,90 +17,90 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_
17 17 @Data
18 18 public class PayOrderBaseVO {
19 19  
20   - @Schema(title = "商户编号", required = true)
  20 + @Schema(description = "商户编号", required = true)
21 21 @NotNull(message = "商户编号不能为空")
22 22 private Long merchantId;
23 23  
24   - @Schema(title = "应用编号", required = true)
  24 + @Schema(description = "应用编号", required = true)
25 25 @NotNull(message = "应用编号不能为空")
26 26 private Long appId;
27 27  
28   - @Schema(title = "渠道编号")
  28 + @Schema(description = "渠道编号")
29 29 private Long channelId;
30 30  
31   - @Schema(title = "渠道编码")
  31 + @Schema(description = "渠道编码")
32 32 private String channelCode;
33 33  
34   - @Schema(title = "商户订单编号", required = true)
  34 + @Schema(description = "商户订单编号", required = true)
35 35 @NotNull(message = "商户订单编号不能为空")
36 36 private String merchantOrderId;
37 37  
38   - @Schema(title = "商品标题", required = true)
  38 + @Schema(description = "商品标题", required = true)
39 39 @NotNull(message = "商品标题不能为空")
40 40 private String subject;
41 41  
42   - @Schema(title = "商品描述", required = true)
  42 + @Schema(description = "商品描述", required = true)
43 43 @NotNull(message = "商品描述不能为空")
44 44 private String body;
45 45  
46   - @Schema(title = "异步通知地址", required = true)
  46 + @Schema(description = "异步通知地址", required = true)
47 47 @NotNull(message = "异步通知地址不能为空")
48 48 private String notifyUrl;
49 49  
50   - @Schema(title = "通知商户支付结果的回调状态", required = true)
  50 + @Schema(description = "通知商户支付结果的回调状态", required = true)
51 51 @NotNull(message = "通知商户支付结果的回调状态不能为空")
52 52 private Integer notifyStatus;
53 53  
54   - @Schema(title = "支付金额,单位:分", required = true)
  54 + @Schema(description = "支付金额,单位:分", required = true)
55 55 @NotNull(message = "支付金额,单位:分不能为空")
56 56 private Long amount;
57 57  
58   - @Schema(title = "渠道手续费,单位:百分比")
  58 + @Schema(description = "渠道手续费,单位:百分比")
59 59 private Double channelFeeRate;
60 60  
61   - @Schema(title = "渠道手续金额,单位:分")
  61 + @Schema(description = "渠道手续金额,单位:分")
62 62 private Long channelFeeAmount;
63 63  
64   - @Schema(title = "支付状态", required = true)
  64 + @Schema(description = "支付状态", required = true)
65 65 @NotNull(message = "支付状态不能为空")
66 66 private Integer status;
67 67  
68   - @Schema(title = "用户 IP", required = true)
  68 + @Schema(description = "用户 IP", required = true)
69 69 @NotNull(message = "用户 IP不能为空")
70 70 private String userIp;
71 71  
72   - @Schema(title = "订单失效时间", required = true)
  72 + @Schema(description = "订单失效时间", required = true)
73 73 @NotNull(message = "订单失效时间不能为空")
74 74 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
75 75 private LocalDateTime expireTime;
76 76  
77   - @Schema(title = "订单支付成功时间")
  77 + @Schema(description = "订单支付成功时间")
78 78 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
79 79 private LocalDateTime successTime;
80 80  
81   - @Schema(title = "订单支付通知时间")
  81 + @Schema(description = "订单支付通知时间")
82 82 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
83 83 private LocalDateTime notifyTime;
84 84  
85   - @Schema(title = "支付成功的订单拓展单编号")
  85 + @Schema(description = "支付成功的订单拓展单编号")
86 86 private Long successExtensionId;
87 87  
88   - @Schema(title = "退款状态", required = true)
  88 + @Schema(description = "退款状态", required = true)
89 89 @NotNull(message = "退款状态不能为空")
90 90 private Integer refundStatus;
91 91  
92   - @Schema(title = "退款次数", required = true)
  92 + @Schema(description = "退款次数", required = true)
93 93 @NotNull(message = "退款次数不能为空")
94 94 private Integer refundTimes;
95 95  
96   - @Schema(title = "退款总金额,单位:分", required = true)
  96 + @Schema(description = "退款总金额,单位:分", required = true)
97 97 @NotNull(message = "退款总金额,单位:分不能为空")
98 98 private Long refundAmount;
99 99  
100   - @Schema(title = "渠道用户编号")
  100 + @Schema(description = "渠道用户编号")
101 101 private String channelUserId;
102 102  
103   - @Schema(title = "渠道订单号")
  103 + @Schema(description = "渠道订单号")
104 104 private String channelOrderNo;
105 105  
106 106 }
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/order/vo/PayOrderDetailsRespVO.java
... ... @@ -7,25 +7,25 @@ import lombok.ToString;
7 7  
8 8 import java.time.LocalDateTime;
9 9  
10   -@Schema(title = "管理后台 - 支付订单详细信息 Response VO")
  10 +@Schema(description = "管理后台 - 支付订单详细信息 Response VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class PayOrderDetailsRespVO extends PayOrderBaseVO {
15 15  
16   - @Schema(title = "支付订单编号")
  16 + @Schema(description = "支付订单编号")
17 17 private Long id;
18 18  
19   - @Schema(title = "商户名称")
  19 + @Schema(description = "商户名称")
20 20 private String merchantName;
21 21  
22   - @Schema(title = "应用名称")
  22 + @Schema(description = "应用名称")
23 23 private String appName;
24 24  
25   - @Schema(title = "渠道编号名称")
  25 + @Schema(description = "渠道编号名称")
26 26 private String channelCodeName;
27 27  
28   - @Schema(title = "创建时间")
  28 + @Schema(description = "创建时间")
29 29 private LocalDateTime createTime;
30 30  
31 31 /**
... ... @@ -34,13 +34,13 @@ public class PayOrderDetailsRespVO extends PayOrderBaseVO {
34 34 private PayOrderExtension payOrderExtension;
35 35  
36 36 @Data
37   - @Schema(title = "支付订单扩展")
  37 + @Schema(description = "支付订单扩展")
38 38 public static class PayOrderExtension {
39 39  
40   - @Schema(title = "支付订单号")
  40 + @Schema(description = "支付订单号")
41 41 private String no;
42 42  
43   - @Schema(title = "支付异步通知的内容")
  43 + @Schema(description = "支付异步通知的内容")
44 44 private String channelNotifyData;
45 45 }
46 46  
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/order/vo/PayOrderExportReqVO.java
... ... @@ -8,84 +8,84 @@ import java.time.LocalDateTime;
8 8  
9 9 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
10 10  
11   -@Schema(title = "管理后台 - 支付订单 Excel 导出 Request VO", description = "参数和 PayOrderPageReqVO 是一致的")
  11 +@Schema(description = "管理后台 - 支付订单 Excel 导出 Request VO,参数和 PayOrderPageReqVO 是一致的")
12 12 @Data
13 13 public class PayOrderExportReqVO {
14 14  
15   - @Schema(title = "商户编号")
  15 + @Schema(description = "商户编号")
16 16 private Long merchantId;
17 17  
18   - @Schema(title = "应用编号")
  18 + @Schema(description = "应用编号")
19 19 private Long appId;
20 20  
21   - @Schema(title = "渠道编号")
  21 + @Schema(description = "渠道编号")
22 22 private Long channelId;
23 23  
24   - @Schema(title = "渠道编码")
  24 + @Schema(description = "渠道编码")
25 25 private String channelCode;
26 26  
27   - @Schema(title = "商户订单编号")
  27 + @Schema(description = "商户订单编号")
28 28 private String merchantOrderId;
29 29  
30   - @Schema(title = "商品标题")
  30 + @Schema(description = "商品标题")
31 31 private String subject;
32 32  
33   - @Schema(title = "商品描述")
  33 + @Schema(description = "商品描述")
34 34 private String body;
35 35  
36   - @Schema(title = "异步通知地址")
  36 + @Schema(description = "异步通知地址")
37 37 private String notifyUrl;
38 38  
39   - @Schema(title = "通知商户支付结果的回调状态")
  39 + @Schema(description = "通知商户支付结果的回调状态")
40 40 private Integer notifyStatus;
41 41  
42   - @Schema(title = "支付金额,单位:分")
  42 + @Schema(description = "支付金额,单位:分")
43 43 private Long amount;
44 44  
45   - @Schema(title = "渠道手续费,单位:百分比")
  45 + @Schema(description = "渠道手续费,单位:百分比")
46 46 private Double channelFeeRate;
47 47  
48   - @Schema(title = "渠道手续金额,单位:分")
  48 + @Schema(description = "渠道手续金额,单位:分")
49 49 private Long channelFeeAmount;
50 50  
51   - @Schema(title = "支付状态")
  51 + @Schema(description = "支付状态")
52 52 private Integer status;
53 53  
54   - @Schema(title = "用户 IP")
  54 + @Schema(description = "用户 IP")
55 55 private String userIp;
56 56  
57 57 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
58   - @Schema(title = "订单失效时间")
  58 + @Schema(description = "订单失效时间")
59 59 private LocalDateTime[] expireTime;
60 60  
61 61 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
62   - @Schema(title = "开始订单支付成功时间")
  62 + @Schema(description = "开始订单支付成功时间")
63 63 private LocalDateTime[] successTime;
64 64  
65 65 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
66   - @Schema(title = "开始订单支付通知时间")
  66 + @Schema(description = "开始订单支付通知时间")
67 67 private LocalDateTime[] notifyTime;
68 68  
69   - @Schema(title = "支付成功的订单拓展单编号")
  69 + @Schema(description = "支付成功的订单拓展单编号")
70 70 private Long successExtensionId;
71 71  
72   - @Schema(title = "退款状态")
  72 + @Schema(description = "退款状态")
73 73 private Integer refundStatus;
74 74  
75   - @Schema(title = "退款次数")
  75 + @Schema(description = "退款次数")
76 76 private Integer refundTimes;
77 77  
78   - @Schema(title = "退款总金额,单位:分")
  78 + @Schema(description = "退款总金额,单位:分")
79 79 private Long refundAmount;
80 80  
81   - @Schema(title = "渠道用户编号")
  81 + @Schema(description = "渠道用户编号")
82 82 private String channelUserId;
83 83  
84   - @Schema(title = "渠道订单号")
  84 + @Schema(description = "渠道订单号")
85 85 private String channelOrderNo;
86 86  
87 87 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
88   - @Schema(title = "创建时间")
  88 + @Schema(description = "创建时间")
89 89 private LocalDateTime[] createTime;
90 90  
91 91 }
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/order/vo/PayOrderPageItemRespVO.java
... ... @@ -7,28 +7,28 @@ import lombok.ToString;
7 7  
8 8 import java.time.LocalDateTime;
9 9  
10   -@Schema(title = "管理后台 - 支付订单分页 Request VO")
  10 +@Schema(description = "管理后台 - 支付订单分页 Request VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class PayOrderPageItemRespVO extends PayOrderBaseVO {
15 15  
16   - @Schema(title = "支付订单编号", required = true)
  16 + @Schema(description = "支付订单编号", required = true)
17 17 private Long id;
18 18  
19   - @Schema(title = "创建时间", required = true)
  19 + @Schema(description = "创建时间", required = true)
20 20 private LocalDateTime createTime;
21 21  
22   - @Schema(title = "商户名称")
  22 + @Schema(description = "商户名称")
23 23 private String merchantName;
24 24  
25   - @Schema(title = "应用名称")
  25 + @Schema(description = "应用名称")
26 26 private String appName;
27 27  
28   - @Schema(title = "渠道名称")
  28 + @Schema(description = "渠道名称")
29 29 private String channelCodeName;
30 30  
31   - @Schema(title = "支付订单号")
  31 + @Schema(description = "支付订单号")
32 32 private String no;
33 33  
34 34  
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/order/vo/PayOrderPageReqVO.java
... ... @@ -11,86 +11,86 @@ import java.time.LocalDateTime;
11 11  
12 12 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
13 13  
14   -@Schema(title = "管理后台 - 支付订单分页 Request VO")
  14 +@Schema(description = "管理后台 - 支付订单分页 Request VO")
15 15 @Data
16 16 @EqualsAndHashCode(callSuper = true)
17 17 @ToString(callSuper = true)
18 18 public class PayOrderPageReqVO extends PageParam {
19 19  
20   - @Schema(title = "商户编号")
  20 + @Schema(description = "商户编号")
21 21 private Long merchantId;
22 22  
23   - @Schema(title = "应用编号")
  23 + @Schema(description = "应用编号")
24 24 private Long appId;
25 25  
26   - @Schema(title = "渠道编号")
  26 + @Schema(description = "渠道编号")
27 27 private Long channelId;
28 28  
29   - @Schema(title = "渠道编码")
  29 + @Schema(description = "渠道编码")
30 30 private String channelCode;
31 31  
32   - @Schema(title = "商户订单编号")
  32 + @Schema(description = "商户订单编号")
33 33 private String merchantOrderId;
34 34  
35   - @Schema(title = "商品标题")
  35 + @Schema(description = "商品标题")
36 36 private String subject;
37 37  
38   - @Schema(title = "商品描述")
  38 + @Schema(description = "商品描述")
39 39 private String body;
40 40  
41   - @Schema(title = "异步通知地址")
  41 + @Schema(description = "异步通知地址")
42 42 private String notifyUrl;
43 43  
44   - @Schema(title = "通知商户支付结果的回调状态")
  44 + @Schema(description = "通知商户支付结果的回调状态")
45 45 private Integer notifyStatus;
46 46  
47   - @Schema(title = "支付金额,单位:分")
  47 + @Schema(description = "支付金额,单位:分")
48 48 private Long amount;
49 49  
50   - @Schema(title = "渠道手续费,单位:百分比")
  50 + @Schema(description = "渠道手续费,单位:百分比")
51 51 private Double channelFeeRate;
52 52  
53   - @Schema(title = "渠道手续金额,单位:分")
  53 + @Schema(description = "渠道手续金额,单位:分")
54 54 private Long channelFeeAmount;
55 55  
56   - @Schema(title = "支付状态")
  56 + @Schema(description = "支付状态")
57 57 private Integer status;
58 58  
59   - @Schema(title = "用户 IP")
  59 + @Schema(description = "用户 IP")
60 60 private String userIp;
61 61  
62 62 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
63   - @Schema(title = "订单失效时间")
  63 + @Schema(description = "订单失效时间")
64 64 private LocalDateTime[] expireTime;
65 65  
66 66 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
67   - @Schema(title = "订单支付成功时间")
  67 + @Schema(description = "订单支付成功时间")
68 68 private LocalDateTime[] successTime;
69 69  
70 70 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
71   - @Schema(title = "订单支付通知时间")
  71 + @Schema(description = "订单支付通知时间")
72 72 private LocalDateTime[] notifyTime;
73 73  
74   - @Schema(title = "支付成功的订单拓展单编号")
  74 + @Schema(description = "支付成功的订单拓展单编号")
75 75 private Long successExtensionId;
76 76  
77   - @Schema(title = "退款状态")
  77 + @Schema(description = "退款状态")
78 78 private Integer refundStatus;
79 79  
80   - @Schema(title = "退款次数")
  80 + @Schema(description = "退款次数")
81 81 private Integer refundTimes;
82 82  
83   - @Schema(title = "退款总金额,单位:分")
  83 + @Schema(description = "退款总金额,单位:分")
84 84 private Long refundAmount;
85 85  
86   - @Schema(title = "渠道用户编号")
  86 + @Schema(description = "渠道用户编号")
87 87 private String channelUserId;
88 88  
89   - @Schema(title = "渠道订单号")
  89 + @Schema(description = "渠道订单号")
90 90 private String channelOrderNo;
91 91  
92 92 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
93   - @Schema(title = "创建时间")
  93 + @Schema(description = "创建时间")
94 94 private LocalDateTime[] createTime;
95 95  
96 96 }
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/order/vo/PayOrderRespVO.java
... ... @@ -7,16 +7,16 @@ import lombok.ToString;
7 7  
8 8 import java.time.LocalDateTime;
9 9  
10   -@Schema(title = "管理后台 - 支付订单 Response VO")
  10 +@Schema(description = "管理后台 - 支付订单 Response VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class PayOrderRespVO extends PayOrderBaseVO {
15 15  
16   - @Schema(title = "支付订单编号", required = true)
  16 + @Schema(description = "支付订单编号", required = true)
17 17 private Long id;
18 18  
19   - @Schema(title = "创建时间", required = true)
  19 + @Schema(description = "创建时间", required = true)
20 20 private LocalDateTime createTime;
21 21  
22 22 }
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/refund/vo/PayRefundBaseVO.java
... ... @@ -15,94 +15,94 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_
15 15 @Data
16 16 public class PayRefundBaseVO {
17 17  
18   - @Schema(title = "商户编号", required = true)
  18 + @Schema(description = "商户编号", required = true)
19 19 @NotNull(message = "商户编号不能为空")
20 20 private Long merchantId;
21 21  
22   - @Schema(title = "应用编号", required = true)
  22 + @Schema(description = "应用编号", required = true)
23 23 @NotNull(message = "应用编号不能为空")
24 24 private Long appId;
25 25  
26   - @Schema(title = "渠道编号", required = true)
  26 + @Schema(description = "渠道编号", required = true)
27 27 @NotNull(message = "渠道编号不能为空")
28 28 private Long channelId;
29 29  
30   - @Schema(title = "渠道编码", required = true)
  30 + @Schema(description = "渠道编码", required = true)
31 31 @NotNull(message = "渠道编码不能为空")
32 32 private String channelCode;
33 33  
34   - @Schema(title = "支付订单编号 pay_order 表id", required = true)
  34 + @Schema(description = "支付订单编号 pay_order 表id", required = true)
35 35 @NotNull(message = "支付订单编号 pay_order 表id不能为空")
36 36 private Long orderId;
37 37  
38   - @Schema(title = "交易订单号 pay_extension 表no 字段", required = true)
  38 + @Schema(description = "交易订单号 pay_extension 表no 字段", required = true)
39 39 @NotNull(message = "交易订单号 pay_extension 表no 字段不能为空")
40 40 private String tradeNo;
41 41  
42   - @Schema(title = "商户订单编号(商户系统生成)", required = true)
  42 + @Schema(description = "商户订单编号(商户系统生成)", required = true)
43 43 @NotNull(message = "商户订单编号(商户系统生成)不能为空")
44 44 private String merchantOrderId;
45 45  
46   - @Schema(title = "商户退款订单号(商户系统生成)", required = true)
  46 + @Schema(description = "商户退款订单号(商户系统生成)", required = true)
47 47 @NotNull(message = "商户退款订单号(商户系统生成)不能为空")
48 48 private String merchantRefundNo;
49 49  
50   - @Schema(title = "异步通知商户地址", required = true)
  50 + @Schema(description = "异步通知商户地址", required = true)
51 51 @NotNull(message = "异步通知商户地址不能为空")
52 52 private String notifyUrl;
53 53  
54   - @Schema(title = "通知商户退款结果的回调状态", required = true)
  54 + @Schema(description = "通知商户退款结果的回调状态", required = true)
55 55 @NotNull(message = "通知商户退款结果的回调状态不能为空")
56 56 private Integer notifyStatus;
57 57  
58   - @Schema(title = "退款状态", required = true)
  58 + @Schema(description = "退款状态", required = true)
59 59 @NotNull(message = "退款状态不能为空")
60 60 private Integer status;
61 61  
62   - @Schema(title = "退款类型(部分退款,全部退款)", required = true)
  62 + @Schema(description = "退款类型(部分退款,全部退款)", required = true)
63 63 @NotNull(message = "退款类型(部分退款,全部退款)不能为空")
64 64 private Integer type;
65 65  
66   - @Schema(title = "支付金额,单位分", required = true)
  66 + @Schema(description = "支付金额,单位分", required = true)
67 67 @NotNull(message = "支付金额,单位分不能为空")
68 68 private Long payAmount;
69 69  
70   - @Schema(title = "退款金额,单位分", required = true)
  70 + @Schema(description = "退款金额,单位分", required = true)
71 71 @NotNull(message = "退款金额,单位分不能为空")
72 72 private Long refundAmount;
73 73  
74   - @Schema(title = "退款原因", required = true)
  74 + @Schema(description = "退款原因", required = true)
75 75 @NotNull(message = "退款原因不能为空")
76 76 private String reason;
77 77  
78   - @Schema(title = "用户 IP")
  78 + @Schema(description = "用户 IP")
79 79 private String userIp;
80 80  
81   - @Schema(title = "渠道订单号,pay_order 中的channel_order_no 对应", required = true)
  81 + @Schema(description = "渠道订单号,pay_order 中的channel_order_no 对应", required = true)
82 82 @NotNull(message = "渠道订单号,pay_order 中的channel_order_no 对应不能为空")
83 83 private String channelOrderNo;
84 84  
85   - @Schema(title = "渠道退款单号,渠道返回")
  85 + @Schema(description = "渠道退款单号,渠道返回")
86 86 private String channelRefundNo;
87 87  
88   - @Schema(title = "渠道调用报错时,错误码")
  88 + @Schema(description = "渠道调用报错时,错误码")
89 89 private String channelErrorCode;
90 90  
91   - @Schema(title = "渠道调用报错时,错误信息")
  91 + @Schema(description = "渠道调用报错时,错误信息")
92 92 private String channelErrorMsg;
93 93  
94   - @Schema(title = "支付渠道的额外参数")
  94 + @Schema(description = "支付渠道的额外参数")
95 95 private String channelExtras;
96 96  
97   - @Schema(title = "退款失效时间")
  97 + @Schema(description = "退款失效时间")
98 98 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
99 99 private LocalDateTime expireTime;
100 100  
101   - @Schema(title = "退款成功时间")
  101 + @Schema(description = "退款成功时间")
102 102 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
103 103 private LocalDateTime successTime;
104 104  
105   - @Schema(title = "退款通知时间")
  105 + @Schema(description = "退款通知时间")
106 106 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
107 107 private LocalDateTime notifyTime;
108 108  
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/refund/vo/PayRefundCreateReqVO.java
... ... @@ -2,7 +2,7 @@ package cn.iocoder.yudao.module.pay.controller.admin.refund.vo;
2 2 import io.swagger.v3.oas.annotations.media.Schema;
3 3 import lombok.*;
4 4  
5   -@Schema(title = "管理后台 - 退款订单创建 Request VO")
  5 +@Schema(description = "管理后台 - 退款订单创建 Request VO")
6 6 @Data
7 7 @EqualsAndHashCode(callSuper = true)
8 8 @ToString(callSuper = true)
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/refund/vo/PayRefundDetailsRespVO.java
... ... @@ -8,31 +8,31 @@ import lombok.ToString;
8 8 import javax.validation.constraints.NotNull;
9 9 import java.time.LocalDateTime;
10 10  
11   -@Schema(title = "管理后台 - 退款订单详情 Response VO")
  11 +@Schema(description = "管理后台 - 退款订单详情 Response VO")
12 12 @Data
13 13 @EqualsAndHashCode(callSuper = true)
14 14 @ToString(callSuper = true)
15 15 public class PayRefundDetailsRespVO extends PayRefundBaseVO {
16 16  
17   - @Schema(title = "支付退款编号", required = true)
  17 + @Schema(description = "支付退款编号", required = true)
18 18 private Long id;
19 19  
20   - @Schema(title = "商户名称")
  20 + @Schema(description = "商户名称")
21 21 private String merchantName;
22 22  
23   - @Schema(title = "应用名称")
  23 + @Schema(description = "应用名称")
24 24 private String appName;
25 25  
26   - @Schema(title = "渠道编号名称")
  26 + @Schema(description = "渠道编号名称")
27 27 private String channelCodeName;
28 28  
29 29 @NotNull(message = "商品标题不能为空")
30 30 private String subject;
31 31  
32   - @Schema(title = "创建时间")
  32 + @Schema(description = "创建时间")
33 33 private LocalDateTime createTime;
34 34  
35   - @Schema(title = "更新时间")
  35 + @Schema(description = "更新时间")
36 36 private LocalDateTime updateTime;
37 37  
38 38 }
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/refund/vo/PayRefundExportReqVO.java
... ... @@ -8,87 +8,87 @@ import java.time.LocalDateTime;
8 8  
9 9 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
10 10  
11   -@Schema(title = "管理后台 - 退款订单 Excel 导出 Request VO", description = "参数和 PayRefundPageReqVO 是一致的")
  11 +@Schema(description = "管理后台 - 退款订单 Excel 导出 Request VO,参数和 PayRefundPageReqVO 是一致的")
12 12 @Data
13 13 public class PayRefundExportReqVO {
14 14  
15   - @Schema(title = "商户编号")
  15 + @Schema(description = "商户编号")
16 16 private Long merchantId;
17 17  
18   - @Schema(title = "应用编号")
  18 + @Schema(description = "应用编号")
19 19 private Long appId;
20 20  
21   - @Schema(title = "渠道编号")
  21 + @Schema(description = "渠道编号")
22 22 private Long channelId;
23 23  
24   - @Schema(title = "渠道编码")
  24 + @Schema(description = "渠道编码")
25 25 private String channelCode;
26 26  
27   - @Schema(title = "支付订单编号 pay_order 表id")
  27 + @Schema(description = "支付订单编号 pay_order 表id")
28 28 private Long orderId;
29 29  
30   - @Schema(title = "交易订单号 pay_extension 表no 字段")
  30 + @Schema(description = "交易订单号 pay_extension 表no 字段")
31 31 private String tradeNo;
32 32  
33   - @Schema(title = "商户订单编号(商户系统生成)")
  33 + @Schema(description = "商户订单编号(商户系统生成)")
34 34 private String merchantOrderId;
35 35  
36   - @Schema(title = "商户退款订单号(商户系统生成)")
  36 + @Schema(description = "商户退款订单号(商户系统生成)")
37 37 private String merchantRefundNo;
38 38  
39   - @Schema(title = "异步通知商户地址")
  39 + @Schema(description = "异步通知商户地址")
40 40 private String notifyUrl;
41 41  
42   - @Schema(title = "通知商户退款结果的回调状态")
  42 + @Schema(description = "通知商户退款结果的回调状态")
43 43 private Integer notifyStatus;
44 44  
45   - @Schema(title = "退款状态")
  45 + @Schema(description = "退款状态")
46 46 private Integer status;
47 47  
48   - @Schema(title = "退款类型(部分退款,全部退款)")
  48 + @Schema(description = "退款类型(部分退款,全部退款)")
49 49 private Integer type;
50 50  
51   - @Schema(title = "支付金额,单位分")
  51 + @Schema(description = "支付金额,单位分")
52 52 private Long payAmount;
53 53  
54   - @Schema(title = "退款金额,单位分")
  54 + @Schema(description = "退款金额,单位分")
55 55 private Long refundAmount;
56 56  
57   - @Schema(title = "退款原因")
  57 + @Schema(description = "退款原因")
58 58 private String reason;
59 59  
60   - @Schema(title = "用户 IP")
  60 + @Schema(description = "用户 IP")
61 61 private String userIp;
62 62  
63   - @Schema(title = "渠道订单号,pay_order 中的channel_order_no 对应")
  63 + @Schema(description = "渠道订单号,pay_order 中的channel_order_no 对应")
64 64 private String channelOrderNo;
65 65  
66   - @Schema(title = "渠道退款单号,渠道返回")
  66 + @Schema(description = "渠道退款单号,渠道返回")
67 67 private String channelRefundNo;
68 68  
69   - @Schema(title = "渠道调用报错时,错误码")
  69 + @Schema(description = "渠道调用报错时,错误码")
70 70 private String channelErrorCode;
71 71  
72   - @Schema(title = "渠道调用报错时,错误信息")
  72 + @Schema(description = "渠道调用报错时,错误信息")
73 73 private String channelErrorMsg;
74 74  
75   - @Schema(title = "支付渠道的额外参数")
  75 + @Schema(description = "支付渠道的额外参数")
76 76 private String channelExtras;
77 77  
78 78 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
79   - @Schema(title = "退款失效时间")
  79 + @Schema(description = "退款失效时间")
80 80 private LocalDateTime[] expireTime;
81 81  
82 82 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
83   - @Schema(title = "退款成功时间")
  83 + @Schema(description = "退款成功时间")
84 84 private LocalDateTime[] successTime;
85 85  
86 86 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
87   - @Schema(title = "退款通知时间")
  87 + @Schema(description = "退款通知时间")
88 88 private LocalDateTime[] notifyTime;
89 89  
90 90 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
91   - @Schema(title = "创建时间")
  91 + @Schema(description = "创建时间")
92 92 private LocalDateTime[] createTime;
93 93  
94 94 }
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/refund/vo/PayRefundPageItemRespVO.java
... ... @@ -7,25 +7,25 @@ import lombok.ToString;
7 7  
8 8 import java.time.LocalDateTime;
9 9  
10   -@Schema(title = "管理后台 - 退款订单分页查询 Response VO")
  10 +@Schema(description = "管理后台 - 退款订单分页查询 Response VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class PayRefundPageItemRespVO extends PayRefundBaseVO {
15 15  
16   - @Schema(title = "支付订单编号", required = true)
  16 + @Schema(description = "支付订单编号", required = true)
17 17 private Long id;
18 18  
19   - @Schema(title = "商户名称")
  19 + @Schema(description = "商户名称")
20 20 private String merchantName;
21 21  
22   - @Schema(title = "应用名称")
  22 + @Schema(description = "应用名称")
23 23 private String appName;
24 24  
25   - @Schema(title = "渠道名称")
  25 + @Schema(description = "渠道名称")
26 26 private String channelCodeName;
27 27  
28   - @Schema(title = "创建时间", required = true)
  28 + @Schema(description = "创建时间", required = true)
29 29 private LocalDateTime createTime;
30 30  
31 31 }
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/refund/vo/PayRefundPageReqVO.java
... ... @@ -11,89 +11,89 @@ import java.time.LocalDateTime;
11 11  
12 12 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
13 13  
14   -@Schema(title = "管理后台 - 退款订单分页 Request VO")
  14 +@Schema(description = "管理后台 - 退款订单分页 Request VO")
15 15 @Data
16 16 @EqualsAndHashCode(callSuper = true)
17 17 @ToString(callSuper = true)
18 18 public class PayRefundPageReqVO extends PageParam {
19 19  
20   - @Schema(title = "商户编号")
  20 + @Schema(description = "商户编号")
21 21 private Long merchantId;
22 22  
23   - @Schema(title = "应用编号")
  23 + @Schema(description = "应用编号")
24 24 private Long appId;
25 25  
26   - @Schema(title = "渠道编号")
  26 + @Schema(description = "渠道编号")
27 27 private Long channelId;
28 28  
29   - @Schema(title = "渠道编码")
  29 + @Schema(description = "渠道编码")
30 30 private String channelCode;
31 31  
32   - @Schema(title = "支付订单编号 pay_order 表id")
  32 + @Schema(description = "支付订单编号 pay_order 表id")
33 33 private Long orderId;
34 34  
35   - @Schema(title = "交易订单号 pay_extension 表no 字段")
  35 + @Schema(description = "交易订单号 pay_extension 表no 字段")
36 36 private String tradeNo;
37 37  
38   - @Schema(title = "商户订单编号(商户系统生成)")
  38 + @Schema(description = "商户订单编号(商户系统生成)")
39 39 private String merchantOrderId;
40 40  
41   - @Schema(title = "商户退款订单号(商户系统生成)")
  41 + @Schema(description = "商户退款订单号(商户系统生成)")
42 42 private String merchantRefundNo;
43 43  
44   - @Schema(title = "异步通知商户地址")
  44 + @Schema(description = "异步通知商户地址")
45 45 private String notifyUrl;
46 46  
47   - @Schema(title = "通知商户退款结果的回调状态")
  47 + @Schema(description = "通知商户退款结果的回调状态")
48 48 private Integer notifyStatus;
49 49  
50   - @Schema(title = "退款状态")
  50 + @Schema(description = "退款状态")
51 51 private Integer status;
52 52  
53   - @Schema(title = "退款类型(部分退款,全部退款)")
  53 + @Schema(description = "退款类型(部分退款,全部退款)")
54 54 private Integer type;
55 55  
56   - @Schema(title = "支付金额,单位分")
  56 + @Schema(description = "支付金额,单位分")
57 57 private Long payAmount;
58 58  
59   - @Schema(title = "退款金额,单位分")
  59 + @Schema(description = "退款金额,单位分")
60 60 private Long refundAmount;
61 61  
62   - @Schema(title = "退款原因")
  62 + @Schema(description = "退款原因")
63 63 private String reason;
64 64  
65   - @Schema(title = "用户 IP")
  65 + @Schema(description = "用户 IP")
66 66 private String userIp;
67 67  
68   - @Schema(title = "渠道订单号,pay_order 中的channel_order_no 对应")
  68 + @Schema(description = "渠道订单号,pay_order 中的channel_order_no 对应")
69 69 private String channelOrderNo;
70 70  
71   - @Schema(title = "渠道退款单号,渠道返回")
  71 + @Schema(description = "渠道退款单号,渠道返回")
72 72 private String channelRefundNo;
73 73  
74   - @Schema(title = "渠道调用报错时,错误码")
  74 + @Schema(description = "渠道调用报错时,错误码")
75 75 private String channelErrorCode;
76 76  
77   - @Schema(title = "渠道调用报错时,错误信息")
  77 + @Schema(description = "渠道调用报错时,错误信息")
78 78 private String channelErrorMsg;
79 79  
80   - @Schema(title = "支付渠道的额外参数")
  80 + @Schema(description = "支付渠道的额外参数")
81 81 private String channelExtras;
82 82  
83 83 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
84   - @Schema(title = "退款失效时间")
  84 + @Schema(description = "退款失效时间")
85 85 private LocalDateTime[] expireTime;
86 86  
87 87 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
88   - @Schema(title = "退款成功时间")
  88 + @Schema(description = "退款成功时间")
89 89 private LocalDateTime[] successTime;
90 90  
91 91 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
92   - @Schema(title = "退款通知时间")
  92 + @Schema(description = "退款通知时间")
93 93 private LocalDateTime[] notifyTime;
94 94  
95 95 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
96   - @Schema(title = "创建时间")
  96 + @Schema(description = "创建时间")
97 97 private LocalDateTime[] createTime;
98 98  
99 99 }
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/refund/vo/PayRefundRespVO.java
... ... @@ -7,16 +7,16 @@ import lombok.ToString;
7 7  
8 8 import java.time.LocalDateTime;
9 9  
10   -@Schema(title = "管理后台 - 退款订单 Response VO")
  10 +@Schema(description = "管理后台 - 退款订单 Response VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class PayRefundRespVO extends PayRefundBaseVO {
15 15  
16   - @Schema(title = "支付退款编号", required = true)
  16 + @Schema(description = "支付退款编号", required = true)
17 17 private Long id;
18 18  
19   - @Schema(title = "创建时间", required = true)
  19 + @Schema(description = "创建时间", required = true)
20 20 private LocalDateTime createTime;
21 21  
22 22 }
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/admin/refund/vo/PayRefundUpdateReqVO.java
... ... @@ -3,13 +3,13 @@ import io.swagger.v3.oas.annotations.media.Schema;
3 3 import lombok.*;
4 4 import javax.validation.constraints.*;
5 5  
6   -@Schema(title = "管理后台 - 退款订单更新 Request VO")
  6 +@Schema(description = "管理后台 - 退款订单更新 Request VO")
7 7 @Data
8 8 @EqualsAndHashCode(callSuper = true)
9 9 @ToString(callSuper = true)
10 10 public class PayRefundUpdateReqVO extends PayRefundBaseVO {
11 11  
12   - @Schema(title = "支付退款编号", required = true)
  12 + @Schema(description = "支付退款编号", required = true)
13 13 @NotNull(message = "支付退款编号不能为空")
14 14 private Long id;
15 15  
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/app/order/vo/AppPayOrderSubmitReqVO.java
... ... @@ -8,20 +8,20 @@ import javax.validation.constraints.NotEmpty;
8 8 import javax.validation.constraints.NotNull;
9 9 import java.util.Map;
10 10  
11   -@Schema(title = "用户 APP - 支付订单提交 Request VO")
  11 +@Schema(description = "用户 APP - 支付订单提交 Request VO")
12 12 @Data
13 13 @Accessors(chain = true)
14 14 public class AppPayOrderSubmitReqVO {
15 15  
16   - @Schema(title = "支付单编号", required = true, example = "1024")
  16 + @Schema(description = "支付单编号", required = true, example = "1024")
17 17 @NotNull(message = "支付单编号不能为空")
18 18 private Long id;
19 19  
20   - @Schema(title = "支付渠道", required = true, example = "wx_pub")
  20 + @Schema(description = "支付渠道", required = true, example = "wx_pub")
21 21 @NotEmpty(message = "支付渠道不能为空")
22 22 private String channelCode;
23 23  
24   - @Schema(title = "支付渠道的额外参数", description = "例如说,微信公众号需要传递 openid 参数")
  24 + @Schema(description = "支付渠道的额外参数,例如说,微信公众号需要传递 openid 参数")
25 25 private Map<String, String> channelExtras;
26 26  
27 27 }
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/app/order/vo/AppPayOrderSubmitRespVO.java
... ... @@ -7,7 +7,7 @@ import lombok.Data;
7 7 import lombok.NoArgsConstructor;
8 8 import lombok.experimental.Accessors;
9 9  
10   -@Schema(title = "用户 APP - 支付订单提交 Response VO")
  10 +@Schema(description = "用户 APP - 支付订单提交 Response VO")
11 11 @Data
12 12 @Accessors(chain = true)
13 13 @Builder
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/app/refund/vo/AppPayRefundReqVO.java
... ... @@ -8,25 +8,25 @@ import lombok.NoArgsConstructor;
8 8 import javax.validation.constraints.NotEmpty;
9 9 import javax.validation.constraints.NotNull;
10 10  
11   -@Schema(title = "用户 APP - 退款订单 Req VO")
  11 +@Schema(description = "用户 APP - 退款订单 Req VO")
12 12 @Data
13 13 @NoArgsConstructor
14 14 @AllArgsConstructor
15 15 public class AppPayRefundReqVO {
16 16  
17   - @Schema(title = "支付订单编号自增", required = true, example = "10")
  17 + @Schema(description = "支付订单编号自增", required = true, example = "10")
18 18 @NotNull(message = "支付订单编号自增")
19 19 private Long payOrderId;
20 20  
21   - @Schema(title = "退款金额", required = true, example = "1")
  21 + @Schema(description = "退款金额", required = true, example = "1")
22 22 @NotNull(message = "退款金额")
23 23 private Long amount;
24 24  
25   - @Schema(title = "退款原因", required = true, example = "不喜欢")
  25 + @Schema(description = "退款原因", required = true, example = "不喜欢")
26 26 @NotEmpty(message = "退款原因")
27 27 private String reason;
28 28  
29   - @Schema(title = "商户退款订单号", required = true, example = "MR202111180000000001")
  29 + @Schema(description = "商户退款订单号", required = true, example = "MR202111180000000001")
30 30 //TODO 测试暂时模拟生成
31 31 //@NotEmpty(message = "商户退款订单号")
32 32 private String merchantRefundId;
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/controller/app/refund/vo/AppPayRefundRespVO.java
... ... @@ -7,7 +7,7 @@ import lombok.Data;
7 7 import lombok.NoArgsConstructor;
8 8 import lombok.experimental.Accessors;
9 9  
10   -@Schema(title = "用户 APP - 提交退款订单 Response VO")
  10 +@Schema(description = "用户 APP - 提交退款订单 Response VO")
11 11 @Data
12 12 @Accessors(chain = true)
13 13 @Builder
... ... @@ -15,7 +15,7 @@ import lombok.experimental.Accessors;
15 15 @AllArgsConstructor
16 16 public class AppPayRefundRespVO {
17 17  
18   - @Schema(title = "退款订单编号", required = true, example = "10")
  18 + @Schema(description = "退款订单编号", required = true, example = "10")
19 19 private Long refundId;
20 20  
21 21 }
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/service/notify/vo/PayNotifyOrderReqVO.java
... ... @@ -9,18 +9,18 @@ import lombok.NoArgsConstructor;
9 9 import javax.validation.constraints.NotEmpty;
10 10 import javax.validation.constraints.NotNull;
11 11  
12   -@Schema(title = "支付单的通知 Request VO", description = "业务方接入支付回调时,使用该 VO 对象")
  12 +@Schema(description = "支付单的通知 Request VO,业务方接入支付回调时,使用该 VO 对象")
13 13 @Data
14 14 @Builder
15 15 @NoArgsConstructor
16 16 @AllArgsConstructor
17 17 public class PayNotifyOrderReqVO {
18 18  
19   - @Schema(title = "商户订单编号", required = true, example = "10")
  19 + @Schema(description = "商户订单编号", required = true, example = "10")
20 20 @NotEmpty(message = "商户订单号不能为空")
21 21 private String merchantOrderId;
22 22  
23   - @Schema(title = "支付订单编号", required = true, example = "20")
  23 + @Schema(description = "支付订单编号", required = true, example = "20")
24 24 @NotNull(message = "支付订单编号不能为空")
25 25 private Long payOrderId;
26 26  
... ...
yudao-module-pay/yudao-module-pay-biz/src/main/java/cn/iocoder/yudao/module/pay/service/notify/vo/PayRefundOrderReqVO.java
... ... @@ -9,22 +9,22 @@ import lombok.NoArgsConstructor;
9 9 import javax.validation.constraints.NotEmpty;
10 10 import javax.validation.constraints.NotNull;
11 11  
12   -@Schema(title = "退款单的通知 Request VO", description = "业务方接入退款回调时,使用该 VO 对象")
  12 +@Schema(description = "退款单的通知 Request VO,业务方接入退款回调时,使用该 VO 对象")
13 13 @Data
14 14 @Builder
15 15 @NoArgsConstructor
16 16 @AllArgsConstructor
17 17 public class PayRefundOrderReqVO {
18 18  
19   - @Schema(title = "商户退款单编号", required = true, example = "10")
  19 + @Schema(description = "商户退款单编号", required = true, example = "10")
20 20 @NotEmpty(message = "商户退款单编号不能为空")
21 21 private String merchantOrderId;
22 22  
23   - @Schema(title = "支付退款编号", required = true, example = "20")
  23 + @Schema(description = "支付退款编号", required = true, example = "20")
24 24 @NotNull(message = "支付退款编号不能为空")
25 25 private Long payRefundId;
26 26  
27   - @Schema(title = "退款状态(成功,失败)", required = true, example = "10")
  27 + @Schema(description = "退款状态(成功,失败)", required = true, example = "10")
28 28 private Integer status;
29 29  
30 30 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/auth/vo/AuthLoginReqVO.java
... ... @@ -14,42 +14,41 @@ import javax.validation.constraints.AssertTrue;
14 14 import javax.validation.constraints.NotEmpty;
15 15 import javax.validation.constraints.Pattern;
16 16  
17   -@Schema(title = "管理后台 - 账号密码登录 Request VO", description = "如果登录并绑定社交用户,需要传递 social 开头的参数")
  17 +@Schema(description = "管理后台 - 账号密码登录 Request VO,如果登录并绑定社交用户,需要传递 social 开头的参数")
18 18 @Data
19 19 @NoArgsConstructor
20 20 @AllArgsConstructor
21 21 @Builder
22 22 public class AuthLoginReqVO {
23 23  
24   - @Schema(title = "账号", required = true, example = "yudaoyuanma")
  24 + @Schema(description = "账号", required = true, example = "yudaoyuanma")
25 25 @NotEmpty(message = "登录账号不能为空")
26 26 @Length(min = 4, max = 16, message = "账号长度为 4-16 位")
27 27 @Pattern(regexp = "^[A-Za-z0-9]+$", message = "账号格式为数字以及字母")
28 28 private String username;
29 29  
30   - @Schema(title = "密码", required = true, example = "buzhidao")
  30 + @Schema(description = "密码", required = true, example = "buzhidao")
31 31 @NotEmpty(message = "密码不能为空")
32 32 @Length(min = 4, max = 16, message = "密码长度为 4-16 位")
33 33 private String password;
34 34  
35 35 // ========== 图片验证码相关 ==========
36 36  
37   - @Schema(title = "验证码", required = true,
38   - example = "PfcH6mgr8tpXuMWFjvW6YVaqrswIuwmWI5dsVZSg7sGpWtDCUbHuDEXl3cFB1+VvCC/rAkSwK8Fad52FSuncVg==",
39   - description = "验证码开启时,需要传递")
  37 + @Schema(description = "验证码,验证码开启时,需要传递", required = true,
  38 + example = "PfcH6mgr8tpXuMWFjvW6YVaqrswIuwmWI5dsVZSg7sGpWtDCUbHuDEXl3cFB1+VvCC/rAkSwK8Fad52FSuncVg==")
40 39 @NotEmpty(message = "验证码不能为空", groups = CodeEnableGroup.class)
41 40 private String captchaVerification;
42 41  
43 42 // ========== 绑定社交登录时,需要传递如下参数 ==========
44 43  
45   - @Schema(title = "社交平台的类型", required = true, example = "10", description = "参见 SysUserSocialTypeEnum 枚举值")
  44 + @Schema(description = "社交平台的类型,参见 SysUserSocialTypeEnum 枚举值", required = true, example = "10")
46 45 @InEnum(SocialTypeEnum.class)
47 46 private Integer socialType;
48 47  
49   - @Schema(title = "授权码", required = true, example = "1024")
  48 + @Schema(description = "授权码", required = true, example = "1024")
50 49 private String socialCode;
51 50  
52   - @Schema(title = "state", required = true, example = "9b2ffbc1-7425-4155-9894-9d5c08541d62")
  51 + @Schema(description = "state", required = true, example = "9b2ffbc1-7425-4155-9894-9d5c08541d62")
53 52 private String socialState;
54 53  
55 54 /**
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/auth/vo/AuthLoginRespVO.java
... ... @@ -8,23 +8,23 @@ import lombok.NoArgsConstructor;
8 8  
9 9 import java.time.LocalDateTime;
10 10  
11   -@Schema(title = "管理后台 - 登录 Response VO")
  11 +@Schema(description = "管理后台 - 登录 Response VO")
12 12 @Data
13 13 @NoArgsConstructor
14 14 @AllArgsConstructor
15 15 @Builder
16 16 public class AuthLoginRespVO {
17 17  
18   - @Schema(title = "用户编号", required = true, example = "1024")
  18 + @Schema(description = "用户编号", required = true, example = "1024")
19 19 private Long userId;
20 20  
21   - @Schema(title = "访问令牌", required = true, example = "happy")
  21 + @Schema(description = "访问令牌", required = true, example = "happy")
22 22 private String accessToken;
23 23  
24   - @Schema(title = "刷新令牌", required = true, example = "nice")
  24 + @Schema(description = "刷新令牌", required = true, example = "nice")
25 25 private String refreshToken;
26 26  
27   - @Schema(title = "过期时间", required = true)
  27 + @Schema(description = "过期时间", required = true)
28 28 private LocalDateTime expiresTime;
29 29  
30 30 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/auth/vo/AuthMenuRespVO.java
... ... @@ -8,35 +8,35 @@ import lombok.NoArgsConstructor;
8 8  
9 9 import java.util.List;
10 10  
11   -@Schema(title = "管理后台 - 登录用户的菜单信息 Response VO")
  11 +@Schema(description = "管理后台 - 登录用户的菜单信息 Response VO")
12 12 @Data
13 13 @NoArgsConstructor
14 14 @AllArgsConstructor
15 15 @Builder
16 16 public class AuthMenuRespVO {
17 17  
18   - @Schema(title = "菜单名称", required = true, example = "芋道")
  18 + @Schema(description = "菜单名称", required = true, example = "芋道")
19 19 private Long id;
20 20  
21   - @Schema(title = "父菜单 ID", required = true, example = "1024")
  21 + @Schema(description = "父菜单 ID", required = true, example = "1024")
22 22 private Long parentId;
23 23  
24   - @Schema(title = "菜单名称", required = true, example = "芋道")
  24 + @Schema(description = "菜单名称", required = true, example = "芋道")
25 25 private String name;
26 26  
27   - @Schema(title = "路由地址", example = "post", description = "仅菜单类型为菜单或者目录时,才需要传")
  27 + @Schema(description = "路由地址,仅菜单类型为菜单或者目录时,才需要传", example = "post")
28 28 private String path;
29 29  
30   - @Schema(title = "组件路径", example = "system/post/index", description = "仅菜单类型为菜单时,才需要传")
  30 + @Schema(description = "组件路径,仅菜单类型为菜单时,才需要传", example = "system/post/index")
31 31 private String component;
32 32  
33   - @Schema(title = "菜单图标", example = "/menu/list", description = "仅菜单类型为菜单或者目录时,才需要传")
  33 + @Schema(description = "菜单图标,仅菜单类型为菜单或者目录时,才需要传", example = "/menu/list")
34 34 private String icon;
35 35  
36   - @Schema(title = "是否可见", required = true, example = "false")
  36 + @Schema(description = "是否可见", required = true, example = "false")
37 37 private Boolean visible;
38 38  
39   - @Schema(title = "是否缓存", required = true, example = "false")
  39 + @Schema(description = "是否缓存", required = true, example = "false")
40 40 private Boolean keepAlive;
41 41  
42 42 /**
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/auth/vo/AuthPermissionInfoRespVO.java
... ... @@ -8,36 +8,36 @@ import lombok.NoArgsConstructor;
8 8  
9 9 import java.util.Set;
10 10  
11   -@Schema(title = "管理后台 - 登录用户的权限信息 Response VO", description = "额外包括用户信息和角色列表")
  11 +@Schema(description = "管理后台 - 登录用户的权限信息 Response VO,额外包括用户信息和角色列表")
12 12 @Data
13 13 @NoArgsConstructor
14 14 @AllArgsConstructor
15 15 @Builder
16 16 public class AuthPermissionInfoRespVO {
17 17  
18   - @Schema(title = "用户信息", required = true)
  18 + @Schema(description = "用户信息", required = true)
19 19 private UserVO user;
20 20  
21   - @Schema(title = "角色标识数组", required = true)
  21 + @Schema(description = "角色标识数组", required = true)
22 22 private Set<String> roles;
23 23  
24   - @Schema(title = "操作权限数组", required = true)
  24 + @Schema(description = "操作权限数组", required = true)
25 25 private Set<String> permissions;
26 26  
27   - @Schema(title = "用户信息 VO")
  27 + @Schema(description = "用户信息 VO")
28 28 @Data
29 29 @NoArgsConstructor
30 30 @AllArgsConstructor
31 31 @Builder
32 32 public static class UserVO {
33 33  
34   - @Schema(title = "用户编号", required = true, example = "1024")
  34 + @Schema(description = "用户编号", required = true, example = "1024")
35 35 private Long id;
36 36  
37   - @Schema(title = "用户昵称", required = true, example = "芋道源码")
  37 + @Schema(description = "用户昵称", required = true, example = "芋道源码")
38 38 private String nickname;
39 39  
40   - @Schema(title = "用户头像", required = true, example = "http://www.iocoder.cn/xx.jpg")
  40 + @Schema(description = "用户头像", required = true, example = "http://www.iocoder.cn/xx.jpg")
41 41 private String avatar;
42 42  
43 43 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/auth/vo/AuthSmsLoginReqVO.java
... ... @@ -9,19 +9,19 @@ import lombok.NoArgsConstructor;
9 9  
10 10 import javax.validation.constraints.NotEmpty;
11 11  
12   -@Schema(title = "管理后台 - 短信验证码的登录 Request VO")
  12 +@Schema(description = "管理后台 - 短信验证码的登录 Request VO")
13 13 @Data
14 14 @NoArgsConstructor
15 15 @AllArgsConstructor
16 16 @Builder
17 17 public class AuthSmsLoginReqVO {
18 18  
19   - @Schema(title = "手机号", required = true, example = "yudaoyuanma")
  19 + @Schema(description = "手机号", required = true, example = "yudaoyuanma")
20 20 @NotEmpty(message = "手机号不能为空")
21 21 @Mobile
22 22 private String mobile;
23 23  
24   - @Schema(title = "短信验证码", required = true, example = "1024")
  24 + @Schema(description = "短信验证码", required = true, example = "1024")
25 25 @NotEmpty(message = "验证码不能为空")
26 26 private String code;
27 27  
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/auth/vo/AuthSmsSendReqVO.java
... ... @@ -12,19 +12,19 @@ import lombok.NoArgsConstructor;
12 12 import javax.validation.constraints.NotEmpty;
13 13 import javax.validation.constraints.NotNull;
14 14  
15   -@Schema(title = "管理后台 - 发送手机验证码 Request VO")
  15 +@Schema(description = "管理后台 - 发送手机验证码 Request VO")
16 16 @Data
17 17 @NoArgsConstructor
18 18 @AllArgsConstructor
19 19 @Builder
20 20 public class AuthSmsSendReqVO {
21 21  
22   - @Schema(title = "手机号", required = true, example = "yudaoyuanma")
  22 + @Schema(description = "手机号", required = true, example = "yudaoyuanma")
23 23 @NotEmpty(message = "手机号不能为空")
24 24 @Mobile
25 25 private String mobile;
26 26  
27   - @Schema(title = "短信场景", required = true, example = "1")
  27 + @Schema(description = "短信场景", required = true, example = "1")
28 28 @NotNull(message = "发送场景不能为空")
29 29 @InEnum(SmsSceneEnum.class)
30 30 private Integer scene;
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/auth/vo/AuthSocialLoginReqVO.java
... ... @@ -11,23 +11,23 @@ import lombok.NoArgsConstructor;
11 11 import javax.validation.constraints.NotEmpty;
12 12 import javax.validation.constraints.NotNull;
13 13  
14   -@Schema(title = "管理后台 - 社交绑定登录 Request VO,使用 code 授权码 + 账号密码")
  14 +@Schema(description = "管理后台 - 社交绑定登录 Request VO,使用 code 授权码 + 账号密码")
15 15 @Data
16 16 @NoArgsConstructor
17 17 @AllArgsConstructor
18 18 @Builder
19 19 public class AuthSocialLoginReqVO {
20 20  
21   - @Schema(title = "社交平台的类型", required = true, example = "10", description = "参见 UserSocialTypeEnum 枚举值")
  21 + @Schema(description = "社交平台的类型,参见 UserSocialTypeEnum 枚举值", required = true, example = "10")
22 22 @InEnum(SocialTypeEnum.class)
23 23 @NotNull(message = "社交平台的类型不能为空")
24 24 private Integer type;
25 25  
26   - @Schema(title = "授权码", required = true, example = "1024")
  26 + @Schema(description = "授权码", required = true, example = "1024")
27 27 @NotEmpty(message = "授权码不能为空")
28 28 private String code;
29 29  
30   - @Schema(title = "state", required = true, example = "9b2ffbc1-7425-4155-9894-9d5c08541d62")
  30 + @Schema(description = "state", required = true, example = "9b2ffbc1-7425-4155-9894-9d5c08541d62")
31 31 @NotEmpty(message = "state 不能为空")
32 32 private String state;
33 33  
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dept/vo/dept/DeptBaseVO.java
... ... @@ -14,31 +14,31 @@ import javax.validation.constraints.Size;
14 14 @Data
15 15 public class DeptBaseVO {
16 16  
17   - @Schema(title = "菜单名称", required = true, example = "芋道")
  17 + @Schema(description = "菜单名称", required = true, example = "芋道")
18 18 @NotBlank(message = "部门名称不能为空")
19 19 @Size(max = 30, message = "部门名称长度不能超过30个字符")
20 20 private String name;
21 21  
22   - @Schema(title = "父菜单 ID", example = "1024")
  22 + @Schema(description = "父菜单 ID", example = "1024")
23 23 private Long parentId;
24 24  
25   - @Schema(title = "显示顺序不能为空", required = true, example = "1024")
  25 + @Schema(description = "显示顺序不能为空", required = true, example = "1024")
26 26 @NotNull(message = "显示顺序不能为空")
27 27 private Integer sort;
28 28  
29   - @Schema(title = "负责人的用户编号", example = "2048")
  29 + @Schema(description = "负责人的用户编号", example = "2048")
30 30 private Long leaderUserId;
31 31  
32   - @Schema(title = "联系电话", example = "15601691000")
  32 + @Schema(description = "联系电话", example = "15601691000")
33 33 @Size(max = 11, message = "联系电话长度不能超过11个字符")
34 34 private String phone;
35 35  
36   - @Schema(title = "邮箱", example = "yudao@iocoder.cn")
  36 + @Schema(description = "邮箱", example = "yudao@iocoder.cn")
37 37 @Email(message = "邮箱格式不正确")
38 38 @Size(max = 50, message = "邮箱长度不能超过50个字符")
39 39 private String email;
40 40  
41   - @Schema(title = "状态", required = true, example = "1", description = "见 CommonStatusEnum 枚举")
  41 + @Schema(description = "状态,见 CommonStatusEnum 枚举", required = true, example = "1")
42 42 @NotNull(message = "状态不能为空")
43 43 // @InEnum(value = CommonStatusEnum.class, message = "修改状态必须是 {value}")
44 44 private Integer status;
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dept/vo/dept/DeptCreateReqVO.java
... ... @@ -4,7 +4,7 @@ import lombok.Data;
4 4 import lombok.EqualsAndHashCode;
5 5 import lombok.ToString;
6 6  
7   -@Schema(title = "管理后台 - 部门创建 Request VO")
  7 +@Schema(description = "管理后台 - 部门创建 Request VO")
8 8 @Data
9 9 @EqualsAndHashCode(callSuper = true)
10 10 @ToString(callSuper = true)
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dept/vo/dept/DeptListReqVO.java
... ... @@ -3,14 +3,14 @@ package cn.iocoder.yudao.module.system.controller.admin.dept.vo.dept;
3 3 import io.swagger.v3.oas.annotations.media.Schema;
4 4 import lombok.Data;
5 5  
6   -@Schema(title = "管理后台 - 部门列表 Request VO")
  6 +@Schema(description = "管理后台 - 部门列表 Request VO")
7 7 @Data
8 8 public class DeptListReqVO {
9 9  
10   - @Schema(title = "部门名称", example = "芋道", description = "模糊匹配")
  10 + @Schema(description = "部门名称,模糊匹配", example = "芋道")
11 11 private String name;
12 12  
13   - @Schema(title = "展示状态", example = "1", description = "参见 CommonStatusEnum 枚举类")
  13 + @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1")
14 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
... ... @@ -6,18 +6,18 @@ import lombok.EqualsAndHashCode;
6 6  
7 7 import java.time.LocalDateTime;
8 8  
9   -@Schema(title = "管理后台 - 部门信息 Response VO")
  9 +@Schema(description = "管理后台 - 部门信息 Response VO")
10 10 @Data
11 11 @EqualsAndHashCode(callSuper = true)
12 12 public class DeptRespVO extends DeptBaseVO {
13 13  
14   - @Schema(title = "部门编号", required = true, example = "1024")
  14 + @Schema(description = "部门编号", required = true, example = "1024")
15 15 private Long id;
16 16  
17   - @Schema(title = "状态", required = true, example = "1", description = "参见 CommonStatusEnum 枚举类")
  17 + @Schema(description = "状态,参见 CommonStatusEnum 枚举类", required = true, example = "1")
18 18 private Integer status;
19 19  
20   - @Schema(title = "创建时间", required = true, example = "时间戳格式")
  20 + @Schema(description = "创建时间", required = true, example = "时间戳格式")
21 21 private LocalDateTime createTime;
22 22  
23 23 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dept/vo/dept/DeptSimpleRespVO.java
... ... @@ -5,19 +5,19 @@ import lombok.AllArgsConstructor;
5 5 import lombok.Data;
6 6 import lombok.NoArgsConstructor;
7 7  
8   -@Schema(title = "管理后台 - 部门精简信息 Response VO")
  8 +@Schema(description = "管理后台 - 部门精简信息 Response VO")
9 9 @Data
10 10 @NoArgsConstructor
11 11 @AllArgsConstructor
12 12 public class DeptSimpleRespVO {
13 13  
14   - @Schema(title = "部门编号", required = true, example = "1024")
  14 + @Schema(description = "部门编号", required = true, example = "1024")
15 15 private Long id;
16 16  
17   - @Schema(title = "部门名称", required = true, example = "芋道")
  17 + @Schema(description = "部门名称", required = true, example = "芋道")
18 18 private String name;
19 19  
20   - @Schema(title = "父部门 ID", required = true, example = "1024")
  20 + @Schema(description = "父部门 ID", required = true, example = "1024")
21 21 private Long parentId;
22 22  
23 23 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dept/vo/dept/DeptUpdateReqVO.java
... ... @@ -6,12 +6,12 @@ import lombok.EqualsAndHashCode;
6 6  
7 7 import javax.validation.constraints.NotNull;
8 8  
9   -@Schema(title = "管理后台 - 部门更新 Request VO")
  9 +@Schema(description = "管理后台 - 部门更新 Request VO")
10 10 @Data
11 11 @EqualsAndHashCode(callSuper = true)
12 12 public class DeptUpdateReqVO extends DeptBaseVO {
13 13  
14   - @Schema(title = "部门编号", required = true, example = "1024")
  14 + @Schema(description = "部门编号", required = true, example = "1024")
15 15 @NotNull(message = "部门编号不能为空")
16 16 private Long id;
17 17  
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dept/vo/post/PostBaseVO.java
... ... @@ -13,24 +13,24 @@ import javax.validation.constraints.Size;
13 13 @Data
14 14 public class PostBaseVO {
15 15  
16   - @Schema(title = "岗位名称", required = true, example = "小博主")
  16 + @Schema(description = "岗位名称", required = true, example = "小博主")
17 17 @NotBlank(message = "岗位名称不能为空")
18 18 @Size(max = 50, message = "岗位名称长度不能超过50个字符")
19 19 private String name;
20 20  
21   - @Schema(title = "岗位编码", required = true, example = "yudao")
  21 + @Schema(description = "岗位编码", required = true, example = "yudao")
22 22 @NotBlank(message = "岗位编码不能为空")
23 23 @Size(max = 64, message = "岗位编码长度不能超过64个字符")
24 24 private String code;
25 25  
26   - @Schema(title = "显示顺序不能为空", required = true, example = "1024")
  26 + @Schema(description = "显示顺序不能为空", required = true, example = "1024")
27 27 @NotNull(message = "显示顺序不能为空")
28 28 private Integer sort;
29 29  
30   - @Schema(title = "状态", required = true, example = "1", description = "参见 CommonStatusEnum 枚举类")
  30 + @Schema(description = "状态,参见 CommonStatusEnum 枚举类", required = true, example = "1")
31 31 private Integer status;
32 32  
33   - @Schema(title = "备注", example = "快乐的备注")
  33 + @Schema(description = "备注", example = "快乐的备注")
34 34 private String remark;
35 35  
36 36 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dept/vo/post/PostCreateReqVO.java
... ... @@ -4,7 +4,7 @@ import io.swagger.v3.oas.annotations.media.Schema;
4 4 import lombok.Data;
5 5 import lombok.EqualsAndHashCode;
6 6  
7   -@Schema(title = "管理后台 - 岗位创建 Request VO")
  7 +@Schema(description = "管理后台 - 岗位创建 Request VO")
8 8 @Data
9 9 @EqualsAndHashCode(callSuper = true)
10 10 public class PostCreateReqVO extends PostBaseVO {
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dept/vo/post/PostExportReqVO.java
... ... @@ -3,17 +3,17 @@ package cn.iocoder.yudao.module.system.controller.admin.dept.vo.post;
3 3 import io.swagger.v3.oas.annotations.media.Schema;
4 4 import lombok.Data;
5 5  
6   -@Schema(title = "管理后台 - 岗位导出 Request VO", description = "参数和 PostExcelVO 是一致的")
  6 +@Schema(description = "管理后台 - 岗位导出 Request VO,参数和 PostExcelVO 是一致的")
7 7 @Data
8 8 public class PostExportReqVO {
9 9  
10   - @Schema(title = "岗位编码", example = "yudao", description = "模糊匹配")
  10 + @Schema(description = "岗位编码,模糊匹配", example = "yudao")
11 11 private String code;
12 12  
13   - @Schema(title = "岗位名称", example = "芋道", description = "模糊匹配")
  13 + @Schema(description = "岗位名称,模糊匹配", example = "芋道")
14 14 private String name;
15 15  
16   - @Schema(title = "展示状态", example = "1", description = "参见 CommonStatusEnum 枚举类")
  16 + @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1")
17 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
... ... @@ -4,15 +4,15 @@ import io.swagger.v3.oas.annotations.media.Schema;
4 4 import lombok.Data;
5 5 import lombok.EqualsAndHashCode;
6 6  
7   -@Schema(title = "管理后台 - 岗位列表 Request VO")
  7 +@Schema(description = "管理后台 - 岗位列表 Request VO")
8 8 @Data
9 9 @EqualsAndHashCode(callSuper = true)
10 10 public class PostListReqVO extends PostBaseVO {
11 11  
12   - @Schema(title = "岗位名称", example = "芋道", description = "模糊匹配")
  12 + @Schema(description = "岗位名称,模糊匹配", example = "芋道")
13 13 private String name;
14 14  
15   - @Schema(title = "展示状态", example = "1", description = "参见 CommonStatusEnum 枚举类")
  15 + @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1")
16 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
... ... @@ -5,18 +5,18 @@ import io.swagger.v3.oas.annotations.media.Schema;
5 5 import lombok.Data;
6 6 import lombok.EqualsAndHashCode;
7 7  
8   -@Schema(title = "管理后台 - 岗位分页 Request VO")
  8 +@Schema(description = "管理后台 - 岗位分页 Request VO")
9 9 @Data
10 10 @EqualsAndHashCode(callSuper = true)
11 11 public class PostPageReqVO extends PageParam {
12 12  
13   - @Schema(title = "岗位编码", example = "yudao", description = "模糊匹配")
  13 + @Schema(description = "岗位编码,模糊匹配", example = "yudao")
14 14 private String code;
15 15  
16   - @Schema(title = "岗位名称", example = "芋道", description = "模糊匹配")
  16 + @Schema(description = "岗位名称,模糊匹配", example = "芋道")
17 17 private String name;
18 18  
19   - @Schema(title = "展示状态", example = "1", description = "参见 CommonStatusEnum 枚举类")
  19 + @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1")
20 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/dept/vo/post/PostRespVO.java
... ... @@ -6,15 +6,15 @@ import lombok.EqualsAndHashCode;
6 6  
7 7 import java.time.LocalDateTime;
8 8  
9   -@Schema(title = "管理后台 - 岗位信息 Response VO")
  9 +@Schema(description = "管理后台 - 岗位信息 Response VO")
10 10 @Data
11 11 @EqualsAndHashCode(callSuper = true)
12 12 public class PostRespVO extends PostBaseVO {
13 13  
14   - @Schema(title = "岗位序号", required = true, example = "1024")
  14 + @Schema(description = "岗位序号", required = true, example = "1024")
15 15 private Long id;
16 16  
17   - @Schema(title = "创建时间", required = true, example = "时间戳格式")
  17 + @Schema(description = "创建时间", required = true, example = "时间戳格式")
18 18 private LocalDateTime createTime;
19 19  
20 20 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dept/vo/post/PostSimpleRespVO.java
... ... @@ -5,16 +5,16 @@ import lombok.AllArgsConstructor;
5 5 import lombok.Data;
6 6 import lombok.NoArgsConstructor;
7 7  
8   -@Schema(title = "管理后台 - 岗位精简信息 Response VO")
  8 +@Schema(description = "管理后台 - 岗位精简信息 Response VO")
9 9 @Data
10 10 @NoArgsConstructor
11 11 @AllArgsConstructor
12 12 public class PostSimpleRespVO {
13 13  
14   - @Schema(title = "岗位编号", required = true, example = "1024")
  14 + @Schema(description = "岗位编号", required = true, example = "1024")
15 15 private Long id;
16 16  
17   - @Schema(title = "岗位名称", required = true, example = "芋道")
  17 + @Schema(description = "岗位名称", required = true, example = "芋道")
18 18 private String name;
19 19  
20 20 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dept/vo/post/PostUpdateReqVO.java
... ... @@ -6,12 +6,12 @@ import lombok.EqualsAndHashCode;
6 6  
7 7 import javax.validation.constraints.NotNull;
8 8  
9   -@Schema(title = "管理后台 - 岗位更新 Request VO")
  9 +@Schema(description = "管理后台 - 岗位更新 Request VO")
10 10 @Data
11 11 @EqualsAndHashCode(callSuper = true)
12 12 public class PostUpdateReqVO extends PostBaseVO {
13 13  
14   - @Schema(title = "岗位编号", required = true, example = "1024")
  14 + @Schema(description = "岗位编号", required = true, example = "1024")
15 15 @NotNull(message = "岗位编号不能为空")
16 16 private Long id;
17 17  
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dict/vo/data/DictDataBaseVO.java
... ... @@ -14,36 +14,36 @@ import javax.validation.constraints.Size;
14 14 @Data
15 15 public class DictDataBaseVO {
16 16  
17   - @Schema(title = "显示顺序不能为空", required = true, example = "1024")
  17 + @Schema(description = "显示顺序不能为空", required = true, example = "1024")
18 18 @NotNull(message = "显示顺序不能为空")
19 19 private Integer sort;
20 20  
21   - @Schema(title = "字典标签", required = true, example = "芋道")
  21 + @Schema(description = "字典标签", required = true, example = "芋道")
22 22 @NotBlank(message = "字典标签不能为空")
23 23 @Size(max = 100, message = "字典标签长度不能超过100个字符")
24 24 private String label;
25 25  
26   - @Schema(title = "字典值", required = true, example = "iocoder")
  26 + @Schema(description = "字典值", required = true, example = "iocoder")
27 27 @NotBlank(message = "字典键值不能为空")
28 28 @Size(max = 100, message = "字典键值长度不能超过100个字符")
29 29 private String value;
30 30  
31   - @Schema(title = "字典类型", required = true, example = "sys_common_sex")
  31 + @Schema(description = "字典类型", required = true, example = "sys_common_sex")
32 32 @NotBlank(message = "字典类型不能为空")
33 33 @Size(max = 100, message = "字典类型长度不能超过100个字符")
34 34 private String dictType;
35 35  
36   - @Schema(title = "状态", required = true, example = "1", description = "见 CommonStatusEnum 枚举")
  36 + @Schema(description = "状态,见 CommonStatusEnum 枚举", required = true, example = "1")
37 37 @NotNull(message = "状态不能为空")
38 38 // @InEnum(value = CommonStatusEnum.class, message = "修改状态必须是 {value}")
39 39 private Integer status;
40 40  
41   - @Schema(title = "颜色类型", example = "default", description = "default、primary、success、info、warning、danger")
  41 + @Schema(description = "颜色类型,default、primary、success、info、warning、danger", example = "default")
42 42 private String colorType;
43   - @Schema(title = "css 样式", example = "btn-visible")
  43 + @Schema(description = "css 样式", example = "btn-visible")
44 44 private String cssClass;
45 45  
46   - @Schema(title = "备注", example = "我是一个角色")
  46 + @Schema(description = "备注", example = "我是一个角色")
47 47 private String remark;
48 48  
49 49 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dict/vo/data/DictDataCreateReqVO.java
... ... @@ -4,7 +4,7 @@ import io.swagger.v3.oas.annotations.media.Schema;
4 4 import lombok.Data;
5 5 import lombok.EqualsAndHashCode;
6 6  
7   -@Schema(title = "管理后台 - 字典数据创建 Request VO")
  7 +@Schema(description = "管理后台 - 字典数据创建 Request VO")
8 8 @Data
9 9 @EqualsAndHashCode(callSuper = true)
10 10 public class DictDataCreateReqVO extends DictDataBaseVO {
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dict/vo/data/DictDataExportReqVO.java
... ... @@ -5,19 +5,19 @@ import lombok.Data;
5 5  
6 6 import javax.validation.constraints.Size;
7 7  
8   -@Schema(title = "管理后台 - 字典类型导出 Request VO")
  8 +@Schema(description = "管理后台 - 字典类型导出 Request VO")
9 9 @Data
10 10 public class DictDataExportReqVO {
11 11  
12   - @Schema(title = "字典标签", example = "芋道")
  12 + @Schema(description = "字典标签", example = "芋道")
13 13 @Size(max = 100, message = "字典标签长度不能超过100个字符")
14 14 private String label;
15 15  
16   - @Schema(title = "字典类型", example = "sys_common_sex", description = "模糊匹配")
  16 + @Schema(description = "字典类型,模糊匹配", example = "sys_common_sex")
17 17 @Size(max = 100, message = "字典类型类型长度不能超过100个字符")
18 18 private String dictType;
19 19  
20   - @Schema(title = "展示状态", example = "1", description = "参见 CommonStatusEnum 枚举类")
  20 + @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1")
21 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
... ... @@ -7,20 +7,20 @@ import lombok.EqualsAndHashCode;
7 7  
8 8 import javax.validation.constraints.Size;
9 9  
10   -@Schema(title = "管理后台 - 字典类型分页列表 Request VO")
  10 +@Schema(description = "管理后台 - 字典类型分页列表 Request VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 public class DictDataPageReqVO extends PageParam {
14 14  
15   - @Schema(title = "字典标签", example = "芋道")
  15 + @Schema(description = "字典标签", example = "芋道")
16 16 @Size(max = 100, message = "字典标签长度不能超过100个字符")
17 17 private String label;
18 18  
19   - @Schema(title = "字典类型", example = "sys_common_sex", description = "模糊匹配")
  19 + @Schema(description = "字典类型,模糊匹配", example = "sys_common_sex")
20 20 @Size(max = 100, message = "字典类型类型长度不能超过100个字符")
21 21 private String dictType;
22 22  
23   - @Schema(title = "展示状态", example = "1", description = "参见 CommonStatusEnum 枚举类")
  23 + @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1")
24 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/DictDataRespVO.java
... ... @@ -8,17 +8,17 @@ import lombok.NoArgsConstructor;
8 8  
9 9 import java.time.LocalDateTime;
10 10  
11   -@Schema(title = "管理后台 - 字典数据信息 Response VO")
  11 +@Schema(description = "管理后台 - 字典数据信息 Response VO")
12 12 @Data
13 13 @NoArgsConstructor
14 14 @AllArgsConstructor
15 15 @EqualsAndHashCode(callSuper = true)
16 16 public class DictDataRespVO extends DictDataBaseVO {
17 17  
18   - @Schema(title = "字典数据编号", required = true, example = "1024")
  18 + @Schema(description = "字典数据编号", required = true, example = "1024")
19 19 private Long id;
20 20  
21   - @Schema(title = "创建时间", required = true, example = "时间戳格式")
  21 + @Schema(description = "创建时间", required = true, example = "时间戳格式")
22 22 private LocalDateTime createTime;
23 23  
24 24 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dict/vo/data/DictDataSimpleRespVO.java
... ... @@ -3,22 +3,22 @@ package cn.iocoder.yudao.module.system.controller.admin.dict.vo.data;
3 3 import io.swagger.v3.oas.annotations.media.Schema;
4 4 import lombok.Data;
5 5  
6   -@Schema(title = "管理后台 - 数据字典精简 Response VO")
  6 +@Schema(description = "管理后台 - 数据字典精简 Response VO")
7 7 @Data
8 8 public class DictDataSimpleRespVO {
9 9  
10   - @Schema(title = "字典类型", required = true, example = "gender")
  10 + @Schema(description = "字典类型", required = true, example = "gender")
11 11 private String dictType;
12 12  
13   - @Schema(title = "字典键值", required = true, example = "1")
  13 + @Schema(description = "字典键值", required = true, example = "1")
14 14 private String value;
15 15  
16   - @Schema(title = "字典标签", required = true, example = "男")
  16 + @Schema(description = "字典标签", required = true, example = "男")
17 17 private String label;
18 18  
19   - @Schema(title = "颜色类型", example = "default", description = "default、primary、success、info、warning、danger")
  19 + @Schema(description = "颜色类型,default、primary、success、info、warning、danger", example = "default")
20 20 private String colorType;
21   - @Schema(title = "css 样式", example = "btn-visible")
  21 + @Schema(description = "css 样式", example = "btn-visible")
22 22 private String cssClass;
23 23  
24 24 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dict/vo/data/DictDataUpdateReqVO.java
... ... @@ -6,12 +6,12 @@ import lombok.EqualsAndHashCode;
6 6  
7 7 import javax.validation.constraints.NotNull;
8 8  
9   -@Schema(title = "管理后台 - 字典数据更新 Request VO")
  9 +@Schema(description = "管理后台 - 字典数据更新 Request VO")
10 10 @Data
11 11 @EqualsAndHashCode(callSuper = true)
12 12 public class DictDataUpdateReqVO extends DictDataBaseVO {
13 13  
14   - @Schema(title = "字典数据编号", required = true, example = "1024")
  14 + @Schema(description = "字典数据编号", required = true, example = "1024")
15 15 @NotNull(message = "字典数据编号不能为空")
16 16 private Long id;
17 17  
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dict/vo/type/DictTypeBaseVO.java
... ... @@ -14,16 +14,16 @@ import javax.validation.constraints.Size;
14 14 @Data
15 15 public class DictTypeBaseVO {
16 16  
17   - @Schema(title = "字典名称", required = true, example = "性别")
  17 + @Schema(description = "字典名称", required = true, example = "性别")
18 18 @NotBlank(message = "字典名称不能为空")
19 19 @Size(max = 100, message = "字典类型名称长度不能超过100个字符")
20 20 private String name;
21 21  
22   - @Schema(title = "状态", required = true, example = "1", description = "参见 CommonStatusEnum 枚举类")
  22 + @Schema(description = "状态,参见 CommonStatusEnum 枚举类", required = true, example = "1")
23 23 @NotNull(message = "状态不能为空")
24 24 private Integer status;
25 25  
26   - @Schema(title = "备注", example = "快乐的备注")
  26 + @Schema(description = "备注", example = "快乐的备注")
27 27 private String remark;
28 28  
29 29 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dict/vo/type/DictTypeCreateReqVO.java
... ... @@ -7,12 +7,12 @@ import lombok.EqualsAndHashCode;
7 7 import javax.validation.constraints.NotNull;
8 8 import javax.validation.constraints.Size;
9 9  
10   -@Schema(title = "管理后台 - 字典类型创建 Request VO")
  10 +@Schema(description = "管理后台 - 字典类型创建 Request VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 public class DictTypeCreateReqVO extends DictTypeBaseVO {
14 14  
15   - @Schema(title = "字典类型", required = true, example = "sys_common_sex")
  15 + @Schema(description = "字典类型", required = true, example = "sys_common_sex")
16 16 @NotNull(message = "字典类型不能为空")
17 17 @Size(max = 100, message = "字典类型类型长度不能超过100个字符")
18 18 private String type;
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dict/vo/type/DictTypeExportReqVO.java
... ... @@ -8,21 +8,21 @@ import java.time.LocalDateTime;
8 8  
9 9 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
10 10  
11   -@Schema(title = "管理后台 - 字典类型分页列表 Request VO")
  11 +@Schema(description = "管理后台 - 字典类型分页列表 Request VO")
12 12 @Data
13 13 public class DictTypeExportReqVO {
14 14  
15   - @Schema(title = "字典类型名称", example = "芋道", description = "模糊匹配")
  15 + @Schema(description = "字典类型名称,模糊匹配", example = "芋道")
16 16 private String name;
17 17  
18   - @Schema(title = "字典类型", example = "sys_common_sex", description = "模糊匹配")
  18 + @Schema(description = "字典类型,模糊匹配", example = "sys_common_sex")
19 19 private String type;
20 20  
21   - @Schema(title = "展示状态", example = "1", description = "参见 CommonStatusEnum 枚举类")
  21 + @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1")
22 22 private Integer status;
23 23  
24 24 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
25   - @Schema(title = "创建时间")
  25 + @Schema(description = "创建时间")
26 26 private LocalDateTime[] createTime;
27 27  
28 28 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dict/vo/type/DictTypePageReqVO.java
... ... @@ -11,23 +11,23 @@ import java.time.LocalDateTime;
11 11  
12 12 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
13 13  
14   -@Schema(title = "管理后台 - 字典类型分页列表 Request VO")
  14 +@Schema(description = "管理后台 - 字典类型分页列表 Request VO")
15 15 @Data
16 16 @EqualsAndHashCode(callSuper = true)
17 17 public class DictTypePageReqVO extends PageParam {
18 18  
19   - @Schema(title = "字典类型名称", example = "芋道", description = "模糊匹配")
  19 + @Schema(description = "字典类型名称,模糊匹配", example = "芋道")
20 20 private String name;
21 21  
22   - @Schema(title = "字典类型", example = "sys_common_sex", description = "模糊匹配")
  22 + @Schema(description = "字典类型,模糊匹配", example = "sys_common_sex")
23 23 @Size(max = 100, message = "字典类型类型长度不能超过100个字符")
24 24 private String type;
25 25  
26   - @Schema(title = "展示状态", example = "1", description = "参见 CommonStatusEnum 枚举类")
  26 + @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1")
27 27 private Integer status;
28 28  
29 29 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
30   - @Schema(title = "创建时间")
  30 + @Schema(description = "创建时间")
31 31 private LocalDateTime[] createTime;
32 32  
33 33 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dict/vo/type/DictTypeRespVO.java
... ... @@ -8,20 +8,20 @@ import lombok.NoArgsConstructor;
8 8  
9 9 import java.time.LocalDateTime;
10 10  
11   -@Schema(title = "管理后台 - 字典类型信息 Response VO")
  11 +@Schema(description = "管理后台 - 字典类型信息 Response VO")
12 12 @Data
13 13 @NoArgsConstructor
14 14 @AllArgsConstructor
15 15 @EqualsAndHashCode(callSuper = true)
16 16 public class DictTypeRespVO extends DictTypeBaseVO {
17 17  
18   - @Schema(title = "字典类型编号", required = true, example = "1024")
  18 + @Schema(description = "字典类型编号", required = true, example = "1024")
19 19 private Long id;
20 20  
21   - @Schema(title = "字典类型", required = true, example = "sys_common_sex")
  21 + @Schema(description = "字典类型", required = true, example = "sys_common_sex")
22 22 private String type;
23 23  
24   - @Schema(title = "创建时间", required = true, example = "时间戳格式")
  24 + @Schema(description = "创建时间", required = true, example = "时间戳格式")
25 25 private LocalDateTime createTime;
26 26  
27 27 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dict/vo/type/DictTypeSimpleRespVO.java
... ... @@ -5,19 +5,19 @@ import lombok.AllArgsConstructor;
5 5 import lombok.Data;
6 6 import lombok.NoArgsConstructor;
7 7  
8   -@Schema(title = "管理后台 - 字典类型精简信息 Response VO")
  8 +@Schema(description = "管理后台 - 字典类型精简信息 Response VO")
9 9 @Data
10 10 @NoArgsConstructor
11 11 @AllArgsConstructor
12 12 public class DictTypeSimpleRespVO {
13 13  
14   - @Schema(title = "字典类型编号", required = true, example = "1024")
  14 + @Schema(description = "字典类型编号", required = true, example = "1024")
15 15 private Long id;
16 16  
17   - @Schema(title = "字典类型名称", required = true, example = "芋道")
  17 + @Schema(description = "字典类型名称", required = true, example = "芋道")
18 18 private String name;
19 19  
20   - @Schema(title = "字典类型", required = true, example = "sys_common_sex")
  20 + @Schema(description = "字典类型", required = true, example = "sys_common_sex")
21 21 private String type;
22 22  
23 23 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dict/vo/type/DictTypeUpdateReqVO.java
... ... @@ -6,12 +6,12 @@ import lombok.EqualsAndHashCode;
6 6  
7 7 import javax.validation.constraints.NotNull;
8 8  
9   -@Schema(title = "管理后台 - 字典类型更新 Request VO")
  9 +@Schema(description = "管理后台 - 字典类型更新 Request VO")
10 10 @Data
11 11 @EqualsAndHashCode(callSuper = true)
12 12 public class DictTypeUpdateReqVO extends DictTypeBaseVO {
13 13  
14   - @Schema(title = "字典类型编号", required = true, example = "1024")
  14 + @Schema(description = "字典类型编号", required = true, example = "1024")
15 15 @NotNull(message = "字典类型编号不能为空")
16 16 private Long id;
17 17  
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/errorcode/vo/ErrorCodeBaseVO.java
... ... @@ -12,19 +12,19 @@ import javax.validation.constraints.NotNull;
12 12 @Data
13 13 public class ErrorCodeBaseVO {
14 14  
15   - @Schema(title = "应用名", required = true, example = "dashboard")
  15 + @Schema(description = "应用名", required = true, example = "dashboard")
16 16 @NotNull(message = "应用名不能为空")
17 17 private String applicationName;
18 18  
19   - @Schema(title = "错误码编码", required = true, example = "1234")
  19 + @Schema(description = "错误码编码", required = true, example = "1234")
20 20 @NotNull(message = "错误码编码不能为空")
21 21 private Integer code;
22 22  
23   - @Schema(title = "错误码错误提示", required = true, example = "帅气")
  23 + @Schema(description = "错误码错误提示", required = true, example = "帅气")
24 24 @NotNull(message = "错误码错误提示不能为空")
25 25 private String message;
26 26  
27   - @Schema(title = "备注", example = "哈哈哈")
  27 + @Schema(description = "备注", example = "哈哈哈")
28 28 private String memo;
29 29  
30 30 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/errorcode/vo/ErrorCodeCreateReqVO.java
... ... @@ -5,7 +5,7 @@ import lombok.Data;
5 5 import lombok.EqualsAndHashCode;
6 6 import lombok.ToString;
7 7  
8   -@Schema(title = "管理后台 - 错误码创建 Request VO")
  8 +@Schema(description = "管理后台 - 错误码创建 Request VO")
9 9 @Data
10 10 @EqualsAndHashCode(callSuper = true)
11 11 @ToString(callSuper = true)
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/errorcode/vo/ErrorCodeExportReqVO.java
... ... @@ -8,24 +8,24 @@ import java.time.LocalDateTime;
8 8  
9 9 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
10 10  
11   -@Schema(title = "管理后台 - 错误码 Excel 导出 Request VO", description = "参数和 InfErrorCodePageReqVO 是一致的")
  11 +@Schema(description = "管理后台 - 错误码 Excel 导出 Request VO,参数和 InfErrorCodePageReqVO 是一致的")
12 12 @Data
13 13 public class ErrorCodeExportReqVO {
14 14  
15   - @Schema(title = "错误码类型", example = "1")
  15 + @Schema(description = "错误码类型", example = "1")
16 16 private Integer type;
17 17  
18   - @Schema(title = "应用名", example = "dashboard")
  18 + @Schema(description = "应用名", example = "dashboard")
19 19 private String applicationName;
20 20  
21   - @Schema(title = "错误码编码", example = "1234")
  21 + @Schema(description = "错误码编码", example = "1234")
22 22 private Integer code;
23 23  
24   - @Schema(title = "错误码错误提示", example = "帅气")
  24 + @Schema(description = "错误码错误提示", example = "帅气")
25 25 private String message;
26 26  
27 27 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
28   - @Schema(title = "创建时间")
  28 + @Schema(description = "创建时间")
29 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/errorcode/vo/ErrorCodePageReqVO.java
... ... @@ -11,26 +11,26 @@ import java.time.LocalDateTime;
11 11  
12 12 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
13 13  
14   -@Schema(title = "管理后台 - 错误码分页 Request VO")
  14 +@Schema(description = "管理后台 - 错误码分页 Request VO")
15 15 @Data
16 16 @EqualsAndHashCode(callSuper = true)
17 17 @ToString(callSuper = true)
18 18 public class ErrorCodePageReqVO extends PageParam {
19 19  
20   - @Schema(title = "错误码类型", example = "1", description = "参见 ErrorCodeTypeEnum 枚举类")
  20 + @Schema(description = "错误码类型,参见 ErrorCodeTypeEnum 枚举类", example = "1")
21 21 private Integer type;
22 22  
23   - @Schema(title = "应用名", example = "dashboard")
  23 + @Schema(description = "应用名", example = "dashboard")
24 24 private String applicationName;
25 25  
26   - @Schema(title = "错误码编码", example = "1234")
  26 + @Schema(description = "错误码编码", example = "1234")
27 27 private Integer code;
28 28  
29   - @Schema(title = "错误码错误提示", example = "帅气")
  29 + @Schema(description = "错误码错误提示", example = "帅气")
30 30 private String message;
31 31  
32 32 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
33   - @Schema(title = "创建时间")
  33 + @Schema(description = "创建时间")
34 34 private LocalDateTime[] createTime;
35 35  
36 36 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/errorcode/vo/ErrorCodeRespVO.java
... ... @@ -7,19 +7,19 @@ import lombok.ToString;
7 7  
8 8 import java.time.LocalDateTime;
9 9  
10   -@Schema(title = "管理后台 - 错误码 Response VO")
  10 +@Schema(description = "管理后台 - 错误码 Response VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class ErrorCodeRespVO extends ErrorCodeBaseVO {
15 15  
16   - @Schema(title = "错误码编号", required = true, example = "1024")
  16 + @Schema(description = "错误码编号", required = true, example = "1024")
17 17 private Long id;
18 18  
19   - @Schema(title = "错误码类型", required = true, example = "1", description = "参见 ErrorCodeTypeEnum 枚举类")
  19 + @Schema(description = "错误码类型,参见 ErrorCodeTypeEnum 枚举类", required = true, example = "1")
20 20 private Integer type;
21 21  
22   - @Schema(title = "创建时间", required = true)
  22 + @Schema(description = "创建时间", required = true)
23 23 private LocalDateTime createTime;
24 24  
25 25 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/errorcode/vo/ErrorCodeUpdateReqVO.java
... ... @@ -7,13 +7,13 @@ import lombok.ToString;
7 7  
8 8 import javax.validation.constraints.NotNull;
9 9  
10   -@Schema(title = "管理后台 - 错误码更新 Request VO")
  10 +@Schema(description = "管理后台 - 错误码更新 Request VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class ErrorCodeUpdateReqVO extends ErrorCodeBaseVO {
15 15  
16   - @Schema(title = "错误码编号", required = true, example = "1024")
  16 + @Schema(description = "错误码编号", required = true, example = "1024")
17 17 @NotNull(message = "错误码编号不能为空")
18 18 private Long id;
19 19  
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/logger/vo/loginlog/LoginLogBaseVO.java
... ... @@ -15,28 +15,28 @@ import javax.validation.constraints.Size;
15 15 @Data
16 16 public class LoginLogBaseVO {
17 17  
18   - @Schema(title = "日志类型", required = true, example = "1", description = "参见 LoginLogTypeEnum 枚举类")
  18 + @Schema(description = "日志类型,参见 LoginLogTypeEnum 枚举类", required = true, example = "1")
19 19 @NotNull(message = "日志类型不能为空")
20 20 private Integer logType;
21 21  
22   - @Schema(title = "链路追踪编号", example = "89aca178-a370-411c-ae02-3f0d672be4ab")
  22 + @Schema(description = "链路追踪编号", example = "89aca178-a370-411c-ae02-3f0d672be4ab")
23 23 @NotEmpty(message = "链路追踪编号不能为空")
24 24 private String traceId;
25 25  
26   - @Schema(title = "用户账号", required = true, example = "yudao")
  26 + @Schema(description = "用户账号", required = true, example = "yudao")
27 27 @NotBlank(message = "用户账号不能为空")
28 28 @Size(max = 30, message = "用户账号长度不能超过30个字符")
29 29 private String username;
30 30  
31   - @Schema(title = "登录结果", required = true, example = "1", description = "参见 LoginResultEnum 枚举类")
  31 + @Schema(description = "登录结果,参见 LoginResultEnum 枚举类", required = true, example = "1")
32 32 @NotNull(message = "登录结果不能为空")
33 33 private Integer result;
34 34  
35   - @Schema(title = "用户 IP", required = true, example = "127.0.0.1")
  35 + @Schema(description = "用户 IP", required = true, example = "127.0.0.1")
36 36 @NotEmpty(message = "用户 IP 不能为空")
37 37 private String userIp;
38 38  
39   - @Schema(title = "浏览器 UserAgent", example = "Mozilla/5.0")
  39 + @Schema(description = "浏览器 UserAgent", example = "Mozilla/5.0")
40 40 private String userAgent;
41 41  
42 42 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/logger/vo/loginlog/LoginLogExportReqVO.java
... ... @@ -8,20 +8,20 @@ import java.time.LocalDateTime;
8 8  
9 9 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
10 10  
11   -@Schema(title = "管理后台 - 登录日志分页列表 Request VO")
  11 +@Schema(description = "管理后台 - 登录日志分页列表 Request VO")
12 12 @Data
13 13 public class LoginLogExportReqVO {
14 14  
15   - @Schema(title = "用户 IP", example = "127.0.0.1", description = "模拟匹配")
  15 + @Schema(description = "用户 IP,模拟匹配", example = "127.0.0.1")
16 16 private String userIp;
17 17  
18   - @Schema(title = "用户账号", example = "芋道", description = "模拟匹配")
  18 + @Schema(description = "用户账号,模拟匹配", example = "芋道")
19 19 private String username;
20 20  
21   - @Schema(title = "操作状态", example = "true")
  21 + @Schema(description = "操作状态", example = "true")
22 22 private Boolean status;
23 23  
24   - @Schema(title = "登录时间", 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]")
25 25 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
26 26 private LocalDateTime[] createTime;
27 27  
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/logger/vo/loginlog/LoginLogPageReqVO.java
... ... @@ -10,21 +10,21 @@ import java.time.LocalDateTime;
10 10  
11 11 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
12 12  
13   -@Schema(title = "管理后台 - 登录日志分页列表 Request VO")
  13 +@Schema(description = "管理后台 - 登录日志分页列表 Request VO")
14 14 @Data
15 15 @EqualsAndHashCode(callSuper = true)
16 16 public class LoginLogPageReqVO extends PageParam {
17 17  
18   - @Schema(title = "用户 IP", example = "127.0.0.1", description = "模拟匹配")
  18 + @Schema(description = "用户 IP,模拟匹配", example = "127.0.0.1")
19 19 private String userIp;
20 20  
21   - @Schema(title = "用户账号", example = "芋道", description = "模拟匹配")
  21 + @Schema(description = "用户账号,模拟匹配", example = "芋道")
22 22 private String username;
23 23  
24   - @Schema(title = "操作状态", example = "true")
  24 + @Schema(description = "操作状态", example = "true")
25 25 private Boolean status;
26 26  
27   - @Schema(title = "登录时间", 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]")
28 28 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
29 29 private LocalDateTime[] createTime;
30 30  
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/logger/vo/loginlog/LoginLogRespVO.java
... ... @@ -8,23 +8,23 @@ import lombok.ToString;
8 8 import javax.validation.constraints.NotNull;
9 9 import java.time.LocalDateTime;
10 10  
11   -@Schema(title = "管理后台 - 登录日志 Response VO")
  11 +@Schema(description = "管理后台 - 登录日志 Response VO")
12 12 @Data
13 13 @EqualsAndHashCode(callSuper = true)
14 14 @ToString(callSuper = true)
15 15 public class LoginLogRespVO extends LoginLogBaseVO {
16 16  
17   - @Schema(title = "日志编号", required = true, example = "1024")
  17 + @Schema(description = "日志编号", required = true, example = "1024")
18 18 private Long id;
19 19  
20   - @Schema(title = "用户编号", example = "666")
  20 + @Schema(description = "用户编号", example = "666")
21 21 private Long userId;
22 22  
23   - @Schema(title = "用户类型", required = true, example = "2", description = "参见 UserTypeEnum 枚举")
  23 + @Schema(description = "用户类型,参见 UserTypeEnum 枚举", required = true, example = "2")
24 24 @NotNull(message = "用户类型不能为空")
25 25 private Integer userType;
26 26  
27   - @Schema(title = "登录时间", required = true)
  27 + @Schema(description = "登录时间", required = true)
28 28 private LocalDateTime createTime;
29 29  
30 30 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/logger/vo/operatelog/OperateLogBaseVO.java
... ... @@ -15,71 +15,71 @@ import java.util.Map;
15 15 @Data
16 16 public class OperateLogBaseVO {
17 17  
18   - @Schema(title = "链路追踪编号", required = true, example = "89aca178-a370-411c-ae02-3f0d672be4ab")
  18 + @Schema(description = "链路追踪编号", required = true, example = "89aca178-a370-411c-ae02-3f0d672be4ab")
19 19 @NotEmpty(message = "链路追踪编号不能为空")
20 20 private String traceId;
21 21  
22   - @Schema(title = "用户编号", required = true, example = "1024")
  22 + @Schema(description = "用户编号", required = true, example = "1024")
23 23 @NotNull(message = "用户编号不能为空")
24 24 private Long userId;
25 25  
26   - @Schema(title = "操作模块", required = true, example = "订单")
  26 + @Schema(description = "操作模块", required = true, example = "订单")
27 27 @NotEmpty(message = "操作模块不能为空")
28 28 private String module;
29 29  
30   - @Schema(title = "操作名", required = true, example = "创建订单")
  30 + @Schema(description = "操作名", required = true, example = "创建订单")
31 31 @NotEmpty(message = "操作名")
32 32 private String name;
33 33  
34   - @Schema(title = "操作分类", required = true, example = "1", description = "参见 OperateLogTypeEnum 枚举类")
  34 + @Schema(description = "操作分类,参见 OperateLogTypeEnum 枚举类", required = true, example = "1")
35 35 @NotNull(message = "操作分类不能为空")
36 36 private Integer type;
37 37  
38   - @Schema(title = "操作明细", example = "修改编号为 1 的用户信息,将性别从男改成女,将姓名从芋道改成源码。")
  38 + @Schema(description = "操作明细", example = "修改编号为 1 的用户信息,将性别从男改成女,将姓名从芋道改成源码。")
39 39 private String content;
40 40  
41   - @Schema(title = "拓展字段", example = "{'orderId': 1}")
  41 + @Schema(description = "拓展字段", example = "{'orderId': 1}")
42 42 private Map<String, Object> exts;
43 43  
44   - @Schema(title = "请求方法名", required = true, example = "GET")
  44 + @Schema(description = "请求方法名", required = true, example = "GET")
45 45 @NotEmpty(message = "请求方法名不能为空")
46 46 private String requestMethod;
47 47  
48   - @Schema(title = "请求地址", required = true, example = "/xxx/yyy")
  48 + @Schema(description = "请求地址", required = true, example = "/xxx/yyy")
49 49 @NotEmpty(message = "请求地址不能为空")
50 50 private String requestUrl;
51 51  
52   - @Schema(title = "用户 IP", required = true, example = "127.0.0.1")
  52 + @Schema(description = "用户 IP", required = true, example = "127.0.0.1")
53 53 @NotEmpty(message = "用户 IP 不能为空")
54 54 private String userIp;
55 55  
56   - @Schema(title = "浏览器 UserAgent", required = true, example = "Mozilla/5.0")
  56 + @Schema(description = "浏览器 UserAgent", required = true, example = "Mozilla/5.0")
57 57 @NotEmpty(message = "浏览器 UserAgent 不能为空")
58 58 private String userAgent;
59 59  
60   - @Schema(title = "Java 方法名", required = true, example = "cn.iocoder.yudao.adminserver.UserController.save(...)")
  60 + @Schema(description = "Java 方法名", required = true, example = "cn.iocoder.yudao.adminserver.UserController.save(...)")
61 61 @NotEmpty(message = "Java 方法名不能为空")
62 62 private String javaMethod;
63 63  
64   - @Schema(title = "Java 方法的参数")
  64 + @Schema(description = "Java 方法的参数")
65 65 private String javaMethodArgs;
66 66  
67   - @Schema(title = "开始时间", required = true)
  67 + @Schema(description = "开始时间", required = true)
68 68 @NotNull(message = "开始时间不能为空")
69 69 private LocalDateTime startTime;
70 70  
71   - @Schema(title = "执行时长,单位:毫秒", required = true)
  71 + @Schema(description = "执行时长,单位:毫秒", required = true)
72 72 @NotNull(message = "执行时长不能为空")
73 73 private Integer duration;
74 74  
75   - @Schema(title = "结果码", required = true)
  75 + @Schema(description = "结果码", required = true)
76 76 @NotNull(message = "结果码不能为空")
77 77 private Integer resultCode;
78 78  
79   - @Schema(title = "结果提示")
  79 + @Schema(description = "结果提示")
80 80 private String resultMsg;
81 81  
82   - @Schema(title = "结果数据")
  82 + @Schema(description = "结果数据")
83 83 private String resultData;
84 84  
85 85 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/logger/vo/operatelog/OperateLogExportReqVO.java
... ... @@ -8,23 +8,23 @@ import java.time.LocalDateTime;
8 8  
9 9 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
10 10  
11   -@Schema(title = "管理后台 - 操作日志分页列表 Request VO")
  11 +@Schema(description = "管理后台 - 操作日志分页列表 Request VO")
12 12 @Data
13 13 public class OperateLogExportReqVO {
14 14  
15   - @Schema(title = "操作模块", example = "订单", description = "模拟匹配")
  15 + @Schema(description = "操作模块,模拟匹配", example = "订单")
16 16 private String module;
17 17  
18   - @Schema(title = "用户昵称", example = "芋道", description = "模拟匹配")
  18 + @Schema(description = "用户昵称,模拟匹配", example = "芋道")
19 19 private String userNickname;
20 20  
21   - @Schema(title = "操作分类", example = "1", description = "参见 OperateLogTypeEnum 枚举类")
  21 + @Schema(description = "操作分类,参见 OperateLogTypeEnum 枚举类", example = "1")
22 22 private Integer type;
23 23  
24   - @Schema(title = "操作状态", example = "true")
  24 + @Schema(description = "操作状态", example = "true")
25 25 private Boolean success;
26 26  
27   - @Schema(title = "开始时间", 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]")
28 28 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
29 29 private LocalDateTime[] startTime;
30 30  
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/logger/vo/operatelog/OperateLogPageReqVO.java
... ... @@ -9,23 +9,23 @@ import java.time.LocalDateTime;
9 9  
10 10 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
11 11  
12   -@Schema(title = "管理后台 - 操作日志分页列表 Request VO")
  12 +@Schema(description = "管理后台 - 操作日志分页列表 Request VO")
13 13 @Data
14 14 public class OperateLogPageReqVO extends PageParam {
15 15  
16   - @Schema(title = "操作模块", example = "订单", description = "模拟匹配")
  16 + @Schema(description = "操作模块,模拟匹配", example = "订单")
17 17 private String module;
18 18  
19   - @Schema(title = "用户昵称", example = "芋道", description = "模拟匹配")
  19 + @Schema(description = "用户昵称,模拟匹配", example = "芋道")
20 20 private String userNickname;
21 21  
22   - @Schema(title = "操作分类", example = "1", description = "参见 OperateLogTypeEnum 枚举类")
  22 + @Schema(description = "操作分类,参见 OperateLogTypeEnum 枚举类", example = "1")
23 23 private Integer type;
24 24  
25   - @Schema(title = "操作状态", example = "true")
  25 + @Schema(description = "操作状态", example = "true")
26 26 private Boolean success;
27 27  
28   - @Schema(title = "开始时间", 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]")
29 29 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
30 30 private LocalDateTime[] startTime;
31 31  
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/logger/vo/operatelog/OperateLogRespVO.java
... ... @@ -5,16 +5,16 @@ import lombok.Data;
5 5 import lombok.EqualsAndHashCode;
6 6 import lombok.ToString;
7 7  
8   -@Schema(title = "管理后台 - 操作日志 Response VO")
  8 +@Schema(description = "管理后台 - 操作日志 Response VO")
9 9 @Data
10 10 @EqualsAndHashCode(callSuper = true)
11 11 @ToString(callSuper = true)
12 12 public class OperateLogRespVO extends OperateLogBaseVO {
13 13  
14   - @Schema(title = "日志编号", required = true, example = "1024")
  14 + @Schema(description = "日志编号", required = true, example = "1024")
15 15 private Long id;
16 16  
17   - @Schema(title = "用户昵称", required = true, example = "芋艿")
  17 + @Schema(description = "用户昵称", required = true, example = "芋艿")
18 18 private String userNickname;
19 19  
20 20 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/notice/vo/NoticeBaseVO.java
... ... @@ -14,19 +14,19 @@ import javax.validation.constraints.Size;
14 14 @Data
15 15 public class NoticeBaseVO {
16 16  
17   - @Schema(title = "公告标题", required = true, example = "小博主")
  17 + @Schema(description = "公告标题", required = true, example = "小博主")
18 18 @NotBlank(message = "公告标题不能为空")
19 19 @Size(max = 50, message = "公告标题不能超过50个字符")
20 20 private String title;
21 21  
22   - @Schema(title = "公告类型", required = true, example = "小博主")
  22 + @Schema(description = "公告类型", required = true, example = "小博主")
23 23 @NotNull(message = "公告类型不能为空")
24 24 private Integer type;
25 25  
26   - @Schema(title = "公告内容", required = true, example = "半生编码")
  26 + @Schema(description = "公告内容", required = true, example = "半生编码")
27 27 private String content;
28 28  
29   - @Schema(title = "状态", required = true, example = "1", description = "参见 CommonStatusEnum 枚举类")
  29 + @Schema(description = "状态,参见 CommonStatusEnum 枚举类", required = true, example = "1")
30 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/NoticeCreateReqVO.java
... ... @@ -4,7 +4,7 @@ import io.swagger.v3.oas.annotations.media.Schema;
4 4 import lombok.Data;
5 5 import lombok.EqualsAndHashCode;
6 6  
7   -@Schema(title = "管理后台 - 通知公告创建 Request VO")
  7 +@Schema(description = "管理后台 - 通知公告创建 Request VO")
8 8 @Data
9 9 @EqualsAndHashCode(callSuper = true)
10 10 public class NoticeCreateReqVO extends NoticeBaseVO {
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/notice/vo/NoticePageReqVO.java
... ... @@ -5,15 +5,15 @@ import io.swagger.v3.oas.annotations.media.Schema;
5 5 import lombok.Data;
6 6 import lombok.EqualsAndHashCode;
7 7  
8   -@Schema(title = "管理后台 - 通知公告分页 Request VO")
  8 +@Schema(description = "管理后台 - 通知公告分页 Request VO")
9 9 @Data
10 10 @EqualsAndHashCode(callSuper = true)
11 11 public class NoticePageReqVO extends PageParam {
12 12  
13   - @Schema(title = "通知公告名称", example = "芋道", description = "模糊匹配")
  13 + @Schema(description = "通知公告名称,模糊匹配", example = "芋道")
14 14 private String title;
15 15  
16   - @Schema(title = "展示状态", example = "1", description = "参见 CommonStatusEnum 枚举类")
  16 + @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1")
17 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/notice/vo/NoticeRespVO.java
... ... @@ -6,15 +6,15 @@ import lombok.EqualsAndHashCode;
6 6  
7 7 import java.time.LocalDateTime;
8 8  
9   -@Schema(title = "管理后台 - 通知公告信息 Response VO")
  9 +@Schema(description = "管理后台 - 通知公告信息 Response VO")
10 10 @Data
11 11 @EqualsAndHashCode(callSuper = true)
12 12 public class NoticeRespVO extends NoticeBaseVO {
13 13  
14   - @Schema(title = "通知公告序号", required = true, example = "1024")
  14 + @Schema(description = "通知公告序号", required = true, example = "1024")
15 15 private Long id;
16 16  
17   - @Schema(title = "创建时间", required = true, example = "时间戳格式")
  17 + @Schema(description = "创建时间", required = true, example = "时间戳格式")
18 18 private LocalDateTime createTime;
19 19  
20 20 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/notice/vo/NoticeUpdateReqVO.java
... ... @@ -6,12 +6,12 @@ import lombok.EqualsAndHashCode;
6 6  
7 7 import javax.validation.constraints.NotNull;
8 8  
9   -@Schema(title = "管理后台 - 岗位公告更新 Request VO")
  9 +@Schema(description = "管理后台 - 岗位公告更新 Request VO")
10 10 @Data
11 11 @EqualsAndHashCode(callSuper = true)
12 12 public class NoticeUpdateReqVO extends NoticeBaseVO {
13 13  
14   - @Schema(title = "岗位公告编号", required = true, example = "1024")
  14 + @Schema(description = "岗位公告编号", required = true, example = "1024")
15 15 @NotNull(message = "岗位公告编号不能为空")
16 16 private Long id;
17 17  
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/oauth2/vo/client/OAuth2ClientBaseVO.java
... ... @@ -18,60 +18,60 @@ import java.util.List;
18 18 @Data
19 19 public class OAuth2ClientBaseVO {
20 20  
21   - @Schema(title = "客户端编号", required = true, example = "tudou")
  21 + @Schema(description = "客户端编号", required = true, example = "tudou")
22 22 @NotNull(message = "客户端编号不能为空")
23 23 private String clientId;
24 24  
25   - @Schema(title = "客户端密钥", required = true, example = "fan")
  25 + @Schema(description = "客户端密钥", required = true, example = "fan")
26 26 @NotNull(message = "客户端密钥不能为空")
27 27 private String secret;
28 28  
29   - @Schema(title = "应用名", required = true, example = "土豆")
  29 + @Schema(description = "应用名", required = true, example = "土豆")
30 30 @NotNull(message = "应用名不能为空")
31 31 private String name;
32 32  
33   - @Schema(title = "应用图标", required = true, example = "https://www.iocoder.cn/xx.png")
  33 + @Schema(description = "应用图标", required = true, example = "https://www.iocoder.cn/xx.png")
34 34 @NotNull(message = "应用图标不能为空")
35 35 @URL(message = "应用图标的地址不正确")
36 36 private String logo;
37 37  
38   - @Schema(title = "应用描述", example = "我是一个应用")
  38 + @Schema(description = "应用描述", example = "我是一个应用")
39 39 private String description;
40 40  
41   - @Schema(title = "状态", required = true, example = "1", description = "参见 CommonStatusEnum 枚举")
  41 + @Schema(description = "状态,参见 CommonStatusEnum 枚举", required = true, example = "1")
42 42 @NotNull(message = "状态不能为空")
43 43 private Integer status;
44 44  
45   - @Schema(title = "访问令牌的有效期", required = true, example = "8640")
  45 + @Schema(description = "访问令牌的有效期", required = true, example = "8640")
46 46 @NotNull(message = "访问令牌的有效期不能为空")
47 47 private Integer accessTokenValiditySeconds;
48 48  
49   - @Schema(title = "刷新令牌的有效期", required = true, example = "8640000")
  49 + @Schema(description = "刷新令牌的有效期", required = true, example = "8640000")
50 50 @NotNull(message = "刷新令牌的有效期不能为空")
51 51 private Integer refreshTokenValiditySeconds;
52 52  
53   - @Schema(title = "可重定向的 URI 地址", required = true, example = "https://www.iocoder.cn")
  53 + @Schema(description = "可重定向的 URI 地址", required = true, example = "https://www.iocoder.cn")
54 54 @NotNull(message = "可重定向的 URI 地址不能为空")
55 55 private List<@NotEmpty(message = "重定向的 URI 不能为空")
56 56 @URL(message = "重定向的 URI 格式不正确") String> redirectUris;
57 57  
58   - @Schema(title = "授权类型", required = true, example = "password", description = "参见 OAuth2GrantTypeEnum 枚举")
  58 + @Schema(description = "授权类型,参见 OAuth2GrantTypeEnum 枚举", required = true, example = "password")
59 59 @NotNull(message = "授权类型不能为空")
60 60 private List<String> authorizedGrantTypes;
61 61  
62   - @Schema(title = "授权范围", example = "user_info")
  62 + @Schema(description = "授权范围", example = "user_info")
63 63 private List<String> scopes;
64 64  
65   - @Schema(title = "自动通过的授权范围", example = "user_info")
  65 + @Schema(description = "自动通过的授权范围", example = "user_info")
66 66 private List<String> autoApproveScopes;
67 67  
68   - @Schema(title = "权限", example = "system:user:query")
  68 + @Schema(description = "权限", example = "system:user:query")
69 69 private List<String> authorities;
70 70  
71   - @Schema(title = "资源", example = "1024")
  71 + @Schema(description = "资源", example = "1024")
72 72 private List<String> resourceIds;
73 73  
74   - @Schema(title = "附加信息", example = "{yunai: true}")
  74 + @Schema(description = "附加信息", example = "{yunai: true}")
75 75 private String additionalInformation;
76 76  
77 77 @AssertTrue(message = "附加信息必须是 JSON 格式")
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/oauth2/vo/client/OAuth2ClientCreateReqVO.java
... ... @@ -3,7 +3,7 @@ package cn.iocoder.yudao.module.system.controller.admin.oauth2.vo.client;
3 3 import io.swagger.v3.oas.annotations.media.Schema;
4 4 import lombok.*;
5 5  
6   -@Schema(title = "管理后台 - OAuth2 客户端创建 Request VO")
  6 +@Schema(description = "管理后台 - OAuth2 客户端创建 Request VO")
7 7 @Data
8 8 @EqualsAndHashCode(callSuper = true)
9 9 @ToString(callSuper = true)
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/oauth2/vo/client/OAuth2ClientPageReqVO.java
... ... @@ -4,16 +4,16 @@ import io.swagger.v3.oas.annotations.media.Schema;
4 4 import lombok.*;
5 5 import cn.iocoder.yudao.framework.common.pojo.PageParam;
6 6  
7   -@Schema(title = "管理后台 - OAuth2 客户端分页 Request VO")
  7 +@Schema(description = "管理后台 - OAuth2 客户端分页 Request VO")
8 8 @Data
9 9 @EqualsAndHashCode(callSuper = true)
10 10 @ToString(callSuper = true)
11 11 public class OAuth2ClientPageReqVO extends PageParam {
12 12  
13   - @Schema(title = "应用名", example = "土豆", description = "模糊匹配")
  13 + @Schema(description = "应用名,模糊匹配", example = "土豆")
14 14 private String name;
15 15  
16   - @Schema(title = "状态", example = "1", description = "参见 CommonStatusEnum 枚举")
  16 + @Schema(description = "状态,参见 CommonStatusEnum 枚举", example = "1")
17 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/client/OAuth2ClientRespVO.java
... ... @@ -7,16 +7,16 @@ import lombok.ToString;
7 7  
8 8 import java.time.LocalDateTime;
9 9  
10   -@Schema(title = "管理后台 - OAuth2 客户端 Response VO")
  10 +@Schema(description = "管理后台 - OAuth2 客户端 Response VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class OAuth2ClientRespVO extends OAuth2ClientBaseVO {
15 15  
16   - @Schema(title = "编号", required = true, example = "1024")
  16 + @Schema(description = "编号", required = true, example = "1024")
17 17 private Long id;
18 18  
19   - @Schema(title = "创建时间", required = true)
  19 + @Schema(description = "创建时间", required = true)
20 20 private LocalDateTime createTime;
21 21  
22 22 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/oauth2/vo/client/OAuth2ClientUpdateReqVO.java
... ... @@ -7,13 +7,13 @@ import lombok.ToString;
7 7  
8 8 import javax.validation.constraints.NotNull;
9 9  
10   -@Schema(title = "管理后台 - OAuth2 客户端更新 Request VO")
  10 +@Schema(description = "管理后台 - OAuth2 客户端更新 Request VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class OAuth2ClientUpdateReqVO extends OAuth2ClientBaseVO {
15 15  
16   - @Schema(title = "编号", required = true, example = "1024")
  16 + @Schema(description = "编号", required = true, example = "1024")
17 17 @NotNull(message = "编号不能为空")
18 18 private Long id;
19 19  
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/oauth2/vo/open/OAuth2OpenAccessTokenRespVO.java
... ... @@ -6,29 +6,29 @@ import lombok.AllArgsConstructor;
6 6 import lombok.Data;
7 7 import lombok.NoArgsConstructor;
8 8  
9   -@Schema(title = "管理后台 - 【开放接口】访问令牌 Response VO")
  9 +@Schema(description = "管理后台 - 【开放接口】访问令牌 Response VO")
10 10 @Data
11 11 @NoArgsConstructor
12 12 @AllArgsConstructor
13 13 public class OAuth2OpenAccessTokenRespVO {
14 14  
15   - @Schema(title = "访问令牌", required = true, example = "tudou")
  15 + @Schema(description = "访问令牌", required = true, example = "tudou")
16 16 @JsonProperty("access_token")
17 17 private String accessToken;
18 18  
19   - @Schema(title = "刷新令牌", required = true, example = "nice")
  19 + @Schema(description = "刷新令牌", required = true, example = "nice")
20 20 @JsonProperty("refresh_token")
21 21 private String refreshToken;
22 22  
23   - @Schema(title = "令牌类型", required = true, example = "bearer")
  23 + @Schema(description = "令牌类型", required = true, example = "bearer")
24 24 @JsonProperty("token_type")
25 25 private String tokenType;
26 26  
27   - @Schema(title = "过期时间", required = true, example = "42430", description = "单位:秒")
  27 + @Schema(description = "过期时间,单位:秒", required = true, example = "42430")
28 28 @JsonProperty("expires_in")
29 29 private Long expiresIn;
30 30  
31   - @Schema(title = "授权范围", example = "user_info", description = "如果多个授权范围,使用空格分隔")
  31 + @Schema(description = "授权范围,如果多个授权范围,使用空格分隔", example = "user_info")
32 32 private String scope;
33 33  
34 34 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/oauth2/vo/open/OAuth2OpenAuthorizeInfoRespVO.java
... ... @@ -8,7 +8,7 @@ import lombok.NoArgsConstructor;
8 8  
9 9 import java.util.List;
10 10  
11   -@Schema(title = "管理后台 - 授权页的信息 Response VO")
  11 +@Schema(description = "管理后台 - 授权页的信息 Response VO")
12 12 @Data
13 13 @NoArgsConstructor
14 14 @AllArgsConstructor
... ... @@ -19,7 +19,7 @@ public class OAuth2OpenAuthorizeInfoRespVO {
19 19 */
20 20 private Client client;
21 21  
22   - @Schema(title = "scope 的选中信息", required = true, description = "使用 List 保证有序性,Key 是 scope,Value 为是否选中")
  22 + @Schema(description = "scope 的选中信息,使用 List 保证有序性,Key 是 scope,Value 为是否选中", required = true)
23 23 private List<KeyValue<String, Boolean>> scopes;
24 24  
25 25 @Data
... ... @@ -27,10 +27,10 @@ public class OAuth2OpenAuthorizeInfoRespVO {
27 27 @AllArgsConstructor
28 28 public static class Client {
29 29  
30   - @Schema(title = "应用名", required = true, example = "土豆")
  30 + @Schema(description = "应用名", required = true, example = "土豆")
31 31 private String name;
32 32  
33   - @Schema(title = "应用图标", required = true, example = "https://www.iocoder.cn/xx.png")
  33 + @Schema(description = "应用图标", required = true, example = "https://www.iocoder.cn/xx.png")
34 34 private String logo;
35 35  
36 36 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/oauth2/vo/open/OAuth2OpenCheckTokenRespVO.java
... ... @@ -8,33 +8,33 @@ import lombok.NoArgsConstructor;
8 8  
9 9 import java.util.List;
10 10  
11   -@Schema(title = "管理后台 - 【开放接口】校验令牌 Response VO")
  11 +@Schema(description = "管理后台 - 【开放接口】校验令牌 Response VO")
12 12 @Data
13 13 @NoArgsConstructor
14 14 @AllArgsConstructor
15 15 public class OAuth2OpenCheckTokenRespVO {
16 16  
17   - @Schema(title = "用户编号", required = true, example = "666")
  17 + @Schema(description = "用户编号", required = true, example = "666")
18 18 @JsonProperty("user_id")
19 19 private Long userId;
20   - @Schema(title = "用户类型", required = true, example = "2", description = "参见 UserTypeEnum 枚举")
  20 + @Schema(description = "用户类型,参见 UserTypeEnum 枚举", required = true, example = "2")
21 21 @JsonProperty("user_type")
22 22 private Integer userType;
23   - @Schema(title = "租户编号", required = true, example = "1024")
  23 + @Schema(description = "租户编号", required = true, example = "1024")
24 24 @JsonProperty("tenant_id")
25 25 private Long tenantId;
26 26  
27   - @Schema(title = "客户端编号", required = true, example = "car")
  27 + @Schema(description = "客户端编号", required = true, example = "car")
28 28 @JsonProperty("client_id")
29 29 private String clientId;
30   - @Schema(title = "授权范围", required = true, example = "user_info")
  30 + @Schema(description = "授权范围", required = true, example = "user_info")
31 31 private List<String> scopes;
32 32  
33   - @Schema(title = "访问令牌", required = true, example = "tudou")
  33 + @Schema(description = "访问令牌", required = true, example = "tudou")
34 34 @JsonProperty("access_token")
35 35 private String accessToken;
36 36  
37   - @Schema(title = "过期时间", required = true, example = "1593092157", description = "时间戳 / 1000,即单位:秒")
  37 + @Schema(description = "过期时间,时间戳 / 1000,即单位:秒", required = true, example = "1593092157")
38 38 private Long exp;
39 39  
40 40 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/oauth2/vo/token/OAuth2AccessTokenPageReqVO.java
... ... @@ -5,18 +5,18 @@ import io.swagger.v3.oas.annotations.media.Schema;
5 5 import lombok.Data;
6 6 import lombok.EqualsAndHashCode;
7 7  
8   -@Schema(title = "管理后台 - 访问令牌分页 Request VO")
  8 +@Schema(description = "管理后台 - 访问令牌分页 Request VO")
9 9 @Data
10 10 @EqualsAndHashCode(callSuper = true)
11 11 public class OAuth2AccessTokenPageReqVO extends PageParam {
12 12  
13   - @Schema(title = "用户编号", required = true, example = "666")
  13 + @Schema(description = "用户编号", required = true, example = "666")
14 14 private Long userId;
15 15  
16   - @Schema(title = "用户类型", required = true, example = "2", description = "参见 UserTypeEnum 枚举")
  16 + @Schema(description = "用户类型,参见 UserTypeEnum 枚举", required = true, example = "2")
17 17 private Integer userType;
18 18  
19   - @Schema(title = "客户端编号", required = true, example = "2")
  19 + @Schema(description = "客户端编号", required = true, example = "2")
20 20 private String clientId;
21 21  
22 22 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/oauth2/vo/token/OAuth2AccessTokenRespVO.java
... ... @@ -7,34 +7,34 @@ import lombok.NoArgsConstructor;
7 7  
8 8 import java.time.LocalDateTime;
9 9  
10   -@Schema(title = "管理后台 - 访问令牌 Response VO")
  10 +@Schema(description = "管理后台 - 访问令牌 Response VO")
11 11 @Data
12 12 @NoArgsConstructor
13 13 @AllArgsConstructor
14 14 public class OAuth2AccessTokenRespVO {
15 15  
16   - @Schema(title = "编号", required = true, example = "1024")
  16 + @Schema(description = "编号", required = true, example = "1024")
17 17 private Long id;
18 18  
19   - @Schema(title = "访问令牌", required = true, example = "tudou")
  19 + @Schema(description = "访问令牌", required = true, example = "tudou")
20 20 private String accessToken;
21 21  
22   - @Schema(title = "刷新令牌", required = true, example = "nice")
  22 + @Schema(description = "刷新令牌", required = true, example = "nice")
23 23 private String refreshToken;
24 24  
25   - @Schema(title = "用户编号", required = true, example = "666")
  25 + @Schema(description = "用户编号", required = true, example = "666")
26 26 private Long userId;
27 27  
28   - @Schema(title = "用户类型", required = true, example = "2", description = "参见 UserTypeEnum 枚举")
  28 + @Schema(description = "用户类型,参见 UserTypeEnum 枚举", required = true, example = "2")
29 29 private Integer userType;
30 30  
31   - @Schema(title = "客户端编号", required = true, example = "2")
  31 + @Schema(description = "客户端编号", required = true, example = "2")
32 32 private String clientId;
33 33  
34   - @Schema(title = "创建时间", required = true)
  34 + @Schema(description = "创建时间", required = true)
35 35 private LocalDateTime createTime;
36 36  
37   - @Schema(title = "过期时间", required = true)
  37 + @Schema(description = "过期时间", required = true)
38 38 private LocalDateTime expiresTime;
39 39  
40 40 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/oauth2/vo/user/OAuth2UserInfoRespVO.java
... ... @@ -7,30 +7,30 @@ import lombok.NoArgsConstructor;
7 7  
8 8 import java.util.List;
9 9  
10   -@Schema(title = "管理后台 - OAuth2 获得用户基本信息 Response VO")
  10 +@Schema(description = "管理后台 - OAuth2 获得用户基本信息 Response VO")
11 11 @Data
12 12 @NoArgsConstructor
13 13 @AllArgsConstructor
14 14 public class OAuth2UserInfoRespVO {
15 15  
16   - @Schema(title = "用户编号", required = true, example = "1")
  16 + @Schema(description = "用户编号", required = true, example = "1")
17 17 private Long id;
18 18  
19   - @Schema(title = "用户账号", required = true, example = "芋艿")
  19 + @Schema(description = "用户账号", required = true, example = "芋艿")
20 20 private String username;
21 21  
22   - @Schema(title = "用户昵称", required = true, example = "芋道")
  22 + @Schema(description = "用户昵称", required = true, example = "芋道")
23 23 private String nickname;
24 24  
25   - @Schema(title = "用户邮箱", example = "yudao@iocoder.cn")
  25 + @Schema(description = "用户邮箱", example = "yudao@iocoder.cn")
26 26 private String email;
27   - @Schema(title = "手机号码", example = "15601691300")
  27 + @Schema(description = "手机号码", example = "15601691300")
28 28 private String mobile;
29 29  
30   - @Schema(title = "用户性别", example = "1", description = "参见 SexEnum 枚举类")
  30 + @Schema(description = "用户性别,参见 SexEnum 枚举类", example = "1")
31 31 private Integer sex;
32 32  
33   - @Schema(title = "用户头像", example = "https://www.iocoder.cn/xxx.png")
  33 + @Schema(description = "用户头像", example = "https://www.iocoder.cn/xxx.png")
34 34 private String avatar;
35 35  
36 36 /**
... ... @@ -43,26 +43,26 @@ public class OAuth2UserInfoRespVO {
43 43 */
44 44 private List<Post> posts;
45 45  
46   - @Schema(title = "部门")
  46 + @Schema(description = "部门")
47 47 @Data
48 48 public static class Dept {
49 49  
50   - @Schema(title = "部门编号", required = true, example = "1")
  50 + @Schema(description = "部门编号", required = true, example = "1")
51 51 private Long id;
52 52  
53   - @Schema(title = "部门名称", required = true, example = "研发部")
  53 + @Schema(description = "部门名称", required = true, example = "研发部")
54 54 private String name;
55 55  
56 56 }
57 57  
58   - @Schema(title = "岗位")
  58 + @Schema(description = "岗位")
59 59 @Data
60 60 public static class Post {
61 61  
62   - @Schema(title = "岗位编号", required = true, example = "1")
  62 + @Schema(description = "岗位编号", required = true, example = "1")
63 63 private Long id;
64 64  
65   - @Schema(title = "岗位名称", required = true, example = "开发")
  65 + @Schema(description = "岗位名称", required = true, example = "开发")
66 66 private String name;
67 67  
68 68 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/oauth2/vo/user/OAuth2UserUpdateReqVO.java
... ... @@ -9,26 +9,26 @@ import org.hibernate.validator.constraints.Length;
9 9 import javax.validation.constraints.Email;
10 10 import javax.validation.constraints.Size;
11 11  
12   -@Schema(title = "管理后台 - OAuth2 更新用户基本信息 Request VO")
  12 +@Schema(description = "管理后台 - OAuth2 更新用户基本信息 Request VO")
13 13 @Data
14 14 @NoArgsConstructor
15 15 @AllArgsConstructor
16 16 public class OAuth2UserUpdateReqVO {
17 17  
18   - @Schema(title = "用户昵称", required = true, example = "芋艿")
  18 + @Schema(description = "用户昵称", required = true, example = "芋艿")
19 19 @Size(max = 30, message = "用户昵称长度不能超过 30 个字符")
20 20 private String nickname;
21 21  
22   - @Schema(title = "用户邮箱", example = "yudao@iocoder.cn")
  22 + @Schema(description = "用户邮箱", example = "yudao@iocoder.cn")
23 23 @Email(message = "邮箱格式不正确")
24 24 @Size(max = 50, message = "邮箱长度不能超过 50 个字符")
25 25 private String email;
26 26  
27   - @Schema(title = "手机号码", example = "15601691300")
  27 + @Schema(description = "手机号码", example = "15601691300")
28 28 @Length(min = 11, max = 11, message = "手机号长度必须 11 位")
29 29 private String mobile;
30 30  
31   - @Schema(title = "用户性别", example = "1", description = "参见 SexEnum 枚举类")
  31 + @Schema(description = "用户性别,参见 SexEnum 枚举类", example = "1")
32 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
... ... @@ -14,46 +14,46 @@ import javax.validation.constraints.Size;
14 14 @Data
15 15 public class MenuBaseVO {
16 16  
17   - @Schema(title = "菜单名称", required = true, example = "芋道")
  17 + @Schema(description = "菜单名称", required = true, example = "芋道")
18 18 @NotBlank(message = "菜单名称不能为空")
19 19 @Size(max = 50, message = "菜单名称长度不能超过50个字符")
20 20 private String name;
21 21  
22   - @Schema(title = "权限标识", example = "sys:menu:add", description = "仅菜单类型为按钮时,才需要传递")
  22 + @Schema(description = "权限标识,仅菜单类型为按钮时,才需要传递", example = "sys:menu:add")
23 23 @Size(max = 100)
24 24 private String permission;
25 25  
26   - @Schema(title = "类型", required = true, example = "1", description = "参见 MenuTypeEnum 枚举类")
  26 + @Schema(description = "类型,参见 MenuTypeEnum 枚举类", required = true, example = "1")
27 27 @NotNull(message = "菜单类型不能为空")
28 28 private Integer type;
29 29  
30   - @Schema(title = "显示顺序不能为空", required = true, example = "1024")
  30 + @Schema(description = "显示顺序不能为空", required = true, example = "1024")
31 31 @NotNull(message = "显示顺序不能为空")
32 32 private Integer sort;
33 33  
34   - @Schema(title = "父菜单 ID", required = true, example = "1024")
  34 + @Schema(description = "父菜单 ID", required = true, example = "1024")
35 35 @NotNull(message = "父菜单 ID 不能为空")
36 36 private Long parentId;
37 37  
38   - @Schema(title = "路由地址", example = "post", description = "仅菜单类型为菜单或者目录时,才需要传")
  38 + @Schema(description = "路由地址,仅菜单类型为菜单或者目录时,才需要传", example = "post")
39 39 @Size(max = 200, message = "路由地址不能超过200个字符")
40 40 private String path;
41 41  
42   - @Schema(title = "菜单图标", example = "/menu/list", description = "仅菜单类型为菜单或者目录时,才需要传")
  42 + @Schema(description = "菜单图标,仅菜单类型为菜单或者目录时,才需要传", example = "/menu/list")
43 43 private String icon;
44 44  
45   - @Schema(title = "组件路径", example = "system/post/index", description = "仅菜单类型为菜单时,才需要传")
  45 + @Schema(description = "组件路径,仅菜单类型为菜单时,才需要传", example = "system/post/index")
46 46 @Size(max = 200, message = "组件路径不能超过255个字符")
47 47 private String component;
48 48  
49   - @Schema(title = "状态", required = true, example = "1", description = "见 CommonStatusEnum 枚举")
  49 + @Schema(description = "状态,见 CommonStatusEnum 枚举", required = true, example = "1")
50 50 @NotNull(message = "状态不能为空")
51 51 private Integer status;
52 52  
53   - @Schema(title = "是否可见", example = "false")
  53 + @Schema(description = "是否可见", example = "false")
54 54 private Boolean visible;
55 55  
56   - @Schema(title = "是否缓存", example = "false")
  56 + @Schema(description = "是否缓存", example = "false")
57 57 private Boolean keepAlive;
58 58  
59 59 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/permission/vo/menu/MenuCreateReqVO.java
... ... @@ -3,7 +3,7 @@ package cn.iocoder.yudao.module.system.controller.admin.permission.vo.menu;
3 3 import io.swagger.v3.oas.annotations.media.Schema;
4 4 import lombok.*;
5 5  
6   -@Schema(title = "管理后台 - 菜单创建 Request VO")
  6 +@Schema(description = "管理后台 - 菜单创建 Request VO")
7 7 @Data
8 8 @EqualsAndHashCode(callSuper = true)
9 9 public class MenuCreateReqVO extends MenuBaseVO {
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/permission/vo/menu/MenuListReqVO.java
... ... @@ -3,14 +3,14 @@ package cn.iocoder.yudao.module.system.controller.admin.permission.vo.menu;
3 3 import io.swagger.v3.oas.annotations.media.Schema;
4 4 import lombok.Data;
5 5  
6   -@Schema(title = "管理后台 - 菜单列表 Request VO")
  6 +@Schema(description = "管理后台 - 菜单列表 Request VO")
7 7 @Data
8 8 public class MenuListReqVO {
9 9  
10   - @Schema(title = "菜单名称", example = "芋道", description = "模糊匹配")
  10 + @Schema(description = "菜单名称,模糊匹配", example = "芋道")
11 11 private String name;
12 12  
13   - @Schema(title = "展示状态", example = "1", description = "参见 CommonStatusEnum 枚举类")
  13 + @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1")
14 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
... ... @@ -8,20 +8,20 @@ import lombok.NoArgsConstructor;
8 8  
9 9 import java.time.LocalDateTime;
10 10  
11   -@Schema(title = "管理后台 - 菜单信息 Response VO")
  11 +@Schema(description = "管理后台 - 菜单信息 Response VO")
12 12 @Data
13 13 @NoArgsConstructor
14 14 @AllArgsConstructor
15 15 @EqualsAndHashCode(callSuper = true)
16 16 public class MenuRespVO extends MenuBaseVO {
17 17  
18   - @Schema(title = "菜单编号", required = true, example = "1024")
  18 + @Schema(description = "菜单编号", required = true, example = "1024")
19 19 private Long id;
20 20  
21   - @Schema(title = "状态", required = true, example = "1", description = "参见 CommonStatusEnum 枚举类")
  21 + @Schema(description = "状态,参见 CommonStatusEnum 枚举类", required = true, example = "1")
22 22 private Integer status;
23 23  
24   - @Schema(title = "创建时间", required = true, example = "时间戳格式")
  24 + @Schema(description = "创建时间", required = true, example = "时间戳格式")
25 25 private LocalDateTime createTime;
26 26  
27 27 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/permission/vo/menu/MenuSimpleRespVO.java
... ... @@ -7,22 +7,22 @@ import lombok.NoArgsConstructor;
7 7  
8 8 import javax.validation.constraints.NotNull;
9 9  
10   -@Schema(title = "管理后台 - 菜单精简信息 Response VO")
  10 +@Schema(description = "管理后台 - 菜单精简信息 Response VO")
11 11 @Data
12 12 @NoArgsConstructor
13 13 @AllArgsConstructor
14 14 public class MenuSimpleRespVO {
15 15  
16   - @Schema(title = "菜单编号", required = true, example = "1024")
  16 + @Schema(description = "菜单编号", required = true, example = "1024")
17 17 private Long id;
18 18  
19   - @Schema(title = "菜单名称", required = true, example = "芋道")
  19 + @Schema(description = "菜单名称", required = true, example = "芋道")
20 20 private String name;
21 21  
22   - @Schema(title = "父菜单 ID", required = true, example = "1024")
  22 + @Schema(description = "父菜单 ID", required = true, example = "1024")
23 23 private Long parentId;
24 24  
25   - @Schema(title = "类型", required = true, example = "1", description = "参见 MenuTypeEnum 枚举类")
  25 + @Schema(description = "类型,参见 MenuTypeEnum 枚举类", required = true, example = "1")
26 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/menu/MenuUpdateReqVO.java
... ... @@ -5,12 +5,12 @@ import lombok.*;
5 5  
6 6 import javax.validation.constraints.NotNull;
7 7  
8   -@Schema(title = "管理后台 - 菜单更新 Request VO")
  8 +@Schema(description = "管理后台 - 菜单更新 Request VO")
9 9 @Data
10 10 @EqualsAndHashCode(callSuper = true)
11 11 public class MenuUpdateReqVO extends MenuBaseVO {
12 12  
13   - @Schema(title = "菜单编号", required = true, example = "1024")
  13 + @Schema(description = "菜单编号", required = true, example = "1024")
14 14 @NotNull(message = "菜单编号不能为空")
15 15 private Long id;
16 16  
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/permission/vo/permission/PermissionAssignRoleDataScopeReqVO.java
... ... @@ -7,20 +7,20 @@ import javax.validation.constraints.NotNull;
7 7 import java.util.Collections;
8 8 import java.util.Set;
9 9  
10   -@Schema(title = "管理后台 - 赋予角色数据权限 Request VO")
  10 +@Schema(description = "管理后台 - 赋予角色数据权限 Request VO")
11 11 @Data
12 12 public class PermissionAssignRoleDataScopeReqVO {
13 13  
14   - @Schema(title = "角色编号", required = true, example = "1")
  14 + @Schema(description = "角色编号", required = true, example = "1")
15 15 @NotNull(message = "角色编号不能为空")
16 16 private Long roleId;
17 17  
18   - @Schema(title = "数据范围", required = true, example = "1", description = "参见 DataScopeEnum 枚举类")
  18 + @Schema(description = "数据范围,参见 DataScopeEnum 枚举类", required = true, example = "1")
19 19 @NotNull(message = "数据范围不能为空")
20 20 // TODO 这里要多一个枚举校验
21 21 private Integer dataScope;
22 22  
23   - @Schema(title = "部门编号列表", example = "1,3,5", description = "只有范围类型为 DEPT_CUSTOM 时,该字段才需要")
  23 + @Schema(description = "部门编号列表,只有范围类型为 DEPT_CUSTOM 时,该字段才需要", example = "1,3,5")
24 24 private Set<Long> dataScopeDeptIds = Collections.emptySet(); // 兜底
25 25  
26 26 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/permission/vo/permission/PermissionAssignRoleMenuReqVO.java
... ... @@ -7,15 +7,15 @@ import javax.validation.constraints.NotNull;
7 7 import java.util.Collections;
8 8 import java.util.Set;
9 9  
10   -@Schema(title = "管理后台 - 赋予角色菜单 Request VO")
  10 +@Schema(description = "管理后台 - 赋予角色菜单 Request VO")
11 11 @Data
12 12 public class PermissionAssignRoleMenuReqVO {
13 13  
14   - @Schema(title = "角色编号", required = true, example = "1")
  14 + @Schema(description = "角色编号", required = true, example = "1")
15 15 @NotNull(message = "角色编号不能为空")
16 16 private Long roleId;
17 17  
18   - @Schema(title = "菜单编号列表", example = "1,3,5")
  18 + @Schema(description = "菜单编号列表", example = "1,3,5")
19 19 private Set<Long> menuIds = Collections.emptySet(); // 兜底
20 20  
21 21 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/permission/vo/permission/PermissionAssignUserRoleReqVO.java
... ... @@ -7,15 +7,15 @@ import javax.validation.constraints.NotNull;
7 7 import java.util.Collections;
8 8 import java.util.Set;
9 9  
10   -@Schema(title = "管理后台 - 赋予用户角色 Request VO")
  10 +@Schema(description = "管理后台 - 赋予用户角色 Request VO")
11 11 @Data
12 12 public class PermissionAssignUserRoleReqVO {
13 13  
14   - @Schema(title = "用户编号", required = true, example = "1")
  14 + @Schema(description = "用户编号", required = true, example = "1")
15 15 @NotNull(message = "用户编号不能为空")
16 16 private Long userId;
17 17  
18   - @Schema(title = "角色编号列表", example = "1,3,5")
  18 + @Schema(description = "角色编号列表", example = "1,3,5")
19 19 private Set<Long> roleIds = Collections.emptySet(); // 兜底
20 20  
21 21 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/permission/vo/role/RoleBaseVO.java
... ... @@ -14,21 +14,21 @@ import javax.validation.constraints.Size;
14 14 @Data
15 15 public class RoleBaseVO {
16 16  
17   - @Schema(title = "角色名称", required = true, example = "管理员")
  17 + @Schema(description = "角色名称", required = true, example = "管理员")
18 18 @NotBlank(message = "角色名称不能为空")
19 19 @Size(max = 30, message = "角色名称长度不能超过30个字符")
20 20 private String name;
21 21  
22 22 @NotBlank(message = "角色标志不能为空")
23 23 @Size(max = 100, message = "角色标志长度不能超过100个字符")
24   - @Schema(title = "角色编码", required = true, example = "ADMIN")
  24 + @Schema(description = "角色编码", required = true, example = "ADMIN")
25 25 private String code;
26 26  
27   - @Schema(title = "显示顺序不能为空", required = true, example = "1024")
  27 + @Schema(description = "显示顺序不能为空", required = true, example = "1024")
28 28 @NotNull(message = "显示顺序不能为空")
29 29 private Integer sort;
30 30  
31   - @Schema(title = "备注", example = "我是一个角色")
  31 + @Schema(description = "备注", example = "我是一个角色")
32 32 private String remark;
33 33  
34 34 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/permission/vo/role/RoleCreateReqVO.java
... ... @@ -4,7 +4,7 @@ import io.swagger.v3.oas.annotations.media.Schema;
4 4 import lombok.Data;
5 5 import lombok.EqualsAndHashCode;
6 6  
7   -@Schema(title = "管理后台 - 角色创建 Request VO")
  7 +@Schema(description = "管理后台 - 角色创建 Request VO")
8 8 @Data
9 9 @EqualsAndHashCode(callSuper = true)
10 10 public class RoleCreateReqVO extends RoleBaseVO {
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/permission/vo/role/RoleExportReqVO.java
... ... @@ -8,20 +8,20 @@ import java.time.LocalDateTime;
8 8  
9 9 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
10 10  
11   -@Schema(title = "管理后台 - 角色分页 Request VO")
  11 +@Schema(description = "管理后台 - 角色分页 Request VO")
12 12 @Data
13 13 public class RoleExportReqVO {
14 14  
15   - @Schema(title = "角色名称", example = "芋道", description = "模糊匹配")
  15 + @Schema(description = "角色名称,模糊匹配", example = "芋道")
16 16 private String name;
17 17  
18   - @Schema(title = "角色标识", example = "yudao", description = "模糊匹配")
  18 + @Schema(description = "角色标识,模糊匹配", example = "yudao")
19 19 private String code;
20 20  
21   - @Schema(title = "展示状态", example = "1", description = "参见 CommonStatusEnum 枚举类")
  21 + @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1")
22 22 private Integer status;
23 23  
24   - @Schema(title = "开始时间", 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]")
25 25 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
26 26 private LocalDateTime[] createTime;
27 27  
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/permission/vo/role/RolePageReqVO.java
... ... @@ -10,21 +10,21 @@ import java.time.LocalDateTime;
10 10  
11 11 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
12 12  
13   -@Schema(title = "管理后台 - 角色分页 Request VO")
  13 +@Schema(description = "管理后台 - 角色分页 Request VO")
14 14 @Data
15 15 @EqualsAndHashCode(callSuper = true)
16 16 public class RolePageReqVO extends PageParam {
17 17  
18   - @Schema(title = "角色名称", example = "芋道", description = "模糊匹配")
  18 + @Schema(description = "角色名称,模糊匹配", example = "芋道")
19 19 private String name;
20 20  
21   - @Schema(title = "角色标识", example = "yudao", description = "模糊匹配")
  21 + @Schema(description = "角色标识,模糊匹配", example = "yudao")
22 22 private String code;
23 23  
24   - @Schema(title = "展示状态", example = "1", description = "参见 CommonStatusEnum 枚举类")
  24 + @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1")
25 25 private Integer status;
26 26  
27   - @Schema(title = "创建时间", 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]")
28 28 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
29 29 private LocalDateTime[] createTime;
30 30  
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/permission/vo/role/RoleRespVO.java
... ... @@ -9,29 +9,29 @@ import lombok.NoArgsConstructor;
9 9 import java.time.LocalDateTime;
10 10 import java.util.Set;
11 11  
12   -@Schema(title = "管理后台 - 角色信息 Response VO")
  12 +@Schema(description = "管理后台 - 角色信息 Response VO")
13 13 @Data
14 14 @NoArgsConstructor
15 15 @AllArgsConstructor
16 16 @EqualsAndHashCode(callSuper = true)
17 17 public class RoleRespVO extends RoleBaseVO {
18 18  
19   - @Schema(title = "角色编号", required = true, example = "1")
  19 + @Schema(description = "角色编号", required = true, example = "1")
20 20 private Long id;
21 21  
22   - @Schema(title = "数据范围", required = true, example = "1", description = "参见 DataScopeEnum 枚举类")
  22 + @Schema(description = "数据范围,参见 DataScopeEnum 枚举类", required = true, example = "1")
23 23 private Integer dataScope;
24 24  
25   - @Schema(title = "数据范围(指定部门数组)", example = "1")
  25 + @Schema(description = "数据范围(指定部门数组)", example = "1")
26 26 private Set<Long> dataScopeDeptIds;
27 27  
28   - @Schema(title = "状态", required = true, example = "1", description = "参见 CommonStatusEnum 枚举类")
  28 + @Schema(description = "状态,参见 CommonStatusEnum 枚举类", required = true, example = "1")
29 29 private Integer status;
30 30  
31   - @Schema(title = "角色类型", required = true, example = "1", description = "参见 RoleTypeEnum 枚举类")
  31 + @Schema(description = "角色类型,参见 RoleTypeEnum 枚举类", required = true, example = "1")
32 32 private Integer type;
33 33  
34   - @Schema(title = "创建时间", required = true, example = "时间戳格式")
  34 + @Schema(description = "创建时间", required = true, example = "时间戳格式")
35 35 private LocalDateTime createTime;
36 36  
37 37 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/permission/vo/role/RoleSimpleRespVO.java
... ... @@ -5,16 +5,16 @@ import lombok.AllArgsConstructor;
5 5 import lombok.Data;
6 6 import lombok.NoArgsConstructor;
7 7  
8   -@Schema(title = "管理后台 - 角色精简信息 Response VO")
  8 +@Schema(description = "管理后台 - 角色精简信息 Response VO")
9 9 @Data
10 10 @NoArgsConstructor
11 11 @AllArgsConstructor
12 12 public class RoleSimpleRespVO {
13 13  
14   - @Schema(title = "角色编号", required = true, example = "1024")
  14 + @Schema(description = "角色编号", required = true, example = "1024")
15 15 private Long id;
16 16  
17   - @Schema(title = "角色名称", required = true, example = "芋道")
  17 + @Schema(description = "角色名称", required = true, example = "芋道")
18 18 private String name;
19 19  
20 20 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/permission/vo/role/RoleUpdateReqVO.java
... ... @@ -6,12 +6,12 @@ import lombok.EqualsAndHashCode;
6 6  
7 7 import javax.validation.constraints.NotNull;
8 8  
9   -@Schema(title = "管理后台 - 角色更新 Request VO")
  9 +@Schema(description = "管理后台 - 角色更新 Request VO")
10 10 @Data
11 11 @EqualsAndHashCode(callSuper = true)
12 12 public class RoleUpdateReqVO extends RoleBaseVO {
13 13  
14   - @Schema(title = "角色编号", required = true, example = "1024")
  14 + @Schema(description = "角色编号", required = true, example = "1024")
15 15 @NotNull(message = "角色编号不能为空")
16 16 private Long id;
17 17  
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/permission/vo/role/RoleUpdateStatusReqVO.java
... ... @@ -7,15 +7,15 @@ import lombok.Data;
7 7  
8 8 import javax.validation.constraints.NotNull;
9 9  
10   -@Schema(title = "管理后台 - 角色更新状态 Request VO")
  10 +@Schema(description = "管理后台 - 角色更新状态 Request VO")
11 11 @Data
12 12 public class RoleUpdateStatusReqVO {
13 13  
14   - @Schema(title = "角色编号", required = true, example = "1024")
  14 + @Schema(description = "角色编号", required = true, example = "1024")
15 15 @NotNull(message = "角色编号不能为空")
16 16 private Long id;
17 17  
18   - @Schema(title = "状态", required = true, example = "1", description = "见 CommonStatusEnum 枚举")
  18 + @Schema(description = "状态,见 CommonStatusEnum 枚举", required = true, example = "1")
19 19 @NotNull(message = "状态不能为空")
20 20 @InEnum(value = CommonStatusEnum.class, message = "修改状态必须是 {value}")
21 21 private Integer status;
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sensitiveword/vo/SensitiveWordBaseVO.java
... ... @@ -13,19 +13,19 @@ import java.util.List;
13 13 @Data
14 14 public class SensitiveWordBaseVO {
15 15  
16   - @Schema(title = "敏感词", required = true, example = "敏感词")
  16 + @Schema(description = "敏感词", required = true, example = "敏感词")
17 17 @NotNull(message = "敏感词不能为空")
18 18 private String name;
19 19  
20   - @Schema(title = "标签", required = true, example = "短信,评论")
  20 + @Schema(description = "标签", required = true, example = "短信,评论")
21 21 @NotNull(message = "标签不能为空")
22 22 private List<String> tags;
23 23  
24   - @Schema(title = "状态", required = true, example = "1", description = "参见 CommonStatusEnum 枚举类")
  24 + @Schema(description = "状态,参见 CommonStatusEnum 枚举类", required = true, example = "1")
25 25 @NotNull(message = "状态不能为空")
26 26 private Integer status;
27 27  
28   - @Schema(title = "描述", example = "污言秽语")
  28 + @Schema(description = "描述", example = "污言秽语")
29 29 private String description;
30 30  
31 31 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sensitiveword/vo/SensitiveWordCreateReqVO.java
... ... @@ -5,7 +5,7 @@ import lombok.Data;
5 5 import lombok.EqualsAndHashCode;
6 6 import lombok.ToString;
7 7  
8   -@Schema(title = "管理后台 - 敏感词创建 Request VO")
  8 +@Schema(description = "管理后台 - 敏感词创建 Request VO")
9 9 @Data
10 10 @EqualsAndHashCode(callSuper = true)
11 11 @ToString(callSuper = true)
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sensitiveword/vo/SensitiveWordExportReqVO.java
... ... @@ -8,21 +8,21 @@ import java.time.LocalDateTime;
8 8  
9 9 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
10 10  
11   -@Schema(title = "管理后台 - 敏感词 Excel 导出 Request VO", description = "参数和 SensitiveWordPageReqVO 是一致的")
  11 +@Schema(description = "管理后台 - 敏感词 Excel 导出 Request VO,参数和 SensitiveWordPageReqVO 是一致的")
12 12 @Data
13 13 public class SensitiveWordExportReqVO {
14 14  
15   - @Schema(title = "敏感词", example = "敏感词")
  15 + @Schema(description = "敏感词", example = "敏感词")
16 16 private String name;
17 17  
18   - @Schema(title = "标签", example = "短信,评论")
  18 + @Schema(description = "标签", example = "短信,评论")
19 19 private String tag;
20 20  
21   - @Schema(title = "状态", example = "1", description = "参见 CommonStatusEnum 枚举类")
  21 + @Schema(description = "状态,参见 CommonStatusEnum 枚举类", example = "1")
22 22 private Integer status;
23 23  
24 24 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
25   - @Schema(title = "创建时间")
  25 + @Schema(description = "创建时间")
26 26 private LocalDateTime[] createTime;
27 27  
28 28 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sensitiveword/vo/SensitiveWordPageReqVO.java
... ... @@ -11,23 +11,23 @@ import java.time.LocalDateTime;
11 11  
12 12 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
13 13  
14   -@Schema(title = "管理后台 - 敏感词分页 Request VO")
  14 +@Schema(description = "管理后台 - 敏感词分页 Request VO")
15 15 @Data
16 16 @EqualsAndHashCode(callSuper = true)
17 17 @ToString(callSuper = true)
18 18 public class SensitiveWordPageReqVO extends PageParam {
19 19  
20   - @Schema(title = "敏感词", example = "敏感词")
  20 + @Schema(description = "敏感词", example = "敏感词")
21 21 private String name;
22 22  
23   - @Schema(title = "标签", example = "短信,评论")
  23 + @Schema(description = "标签", example = "短信,评论")
24 24 private String tag;
25 25  
26   - @Schema(title = "状态", example = "1", description = "参见 CommonStatusEnum 枚举类")
  26 + @Schema(description = "状态,参见 CommonStatusEnum 枚举类", example = "1")
27 27 private Integer status;
28 28  
29 29 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
30   - @Schema(title = "创建时间")
  30 + @Schema(description = "创建时间")
31 31 private LocalDateTime[] createTime;
32 32  
33 33 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sensitiveword/vo/SensitiveWordRespVO.java
... ... @@ -7,16 +7,16 @@ import lombok.ToString;
7 7  
8 8 import java.time.LocalDateTime;
9 9  
10   -@Schema(title = "管理后台 - 敏感词 Response VO")
  10 +@Schema(description = "管理后台 - 敏感词 Response VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class SensitiveWordRespVO extends SensitiveWordBaseVO {
15 15  
16   - @Schema(title = "编号", required = true, example = "1")
  16 + @Schema(description = "编号", required = true, example = "1")
17 17 private Long id;
18 18  
19   - @Schema(title = "创建时间", required = true)
  19 + @Schema(description = "创建时间", required = true)
20 20 private LocalDateTime createTime;
21 21  
22 22 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sensitiveword/vo/SensitiveWordUpdateReqVO.java
... ... @@ -7,13 +7,13 @@ import lombok.ToString;
7 7  
8 8 import javax.validation.constraints.NotNull;
9 9  
10   -@Schema(title = "管理后台 - 敏感词更新 Request VO")
  10 +@Schema(description = "管理后台 - 敏感词更新 Request VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class SensitiveWordUpdateReqVO extends SensitiveWordBaseVO {
15 15  
16   - @Schema(title = "编号", required = true, example = "1")
  16 + @Schema(description = "编号", required = true, example = "1")
17 17 @NotNull(message = "编号不能为空")
18 18 private Long id;
19 19  
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sms/vo/channel/SmsChannelBaseVO.java
... ... @@ -12,25 +12,25 @@ import javax.validation.constraints.NotNull;
12 12 @Data
13 13 public class SmsChannelBaseVO {
14 14  
15   - @Schema(title = "短信签名", required = true, example = "芋道源码")
  15 + @Schema(description = "短信签名", required = true, example = "芋道源码")
16 16 @NotNull(message = "短信签名不能为空")
17 17 private String signature;
18 18  
19   - @Schema(title = "启用状态", required = true, example = "1")
  19 + @Schema(description = "启用状态", required = true, example = "1")
20 20 @NotNull(message = "启用状态不能为空")
21 21 private Integer status;
22 22  
23   - @Schema(title = "备注", example = "好吃!")
  23 + @Schema(description = "备注", example = "好吃!")
24 24 private String remark;
25 25  
26   - @Schema(title = "短信 API 的账号", required = true, example = "yudao")
  26 + @Schema(description = "短信 API 的账号", required = true, example = "yudao")
27 27 @NotNull(message = "短信 API 的账号不能为空")
28 28 private String apiKey;
29 29  
30   - @Schema(title = "短信 API 的密钥", example = "yuanma")
  30 + @Schema(description = "短信 API 的密钥", example = "yuanma")
31 31 private String apiSecret;
32 32  
33   - @Schema(title = "短信发送回调 URL", example = "http://www.iocoder.cn")
  33 + @Schema(description = "短信发送回调 URL", example = "http://www.iocoder.cn")
34 34 @URL(message = "回调 URL 格式不正确")
35 35 private String callbackUrl;
36 36  
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sms/vo/channel/SmsChannelCreateReqVO.java
... ... @@ -7,13 +7,13 @@ import lombok.ToString;
7 7  
8 8 import javax.validation.constraints.NotNull;
9 9  
10   -@Schema(title = "管理后台 - 短信渠道创建 Request VO")
  10 +@Schema(description = "管理后台 - 短信渠道创建 Request VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class SmsChannelCreateReqVO extends SmsChannelBaseVO {
15 15  
16   - @Schema(title = "渠道编码", required = true, example = "YUN_PIAN", description = "参见 SmsChannelEnum 枚举类")
  16 + @Schema(description = "渠道编码,参见 SmsChannelEnum 枚举类", required = true, example = "YUN_PIAN")
17 17 @NotNull(message = "渠道编码不能为空")
18 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
... ... @@ -11,20 +11,20 @@ import java.time.LocalDateTime;
11 11  
12 12 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
13 13  
14   -@Schema(title = "管理后台 - 短信渠道分页 Request VO")
  14 +@Schema(description = "管理后台 - 短信渠道分页 Request VO")
15 15 @Data
16 16 @EqualsAndHashCode(callSuper = true)
17 17 @ToString(callSuper = true)
18 18 public class SmsChannelPageReqVO extends PageParam {
19 19  
20   - @Schema(title = "任务状态", example = "1")
  20 + @Schema(description = "任务状态", example = "1")
21 21 private Integer status;
22 22  
23   - @Schema(title = "短信签名", example = "芋道源码", description = "模糊匹配")
  23 + @Schema(description = "短信签名,模糊匹配", example = "芋道源码")
24 24 private String signature;
25 25  
26 26 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
27   - @Schema(title = "创建时间")
  27 + @Schema(description = "创建时间")
28 28 private LocalDateTime[] createTime;
29 29  
30 30 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sms/vo/channel/SmsChannelRespVO.java
... ... @@ -7,19 +7,19 @@ import lombok.ToString;
7 7  
8 8 import java.time.LocalDateTime;
9 9  
10   -@Schema(title = "管理后台 - 短信渠道 Response VO")
  10 +@Schema(description = "管理后台 - 短信渠道 Response VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class SmsChannelRespVO extends SmsChannelBaseVO {
15 15  
16   - @Schema(title = "编号", required = true, example = "1024")
  16 + @Schema(description = "编号", required = true, example = "1024")
17 17 private Long id;
18 18  
19   - @Schema(title = "渠道编码", required = true, example = "YUN_PIAN", description = "参见 SmsChannelEnum 枚举类")
  19 + @Schema(description = "渠道编码,参见 SmsChannelEnum 枚举类", required = true, example = "YUN_PIAN")
20 20 private String code;
21 21  
22   - @Schema(title = "创建时间", required = true)
  22 + @Schema(description = "创建时间", required = true)
23 23 private LocalDateTime createTime;
24 24  
25 25 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sms/vo/channel/SmsChannelSimpleRespVO.java
... ... @@ -5,19 +5,19 @@ import lombok.Data;
5 5  
6 6 import javax.validation.constraints.NotNull;
7 7  
8   -@Schema(title = "管理后台 - 短信渠道精简 Response VO")
  8 +@Schema(description = "管理后台 - 短信渠道精简 Response VO")
9 9 @Data
10 10 public class SmsChannelSimpleRespVO {
11 11  
12   - @Schema(title = "编号", required = true, example = "1024")
  12 + @Schema(description = "编号", required = true, example = "1024")
13 13 @NotNull(message = "编号不能为空")
14 14 private Long id;
15 15  
16   - @Schema(title = "短信签名", required = true, example = "芋道源码")
  16 + @Schema(description = "短信签名", required = true, example = "芋道源码")
17 17 @NotNull(message = "短信签名不能为空")
18 18 private String signature;
19 19  
20   - @Schema(title = "渠道编码", required = true, example = "YUN_PIAN", description = "参见 SmsChannelEnum 枚举类")
  20 + @Schema(description = "渠道编码,参见 SmsChannelEnum 枚举类", required = true, example = "YUN_PIAN")
21 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/channel/SmsChannelUpdateReqVO.java
... ... @@ -7,13 +7,13 @@ import lombok.ToString;
7 7  
8 8 import javax.validation.constraints.NotNull;
9 9  
10   -@Schema(title = "管理后台 - 短信渠道更新 Request VO")
  10 +@Schema(description = "管理后台 - 短信渠道更新 Request VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class SmsChannelUpdateReqVO extends SmsChannelBaseVO {
15 15  
16   - @Schema(title = "编号", required = true, example = "1024")
  16 + @Schema(description = "编号", required = true, example = "1024")
17 17 @NotNull(message = "编号不能为空")
18 18 private Long id;
19 19  
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sms/vo/log/SmsLogExportReqVO.java
... ... @@ -8,31 +8,31 @@ import java.time.LocalDateTime;
8 8  
9 9 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
10 10  
11   -@Schema(title = "管理后台 - 短信日志 Excel 导出 Request VO", description = "参数和 SmsLogPageReqVO 是一致的")
  11 +@Schema(description = "管理后台 - 短信日志 Excel 导出 Request VO,参数和 SmsLogPageReqVO 是一致的")
12 12 @Data
13 13 public class SmsLogExportReqVO {
14 14  
15   - @Schema(title = "短信渠道编号", example = "10")
  15 + @Schema(description = "短信渠道编号", example = "10")
16 16 private Long channelId;
17 17  
18   - @Schema(title = "模板编号", example = "20")
  18 + @Schema(description = "模板编号", example = "20")
19 19 private Long templateId;
20 20  
21   - @Schema(title = "手机号", example = "15601691300")
  21 + @Schema(description = "手机号", example = "15601691300")
22 22 private String mobile;
23 23  
24   - @Schema(title = "发送状态", example = "1")
  24 + @Schema(description = "发送状态", example = "1")
25 25 private Integer sendStatus;
26 26  
27 27 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
28   - @Schema(title = "开始发送时间")
  28 + @Schema(description = "开始发送时间")
29 29 private LocalDateTime[] sendTime;
30 30  
31   - @Schema(title = "接收状态", example = "0")
  31 + @Schema(description = "接收状态", example = "0")
32 32 private Integer receiveStatus;
33 33  
34 34 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
35   - @Schema(title = "开始接收时间")
  35 + @Schema(description = "开始接收时间")
36 36 private LocalDateTime[] receiveTime;
37 37  
38 38 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sms/vo/log/SmsLogPageReqVO.java
... ... @@ -11,33 +11,33 @@ import java.time.LocalDateTime;
11 11  
12 12 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
13 13  
14   -@Schema(title = "管理后台 - 短信日志分页 Request VO")
  14 +@Schema(description = "管理后台 - 短信日志分页 Request VO")
15 15 @Data
16 16 @EqualsAndHashCode(callSuper = true)
17 17 @ToString(callSuper = true)
18 18 public class SmsLogPageReqVO extends PageParam {
19 19  
20   - @Schema(title = "短信渠道编号", example = "10")
  20 + @Schema(description = "短信渠道编号", example = "10")
21 21 private Long channelId;
22 22  
23   - @Schema(title = "模板编号", example = "20")
  23 + @Schema(description = "模板编号", example = "20")
24 24 private Long templateId;
25 25  
26   - @Schema(title = "手机号", example = "15601691300")
  26 + @Schema(description = "手机号", example = "15601691300")
27 27 private String mobile;
28 28  
29   - @Schema(title = "发送状态", example = "1", description = "参见 SmsSendStatusEnum 枚举类")
  29 + @Schema(description = "发送状态,参见 SmsSendStatusEnum 枚举类", example = "1")
30 30 private Integer sendStatus;
31 31  
32 32 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
33   - @Schema(title = "发送时间")
  33 + @Schema(description = "发送时间")
34 34 private LocalDateTime[] sendTime;
35 35  
36   - @Schema(title = "接收状态", example = "0", description = "参见 SmsReceiveStatusEnum 枚举类")
  36 + @Schema(description = "接收状态,参见 SmsReceiveStatusEnum 枚举类", example = "0")
37 37 private Integer receiveStatus;
38 38  
39 39 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
40   - @Schema(title = "接收时间")
  40 + @Schema(description = "接收时间")
41 41 private LocalDateTime[] receiveTime;
42 42  
43 43 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sms/vo/log/SmsLogRespVO.java
... ... @@ -6,83 +6,83 @@ import lombok.Data;
6 6 import java.time.LocalDateTime;
7 7 import java.util.Map;
8 8  
9   -@Schema(title = "管理后台 - 短信日志 Response VO")
  9 +@Schema(description = "管理后台 - 短信日志 Response VO")
10 10 @Data
11 11 public class SmsLogRespVO {
12 12  
13   - @Schema(title = "编号", required = true, example = "1024")
  13 + @Schema(description = "编号", required = true, example = "1024")
14 14 private Long id;
15 15  
16   - @Schema(title = "短信渠道编号", required = true, example = "10")
  16 + @Schema(description = "短信渠道编号", required = true, example = "10")
17 17 private Long channelId;
18 18  
19   - @Schema(title = "短信渠道编码", required = true, example = "ALIYUN")
  19 + @Schema(description = "短信渠道编码", required = true, example = "ALIYUN")
20 20 private String channelCode;
21 21  
22   - @Schema(title = "模板编号", required = true, example = "20")
  22 + @Schema(description = "模板编号", required = true, example = "20")
23 23 private Long templateId;
24 24  
25   - @Schema(title = "模板编码", required = true, example = "test-01")
  25 + @Schema(description = "模板编码", required = true, example = "test-01")
26 26 private String templateCode;
27 27  
28   - @Schema(title = "短信类型", required = true, example = "1")
  28 + @Schema(description = "短信类型", required = true, example = "1")
29 29 private Integer templateType;
30 30  
31   - @Schema(title = "短信内容", required = true, example = "你好,你的验证码是 1024")
  31 + @Schema(description = "短信内容", required = true, example = "你好,你的验证码是 1024")
32 32 private String templateContent;
33 33  
34   - @Schema(title = "短信参数", required = true, example = "name,code")
  34 + @Schema(description = "短信参数", required = true, example = "name,code")
35 35 private Map<String, Object> templateParams;
36 36  
37   - @Schema(title = "短信 API 的模板编号", required = true, example = "SMS_207945135")
  37 + @Schema(description = "短信 API 的模板编号", required = true, example = "SMS_207945135")
38 38 private String apiTemplateId;
39 39  
40   - @Schema(title = "手机号", required = true, example = "15601691300")
  40 + @Schema(description = "手机号", required = true, example = "15601691300")
41 41 private String mobile;
42 42  
43   - @Schema(title = "用户编号", example = "10")
  43 + @Schema(description = "用户编号", example = "10")
44 44 private Long userId;
45 45  
46   - @Schema(title = "用户类型", example = "1")
  46 + @Schema(description = "用户类型", example = "1")
47 47 private Integer userType;
48 48  
49   - @Schema(title = "发送状态", required = true, example = "1")
  49 + @Schema(description = "发送状态", required = true, example = "1")
50 50 private Integer sendStatus;
51 51  
52   - @Schema(title = "发送时间")
  52 + @Schema(description = "发送时间")
53 53 private LocalDateTime sendTime;
54 54  
55   - @Schema(title = "发送结果的编码", example = "0")
  55 + @Schema(description = "发送结果的编码", example = "0")
56 56 private Integer sendCode;
57 57  
58   - @Schema(title = "发送结果的提示", example = "成功")
  58 + @Schema(description = "发送结果的提示", example = "成功")
59 59 private String sendMsg;
60 60  
61   - @Schema(title = "短信 API 发送结果的编码", example = "SUCCESS")
  61 + @Schema(description = "短信 API 发送结果的编码", example = "SUCCESS")
62 62 private String apiSendCode;
63 63  
64   - @Schema(title = "短信 API 发送失败的提示", example = "成功")
  64 + @Schema(description = "短信 API 发送失败的提示", example = "成功")
65 65 private String apiSendMsg;
66 66  
67   - @Schema(title = "短信 API 发送返回的唯一请求 ID", example = "3837C6D3-B96F-428C-BBB2-86135D4B5B99")
  67 + @Schema(description = "短信 API 发送返回的唯一请求 ID", example = "3837C6D3-B96F-428C-BBB2-86135D4B5B99")
68 68 private String apiRequestId;
69 69  
70   - @Schema(title = "短信 API 发送返回的序号", example = "62923244790")
  70 + @Schema(description = "短信 API 发送返回的序号", example = "62923244790")
71 71 private String apiSerialNo;
72 72  
73   - @Schema(title = "接收状态", required = true, example = "0")
  73 + @Schema(description = "接收状态", required = true, example = "0")
74 74 private Integer receiveStatus;
75 75  
76   - @Schema(title = "接收时间")
  76 + @Schema(description = "接收时间")
77 77 private LocalDateTime receiveTime;
78 78  
79   - @Schema(title = "API 接收结果的编码", example = "DELIVRD")
  79 + @Schema(description = "API 接收结果的编码", example = "DELIVRD")
80 80 private String apiReceiveCode;
81 81  
82   - @Schema(title = "API 接收结果的说明", example = "用户接收成功")
  82 + @Schema(description = "API 接收结果的说明", example = "用户接收成功")
83 83 private String apiReceiveMsg;
84 84  
85   - @Schema(title = "创建时间", required = true)
  85 + @Schema(description = "创建时间", required = true)
86 86 private LocalDateTime createTime;
87 87  
88 88 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sms/vo/template/SmsTemplateBaseVO.java
... ... @@ -11,34 +11,34 @@ import javax.validation.constraints.NotNull;
11 11 @Data
12 12 public class SmsTemplateBaseVO {
13 13  
14   - @Schema(title = "短信类型", required = true, example = "1", description = "参见 SmsTemplateTypeEnum 枚举类")
  14 + @Schema(description = "短信类型,参见 SmsTemplateTypeEnum 枚举类", required = true, example = "1")
15 15 @NotNull(message = "短信类型不能为空")
16 16 private Integer type;
17 17  
18   - @Schema(title = "开启状态", required = true, example = "1", description = "参见 CommonStatusEnum 枚举类")
  18 + @Schema(description = "开启状态,参见 CommonStatusEnum 枚举类", required = true, example = "1")
19 19 @NotNull(message = "开启状态不能为空")
20 20 private Integer status;
21 21  
22   - @Schema(title = "模板编码", required = true, example = "test_01")
  22 + @Schema(description = "模板编码", required = true, example = "test_01")
23 23 @NotNull(message = "模板编码不能为空")
24 24 private String code;
25 25  
26   - @Schema(title = "模板名称", required = true, example = "yudao")
  26 + @Schema(description = "模板名称", required = true, example = "yudao")
27 27 @NotNull(message = "模板名称不能为空")
28 28 private String name;
29 29  
30   - @Schema(title = "模板内容", required = true, example = "你好,{name}。你长的太{like}啦!")
  30 + @Schema(description = "模板内容", required = true, example = "你好,{name}。你长的太{like}啦!")
31 31 @NotNull(message = "模板内容不能为空")
32 32 private String content;
33 33  
34   - @Schema(title = "备注", example = "哈哈哈")
  34 + @Schema(description = "备注", example = "哈哈哈")
35 35 private String remark;
36 36  
37   - @Schema(title = "短信 API 的模板编号", required = true, example = "4383920")
  37 + @Schema(description = "短信 API 的模板编号", required = true, example = "4383920")
38 38 @NotNull(message = "短信 API 的模板编号不能为空")
39 39 private String apiTemplateId;
40 40  
41   - @Schema(title = "短信渠道编号", required = true, example = "10")
  41 + @Schema(description = "短信渠道编号", required = true, example = "10")
42 42 @NotNull(message = "短信渠道编号不能为空")
43 43 private Long channelId;
44 44  
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sms/vo/template/SmsTemplateCreateReqVO.java
... ... @@ -4,7 +4,7 @@ import lombok.Data;
4 4 import lombok.EqualsAndHashCode;
5 5 import lombok.ToString;
6 6  
7   -@Schema(title = "管理后台 - 短信模板创建 Request VO")
  7 +@Schema(description = "管理后台 - 短信模板创建 Request VO")
8 8 @Data
9 9 @EqualsAndHashCode(callSuper = true)
10 10 @ToString(callSuper = true)
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sms/vo/template/SmsTemplateExportReqVO.java
... ... @@ -8,30 +8,30 @@ import java.time.LocalDateTime;
8 8  
9 9 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
10 10  
11   -@Schema(title = "管理后台 - 短信模板 Excel 导出 Request VO", description = "参数和 SmsTemplatePageReqVO 是一致的")
  11 +@Schema(description = "管理后台 - 短信模板 Excel 导出 Request VO,参数和 SmsTemplatePageReqVO 是一致的")
12 12 @Data
13 13 public class SmsTemplateExportReqVO {
14 14  
15   - @Schema(title = "短信签名", example = "1")
  15 + @Schema(description = "短信签名", example = "1")
16 16 private Integer type;
17 17  
18   - @Schema(title = "开启状态", example = "1")
  18 + @Schema(description = "开启状态", example = "1")
19 19 private Integer status;
20 20  
21   - @Schema(title = "模板编码", example = "test_01", description = "模糊匹配")
  21 + @Schema(description = "模板编码,模糊匹配", example = "test_01")
22 22 private String code;
23 23  
24   - @Schema(title = "模板内容", example = "你好,{name}。你长的太{like}啦!", description = "模糊匹配")
  24 + @Schema(description = "模板内容,模糊匹配", example = "你好,{name}。你长的太{like}啦!")
25 25 private String content;
26 26  
27   - @Schema(title = "短信 API 的模板编号", example = "4383920", description = "模糊匹配")
  27 + @Schema(description = "短信 API 的模板编号,模糊匹配", example = "4383920")
28 28 private String apiTemplateId;
29 29  
30   - @Schema(title = "短信渠道编号", example = "10")
  30 + @Schema(description = "短信渠道编号", example = "10")
31 31 private Long channelId;
32 32  
33 33 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
34   - @Schema(title = "创建时间")
  34 + @Schema(description = "创建时间")
35 35 private LocalDateTime[] createTime;
36 36  
37 37 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sms/vo/template/SmsTemplatePageReqVO.java
... ... @@ -11,32 +11,32 @@ import java.time.LocalDateTime;
11 11  
12 12 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
13 13  
14   -@Schema(title = "管理后台 - 短信模板分页 Request VO")
  14 +@Schema(description = "管理后台 - 短信模板分页 Request VO")
15 15 @Data
16 16 @EqualsAndHashCode(callSuper = true)
17 17 @ToString(callSuper = true)
18 18 public class SmsTemplatePageReqVO extends PageParam {
19 19  
20   - @Schema(title = "短信签名", example = "1")
  20 + @Schema(description = "短信签名", example = "1")
21 21 private Integer type;
22 22  
23   - @Schema(title = "开启状态", example = "1")
  23 + @Schema(description = "开启状态", example = "1")
24 24 private Integer status;
25 25  
26   - @Schema(title = "模板编码", example = "test_01", description = "模糊匹配")
  26 + @Schema(description = "模板编码,模糊匹配", example = "test_01")
27 27 private String code;
28 28  
29   - @Schema(title = "模板内容", example = "你好,{name}。你长的太{like}啦!", description = "模糊匹配")
  29 + @Schema(description = "模板内容,模糊匹配", example = "你好,{name}。你长的太{like}啦!")
30 30 private String content;
31 31  
32   - @Schema(title = "短信 API 的模板编号", example = "4383920", description = "模糊匹配")
  32 + @Schema(description = "短信 API 的模板编号,模糊匹配", example = "4383920")
33 33 private String apiTemplateId;
34 34  
35   - @Schema(title = "短信渠道编号", example = "10")
  35 + @Schema(description = "短信渠道编号", example = "10")
36 36 private Long channelId;
37 37  
38 38 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
39   - @Schema(title = "创建时间")
  39 + @Schema(description = "创建时间")
40 40 private LocalDateTime[] createTime;
41 41  
42 42 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sms/vo/template/SmsTemplateRespVO.java
... ... @@ -8,22 +8,22 @@ import lombok.ToString;
8 8 import java.time.LocalDateTime;
9 9 import java.util.List;
10 10  
11   -@Schema(title = "管理后台 - 短信模板 Response VO")
  11 +@Schema(description = "管理后台 - 短信模板 Response VO")
12 12 @Data
13 13 @EqualsAndHashCode(callSuper = true)
14 14 @ToString(callSuper = true)
15 15 public class SmsTemplateRespVO extends SmsTemplateBaseVO {
16 16  
17   - @Schema(title = "编号", required = true, example = "1024")
  17 + @Schema(description = "编号", required = true, example = "1024")
18 18 private Long id;
19 19  
20   - @Schema(title = "短信渠道编码", required = true, example = "ALIYUN")
  20 + @Schema(description = "短信渠道编码", required = true, example = "ALIYUN")
21 21 private String channelCode;
22 22  
23   - @Schema(title = "参数数组", example = "name,code")
  23 + @Schema(description = "参数数组", example = "name,code")
24 24 private List<String> params;
25 25  
26   - @Schema(title = "创建时间", required = true)
  26 + @Schema(description = "创建时间", required = true)
27 27 private LocalDateTime createTime;
28 28  
29 29 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sms/vo/template/SmsTemplateSendReqVO.java
... ... @@ -6,19 +6,19 @@ import lombok.Data;
6 6 import javax.validation.constraints.NotNull;
7 7 import java.util.Map;
8 8  
9   -@Schema(title = "管理后台 - 短信模板的发送 Request VO")
  9 +@Schema(description = "管理后台 - 短信模板的发送 Request VO")
10 10 @Data
11 11 public class SmsTemplateSendReqVO {
12 12  
13   - @Schema(title = "手机号", required = true, example = "15601691300")
  13 + @Schema(description = "手机号", required = true, example = "15601691300")
14 14 @NotNull(message = "手机号不能为空")
15 15 private String mobile;
16 16  
17   - @Schema(title = "模板编码", required = true, example = "test_01")
  17 + @Schema(description = "模板编码", required = true, example = "test_01")
18 18 @NotNull(message = "模板编码不能为空")
19 19 private String templateCode;
20 20  
21   - @Schema(title = "模板参数")
  21 + @Schema(description = "模板参数")
22 22 private Map<String, Object> templateParams;
23 23  
24 24 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/sms/vo/template/SmsTemplateUpdateReqVO.java
... ... @@ -7,13 +7,13 @@ import lombok.ToString;
7 7  
8 8 import javax.validation.constraints.NotNull;
9 9  
10   -@Schema(title = "管理后台 - 短信模板更新 Request VO")
  10 +@Schema(description = "管理后台 - 短信模板更新 Request VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class SmsTemplateUpdateReqVO extends SmsTemplateBaseVO {
15 15  
16   - @Schema(title = "编号", required = true, example = "1024")
  16 + @Schema(description = "编号", required = true, example = "1024")
17 17 @NotNull(message = "编号不能为空")
18 18 private Long id;
19 19  
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/socail/vo/SocialUserBindReqVO.java
... ... @@ -11,23 +11,23 @@ import lombok.NoArgsConstructor;
11 11 import javax.validation.constraints.NotEmpty;
12 12 import javax.validation.constraints.NotNull;
13 13  
14   -@Schema(title = "管理后台 - 社交绑定 Request VO,使用 code 授权码")
  14 +@Schema(description = "管理后台 - 社交绑定 Request VO,使用 code 授权码")
15 15 @Data
16 16 @NoArgsConstructor
17 17 @AllArgsConstructor
18 18 @Builder
19 19 public class SocialUserBindReqVO {
20 20  
21   - @Schema(title = "社交平台的类型", required = true, example = "10", description = "参见 UserSocialTypeEnum 枚举值")
  21 + @Schema(description = "社交平台的类型,参见 UserSocialTypeEnum 枚举值", required = true, example = "10")
22 22 @InEnum(SocialTypeEnum.class)
23 23 @NotNull(message = "社交平台的类型不能为空")
24 24 private Integer type;
25 25  
26   - @Schema(title = "授权码", required = true, example = "1024")
  26 + @Schema(description = "授权码", required = true, example = "1024")
27 27 @NotEmpty(message = "授权码不能为空")
28 28 private String code;
29 29  
30   - @Schema(title = "state", required = true, example = "9b2ffbc1-7425-4155-9894-9d5c08541d62")
  30 + @Schema(description = "state", required = true, example = "9b2ffbc1-7425-4155-9894-9d5c08541d62")
31 31 @NotEmpty(message = "state 不能为空")
32 32 private String state;
33 33  
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/socail/vo/SocialUserUnbindReqVO.java
... ... @@ -11,19 +11,19 @@ import lombok.NoArgsConstructor;
11 11 import javax.validation.constraints.NotEmpty;
12 12 import javax.validation.constraints.NotNull;
13 13  
14   -@Schema(title = "管理后台 - 取消社交绑定 Request VO")
  14 +@Schema(description = "管理后台 - 取消社交绑定 Request VO")
15 15 @Data
16 16 @NoArgsConstructor
17 17 @AllArgsConstructor
18 18 @Builder
19 19 public class SocialUserUnbindReqVO {
20 20  
21   - @Schema(title = "社交平台的类型", required = true, example = "10", description = "参见 UserSocialTypeEnum 枚举值")
  21 + @Schema(description = "社交平台的类型,参见 UserSocialTypeEnum 枚举值", required = true, example = "10")
22 22 @InEnum(SocialTypeEnum.class)
23 23 @NotNull(message = "社交平台的类型不能为空")
24 24 private Integer type;
25 25  
26   - @Schema(title = "社交用户的 openid", required = true, example = "IPRmJ0wvBptiPIlGEZiPewGwiEiE")
  26 + @Schema(description = "社交用户的 openid", required = true, example = "IPRmJ0wvBptiPIlGEZiPewGwiEiE")
27 27 @NotEmpty(message = "社交用户的 openid 不能为空")
28 28 private String openid;
29 29  
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/tenant/vo/packages/TenantPackageBaseVO.java
... ... @@ -13,18 +13,18 @@ import java.util.Set;
13 13 @Data
14 14 public class TenantPackageBaseVO {
15 15  
16   - @Schema(title = "套餐名", required = true, example = "VIP")
  16 + @Schema(description = "套餐名", required = true, example = "VIP")
17 17 @NotNull(message = "套餐名不能为空")
18 18 private String name;
19 19  
20   - @Schema(title = "状态", required = true, example = "1", description = "参见 CommonStatusEnum 枚举")
  20 + @Schema(description = "状态,参见 CommonStatusEnum 枚举", required = true, example = "1")
21 21 @NotNull(message = "状态不能为空")
22 22 private Integer status;
23 23  
24   - @Schema(title = "备注", example = "好")
  24 + @Schema(description = "备注", example = "好")
25 25 private String remark;
26 26  
27   - @Schema(title = "关联的菜单编号", required = true)
  27 + @Schema(description = "关联的菜单编号", required = true)
28 28 @NotNull(message = "关联的菜单编号不能为空")
29 29 private Set<Long> menuIds;
30 30  
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/tenant/vo/packages/TenantPackageCreateReqVO.java
... ... @@ -5,7 +5,7 @@ import lombok.Data;
5 5 import lombok.EqualsAndHashCode;
6 6 import lombok.ToString;
7 7  
8   -@Schema(title = "管理后台 - 租户套餐创建 Request VO")
  8 +@Schema(description = "管理后台 - 租户套餐创建 Request VO")
9 9 @Data
10 10 @EqualsAndHashCode(callSuper = true)
11 11 @ToString(callSuper = true)
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/tenant/vo/packages/TenantPackagePageReqVO.java
... ... @@ -11,22 +11,22 @@ import java.time.LocalDateTime;
11 11  
12 12 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
13 13  
14   -@Schema(title = "管理后台 - 租户套餐分页 Request VO")
  14 +@Schema(description = "管理后台 - 租户套餐分页 Request VO")
15 15 @Data
16 16 @EqualsAndHashCode(callSuper = true)
17 17 @ToString(callSuper = true)
18 18 public class TenantPackagePageReqVO extends PageParam {
19 19  
20   - @Schema(title = "套餐名", example = "VIP")
  20 + @Schema(description = "套餐名", example = "VIP")
21 21 private String name;
22 22  
23   - @Schema(title = "状态", example = "1")
  23 + @Schema(description = "状态", example = "1")
24 24 private Integer status;
25 25  
26   - @Schema(title = "备注", example = "好")
  26 + @Schema(description = "备注", example = "好")
27 27 private String remark;
28 28  
29 29 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
30   - @Schema(title = "创建时间")
  30 + @Schema(description = "创建时间")
31 31 private LocalDateTime[] createTime;
32 32 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/tenant/vo/packages/TenantPackageRespVO.java
... ... @@ -7,16 +7,16 @@ import lombok.ToString;
7 7  
8 8 import java.time.LocalDateTime;
9 9  
10   -@Schema(title = "管理后台 - 租户套餐 Response VO")
  10 +@Schema(description = "管理后台 - 租户套餐 Response VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 @ToString(callSuper = true)
14 14 public class TenantPackageRespVO extends TenantPackageBaseVO {
15 15  
16   - @Schema(title = "套餐编号", required = true, example = "1024")
  16 + @Schema(description = "套餐编号", required = true, example = "1024")
17 17 private Long id;
18 18  
19   - @Schema(title = "创建时间", required = true)
  19 + @Schema(description = "创建时间", required = true)
20 20 private LocalDateTime createTime;
21 21  
22 22 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/tenant/vo/packages/TenantPackageSimpleRespVO.java
... ... @@ -5,15 +5,15 @@ import lombok.Data;
5 5  
6 6 import javax.validation.constraints.NotNull;
7 7  
8   -@Schema(title = "管理后台 - 租户套餐精简 Response VO")
  8 +@Schema(description = "管理后台 - 租户套餐精简 Response VO")
9 9 @Data
10 10 public class TenantPackageSimpleRespVO {
11 11  
12   - @Schema(title = "套餐编号", required = true, example = "1024")
  12 + @Schema(description = "套餐编号", required = true, example = "1024")
13 13 @NotNull(message = "套餐编号不能为空")
14 14 private Long id;
15 15  
16   - @Schema(title = "套餐名", required = true, example = "VIP")
  16 + @Schema(description = "套餐名", required = true, example = "VIP")
17 17 @NotNull(message = "套餐名不能为空")
18 18 private String name;
19 19  
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/tenant/vo/packages/TenantPackageUpdateReqVO.java
... ... @@ -4,13 +4,13 @@ import io.swagger.v3.oas.annotations.media.Schema;
4 4 import lombok.*;
5 5 import javax.validation.constraints.*;
6 6  
7   -@Schema(title = "管理后台 - 租户套餐更新 Request VO")
  7 +@Schema(description = "管理后台 - 租户套餐更新 Request VO")
8 8 @Data
9 9 @EqualsAndHashCode(callSuper = true)
10 10 @ToString(callSuper = true)
11 11 public class TenantPackageUpdateReqVO extends TenantPackageBaseVO {
12 12  
13   - @Schema(title = "套餐编号", required = true, example = "1024")
  13 + @Schema(description = "套餐编号", required = true, example = "1024")
14 14 @NotNull(message = "套餐编号不能为空")
15 15 private Long id;
16 16  
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/tenant/vo/tenant/TenantBaseVO.java
... ... @@ -13,33 +13,33 @@ import java.time.LocalDateTime;
13 13 @Data
14 14 public class TenantBaseVO {
15 15  
16   - @Schema(title = "租户名", required = true, example = "芋道")
  16 + @Schema(description = "租户名", required = true, example = "芋道")
17 17 @NotNull(message = "租户名不能为空")
18 18 private String name;
19 19  
20   - @Schema(title = "联系人", required = true, example = "芋艿")
  20 + @Schema(description = "联系人", required = true, example = "芋艿")
21 21 @NotNull(message = "联系人不能为空")
22 22 private String contactName;
23 23  
24   - @Schema(title = "联系手机", example = "15601691300")
  24 + @Schema(description = "联系手机", example = "15601691300")
25 25 private String contactMobile;
26 26  
27   - @Schema(title = "租户状态", required = true, example = "1")
  27 + @Schema(description = "租户状态", required = true, example = "1")
28 28 @NotNull(message = "租户状态")
29 29 private Integer status;
30 30  
31   - @Schema(title = "绑定域名", example = "https://www.iocoder.cn")
  31 + @Schema(description = "绑定域名", example = "https://www.iocoder.cn")
32 32 private String domain;
33 33  
34   - @Schema(title = "租户套餐编号", required = true, example = "1024")
  34 + @Schema(description = "租户套餐编号", required = true, example = "1024")
35 35 @NotNull(message = "租户套餐编号不能为空")
36 36 private Long packageId;
37 37  
38   - @Schema(title = "过期时间", required = true)
  38 + @Schema(description = "过期时间", required = true)
39 39 @NotNull(message = "过期时间不能为空")
40 40 private LocalDateTime expireTime;
41 41  
42   - @Schema(title = "账号数量", required = true, example = "1024")
  42 + @Schema(description = "账号数量", required = true, example = "1024")
43 43 @NotNull(message = "账号数量不能为空")
44 44 private Integer accountCount;
45 45  
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/tenant/vo/tenant/TenantCreateReqVO.java
... ... @@ -9,19 +9,19 @@ import javax.validation.constraints.NotEmpty;
9 9 import javax.validation.constraints.Pattern;
10 10 import javax.validation.constraints.Size;
11 11  
12   -@Schema(title = "管理后台 - 租户创建 Request VO")
  12 +@Schema(description = "管理后台 - 租户创建 Request VO")
13 13 @Data
14 14 @EqualsAndHashCode(callSuper = true)
15 15 @ToString(callSuper = true)
16 16 public class TenantCreateReqVO extends TenantBaseVO {
17 17  
18   - @Schema(title = "用户账号", required = true, example = "yudao")
  18 + @Schema(description = "用户账号", required = true, example = "yudao")
19 19 @NotBlank(message = "用户账号不能为空")
20 20 @Pattern(regexp = "^[a-zA-Z0-9]{4,30}$", message = "用户账号由 数字、字母 组成")
21 21 @Size(min = 4, max = 30, message = "用户账号长度为 4-30 个字符")
22 22 private String username;
23 23  
24   - @Schema(title = "密码", required = true, example = "123456")
  24 + @Schema(description = "密码", required = true, example = "123456")
25 25 @NotEmpty(message = "密码不能为空")
26 26 @Length(min = 4, max = 16, message = "密码长度为 4-16 位")
27 27 private String password;
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/tenant/vo/tenant/TenantExportReqVO.java
... ... @@ -8,24 +8,24 @@ import java.time.LocalDateTime;
8 8  
9 9 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
10 10  
11   -@Schema(title = "管理后台 - 租户 Excel 导出 Request VO", description = "参数和 TenantPageReqVO 是一致的")
  11 +@Schema(description = "管理后台 - 租户 Excel 导出 Request VO,参数和 TenantPageReqVO 是一致的")
12 12 @Data
13 13 public class TenantExportReqVO {
14 14  
15   - @Schema(title = "租户名", example = "芋道")
  15 + @Schema(description = "租户名", example = "芋道")
16 16 private String name;
17 17  
18   - @Schema(title = "联系人", example = "芋艿")
  18 + @Schema(description = "联系人", example = "芋艿")
19 19 private String contactName;
20 20  
21   - @Schema(title = "联系手机", example = "15601691300")
  21 + @Schema(description = "联系手机", example = "15601691300")
22 22 private String contactMobile;
23 23  
24   - @Schema(title = "租户状态(0正常 1停用)", example = "1")
  24 + @Schema(description = "租户状态(0正常 1停用)", example = "1")
25 25 private Integer status;
26 26  
27 27 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
28   - @Schema(title = "创建时间")
  28 + @Schema(description = "创建时间")
29 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/tenant/vo/tenant/TenantPageReqVO.java
... ... @@ -11,26 +11,26 @@ import java.time.LocalDateTime;
11 11  
12 12 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
13 13  
14   -@Schema(title = "管理后台 - 租户分页 Request VO")
  14 +@Schema(description = "管理后台 - 租户分页 Request VO")
15 15 @Data
16 16 @EqualsAndHashCode(callSuper = true)
17 17 @ToString(callSuper = true)
18 18 public class TenantPageReqVO extends PageParam {
19 19  
20   - @Schema(title = "租户名", example = "芋道")
  20 + @Schema(description = "租户名", example = "芋道")
21 21 private String name;
22 22  
23   - @Schema(title = "联系人", example = "芋艿")
  23 + @Schema(description = "联系人", example = "芋艿")
24 24 private String contactName;
25 25  
26   - @Schema(title = "联系手机", example = "15601691300")
  26 + @Schema(description = "联系手机", example = "15601691300")
27 27 private String contactMobile;
28 28  
29   - @Schema(title = "租户状态(0正常 1停用)", example = "1")
  29 + @Schema(description = "租户状态(0正常 1停用)", example = "1")
30 30 private Integer status;
31 31  
32 32 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
33   - @Schema(title = "创建时间")
  33 + @Schema(description = "创建时间")
34 34 private LocalDateTime[] createTime;
35 35  
36 36 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/tenant/vo/tenant/TenantRespVO.java
... ... @@ -5,16 +5,16 @@ import lombok.*;
5 5  
6 6 import java.time.LocalDateTime;
7 7  
8   -@Schema(title = "管理后台 - 租户 Response VO")
  8 +@Schema(description = "管理后台 - 租户 Response VO")
9 9 @Data
10 10 @EqualsAndHashCode(callSuper = true)
11 11 @ToString(callSuper = true)
12 12 public class TenantRespVO extends TenantBaseVO {
13 13  
14   - @Schema(title = "租户编号", required = true, example = "1024")
  14 + @Schema(description = "租户编号", required = true, example = "1024")
15 15 private Long id;
16 16  
17   - @Schema(title = "创建时间", required = true)
  17 + @Schema(description = "创建时间", required = true)
18 18 private LocalDateTime createTime;
19 19  
20 20 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/tenant/vo/tenant/TenantUpdateReqVO.java
... ... @@ -4,13 +4,13 @@ import io.swagger.v3.oas.annotations.media.Schema;
4 4 import lombok.*;
5 5 import javax.validation.constraints.*;
6 6  
7   -@Schema(title = "管理后台 - 租户更新 Request VO")
  7 +@Schema(description = "管理后台 - 租户更新 Request VO")
8 8 @Data
9 9 @EqualsAndHashCode(callSuper = true)
10 10 @ToString(callSuper = true)
11 11 public class TenantUpdateReqVO extends TenantBaseVO {
12 12  
13   - @Schema(title = "租户编号", required = true, example = "1024")
  13 + @Schema(description = "租户编号", required = true, example = "1024")
14 14 @NotNull(message = "租户编号不能为空")
15 15 private Long id;
16 16  
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/vo/profile/UserProfileRespVO.java
... ... @@ -15,22 +15,22 @@ import java.util.List;
15 15 @EqualsAndHashCode(callSuper = true)
16 16 @NoArgsConstructor
17 17 @AllArgsConstructor
18   -@Schema(title = "管理后台 - 用户个人中心信息 Response VO")
  18 +@Schema(description = "管理后台 - 用户个人中心信息 Response VO")
19 19 public class UserProfileRespVO extends UserBaseVO {
20 20  
21   - @Schema(title = "用户编号", required = true, example = "1")
  21 + @Schema(description = "用户编号", required = true, example = "1")
22 22 private Long id;
23 23  
24   - @Schema(title = "状态", required = true, example = "1", description = "参见 CommonStatusEnum 枚举类")
  24 + @Schema(description = "状态,参见 CommonStatusEnum 枚举类", required = true, example = "1")
25 25 private Integer status;
26 26  
27   - @Schema(title = "最后登录 IP", required = true, example = "192.168.1.1")
  27 + @Schema(description = "最后登录 IP", required = true, example = "192.168.1.1")
28 28 private String loginIp;
29 29  
30   - @Schema(title = "最后登录时间", required = true, example = "时间戳格式")
  30 + @Schema(description = "最后登录时间", required = true, example = "时间戳格式")
31 31 private LocalDateTime loginDate;
32 32  
33   - @Schema(title = "创建时间", required = true, example = "时间戳格式")
  33 + @Schema(description = "创建时间", required = true, example = "时间戳格式")
34 34 private LocalDateTime createTime;
35 35  
36 36 /**
... ... @@ -52,50 +52,50 @@ public class UserProfileRespVO extends UserBaseVO {
52 52 */
53 53 private List<SocialUser> socialUsers;
54 54  
55   - @Schema(title = "角色")
  55 + @Schema(description = "角色")
56 56 @Data
57 57 public static class Role {
58 58  
59   - @Schema(title = "角色编号", required = true, example = "1")
  59 + @Schema(description = "角色编号", required = true, example = "1")
60 60 private Long id;
61 61  
62   - @Schema(title = "角色名称", required = true, example = "普通角色")
  62 + @Schema(description = "角色名称", required = true, example = "普通角色")
63 63 private String name;
64 64  
65 65 }
66 66  
67   - @Schema(title = "部门")
  67 + @Schema(description = "部门")
68 68 @Data
69 69 public static class Dept {
70 70  
71   - @Schema(title = "部门编号", required = true, example = "1")
  71 + @Schema(description = "部门编号", required = true, example = "1")
72 72 private Long id;
73 73  
74   - @Schema(title = "部门名称", required = true, example = "研发部")
  74 + @Schema(description = "部门名称", required = true, example = "研发部")
75 75 private String name;
76 76  
77 77 }
78 78  
79   - @Schema(title = "岗位")
  79 + @Schema(description = "岗位")
80 80 @Data
81 81 public static class Post {
82 82  
83   - @Schema(title = "岗位编号", required = true, example = "1")
  83 + @Schema(description = "岗位编号", required = true, example = "1")
84 84 private Long id;
85 85  
86   - @Schema(title = "岗位名称", required = true, example = "开发")
  86 + @Schema(description = "岗位名称", required = true, example = "开发")
87 87 private String name;
88 88  
89 89 }
90 90  
91   - @Schema(title = "社交用户")
  91 + @Schema(description = "社交用户")
92 92 @Data
93 93 public static class SocialUser {
94 94  
95   - @Schema(title = "社交平台的类型", required = true, example = "10", description = "参见 SocialTypeEnum 枚举类")
  95 + @Schema(description = "社交平台的类型,参见 SocialTypeEnum 枚举类", required = true, example = "10")
96 96 private Integer type;
97 97  
98   - @Schema(title = "社交用户的 openid", required = true, example = "IPRmJ0wvBptiPIlGEZiPewGwiEiE")
  98 + @Schema(description = "社交用户的 openid", required = true, example = "IPRmJ0wvBptiPIlGEZiPewGwiEiE")
99 99 private String openid;
100 100  
101 101 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/vo/profile/UserProfileUpdatePasswordReqVO.java
... ... @@ -6,16 +6,16 @@ import org.hibernate.validator.constraints.Length;
6 6  
7 7 import javax.validation.constraints.NotEmpty;
8 8  
9   -@Schema(title = "管理后台 - 用户个人中心更新密码 Request VO")
  9 +@Schema(description = "管理后台 - 用户个人中心更新密码 Request VO")
10 10 @Data
11 11 public class UserProfileUpdatePasswordReqVO {
12 12  
13   - @Schema(title = "旧密码", required = true, example = "123456")
  13 + @Schema(description = "旧密码", required = true, example = "123456")
14 14 @NotEmpty(message = "旧密码不能为空")
15 15 @Length(min = 4, max = 16, message = "密码长度为 4-16 位")
16 16 private String oldPassword;
17 17  
18   - @Schema(title = "新密码", required = true, example = "654321")
  18 + @Schema(description = "新密码", required = true, example = "654321")
19 19 @NotEmpty(message = "新密码不能为空")
20 20 @Length(min = 4, max = 16, message = "密码长度为 4-16 位")
21 21 private String newPassword;
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/vo/profile/UserProfileUpdateReqVO.java
... ... @@ -7,23 +7,23 @@ import javax.validation.constraints.Email;
7 7 import javax.validation.constraints.Size;
8 8  
9 9  
10   -@Schema(title = "管理后台 - 用户个人信息更新 Request VO")
  10 +@Schema(description = "管理后台 - 用户个人信息更新 Request VO")
11 11 @Data
12 12 public class UserProfileUpdateReqVO {
13 13  
14   - @Schema(title = "用户昵称", required = true, example = "芋艿")
  14 + @Schema(description = "用户昵称", required = true, example = "芋艿")
15 15 @Size(max = 30, message = "用户昵称长度不能超过 30 个字符")
16 16 private String nickname;
17 17  
18   - @Schema(title = "用户邮箱", example = "yudao@iocoder.cn")
  18 + @Schema(description = "用户邮箱", example = "yudao@iocoder.cn")
19 19 @Email(message = "邮箱格式不正确")
20 20 @Size(max = 50, message = "邮箱长度不能超过 50 个字符")
21 21 private String email;
22 22  
23   - @Schema(title = "手机号码", example = "15601691300")
  23 + @Schema(description = "手机号码", example = "15601691300")
24 24 private String mobile;
25 25  
26   - @Schema(title = "用户性别", example = "1", description = "参见 SexEnum 枚举类")
  26 + @Schema(description = "用户性别-参见 SexEnum 枚举类", example = "1")
27 27 private Integer sex;
28 28  
29 29 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/vo/user/UserBaseVO.java
... ... @@ -17,38 +17,38 @@ import java.util.Set;
17 17 @Data
18 18 public class UserBaseVO {
19 19  
20   - @Schema(title = "用户账号", required = true, example = "yudao")
  20 + @Schema(description = "用户账号", required = true, example = "yudao")
21 21 @NotBlank(message = "用户账号不能为空")
22 22 @Pattern(regexp = "^[a-zA-Z0-9]{4,30}$", message = "用户账号由 数字、字母 组成")
23 23 @Size(min = 4, max = 30, message = "用户账号长度为 4-30 个字符")
24 24 private String username;
25 25  
26   - @Schema(title = "用户昵称", required = true, example = "芋艿")
  26 + @Schema(description = "用户昵称", required = true, example = "芋艿")
27 27 @Size(max = 30, message = "用户昵称长度不能超过30个字符")
28 28 private String nickname;
29 29  
30   - @Schema(title = "备注", example = "我是一个用户")
  30 + @Schema(description = "备注", example = "我是一个用户")
31 31 private String remark;
32 32  
33   - @Schema(title = "部门ID", example = "我是一个用户")
  33 + @Schema(description = "部门ID", example = "我是一个用户")
34 34 private Long deptId;
35 35  
36   - @Schema(title = "岗位编号数组", example = "1")
  36 + @Schema(description = "岗位编号数组", example = "1")
37 37 private Set<Long> postIds;
38 38  
39   - @Schema(title = "用户邮箱", example = "yudao@iocoder.cn")
  39 + @Schema(description = "用户邮箱", example = "yudao@iocoder.cn")
40 40 @Email(message = "邮箱格式不正确")
41 41 @Size(max = 50, message = "邮箱长度不能超过 50 个字符")
42 42 private String email;
43 43  
44   - @Schema(title = "手机号码", example = "15601691300")
  44 + @Schema(description = "手机号码", example = "15601691300")
45 45 @Mobile
46 46 private String mobile;
47 47  
48   - @Schema(title = "用户性别", example = "1", description = "参见 SexEnum 枚举类")
  48 + @Schema(description = "用户性别,参见 SexEnum 枚举类", example = "1")
49 49 private Integer sex;
50 50  
51   - @Schema(title = "用户头像", example = "https://www.iocoder.cn/xxx.png")
  51 + @Schema(description = "用户头像", example = "https://www.iocoder.cn/xxx.png")
52 52 private String avatar;
53 53  
54 54 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/vo/user/UserCreateReqVO.java
... ... @@ -7,12 +7,12 @@ import org.hibernate.validator.constraints.Length;
7 7  
8 8 import javax.validation.constraints.NotEmpty;
9 9  
10   -@Schema(title = "管理后台 - 用户创建 Request VO")
  10 +@Schema(description = "管理后台 - 用户创建 Request VO")
11 11 @Data
12 12 @EqualsAndHashCode(callSuper = true)
13 13 public class UserCreateReqVO extends UserBaseVO {
14 14  
15   - @Schema(title = "密码", required = true, example = "123456")
  15 + @Schema(description = "密码", required = true, example = "123456")
16 16 @NotEmpty(message = "密码不能为空")
17 17 @Length(min = 4, max = 16, message = "密码长度为 4-16 位")
18 18 private String password;
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/vo/user/UserExportReqVO.java
... ... @@ -10,26 +10,26 @@ import java.time.LocalDateTime;
10 10  
11 11 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
12 12  
13   -@Schema(title = "管理后台 - 用户导出 Request VO", description = "参数和 UserPageReqVO 是一致的")
  13 +@Schema(description = "管理后台 - 用户导出 Request VO,参数和 UserPageReqVO 是一致的")
14 14 @Data
15 15 @NoArgsConstructor
16 16 @AllArgsConstructor
17 17 public class UserExportReqVO {
18 18  
19   - @Schema(title = "用户账号", example = "yudao", description = "模糊匹配")
  19 + @Schema(description = "用户账号,模糊匹配", example = "yudao")
20 20 private String username;
21 21  
22   - @Schema(title = "手机号码", example = "yudao", description = "模糊匹配")
  22 + @Schema(description = "手机号码,模糊匹配", example = "yudao")
23 23 private String mobile;
24 24  
25   - @Schema(title = "展示状态", example = "1", description = "参见 CommonStatusEnum 枚举类")
  25 + @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1")
26 26 private Integer status;
27 27  
28   - @Schema(title = "创建时间", 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]")
29 29 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
30 30 private LocalDateTime[] createTime;
31 31  
32   - @Schema(title = "部门编号", example = "1024", description = "同时筛选子部门")
  32 + @Schema(description = "部门编号,同时筛选子部门", example = "1024")
33 33 private Long deptId;
34 34  
35 35 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/vo/user/UserImportRespVO.java
... ... @@ -7,18 +7,18 @@ import lombok.Data;
7 7 import java.util.List;
8 8 import java.util.Map;
9 9  
10   -@Schema(title = "管理后台 - 用户导入 Response VO")
  10 +@Schema(description = "管理后台 - 用户导入 Response VO")
11 11 @Data
12 12 @Builder
13 13 public class UserImportRespVO {
14 14  
15   - @Schema(title = "创建成功的用户名数组", required = true)
  15 + @Schema(description = "创建成功的用户名数组", required = true)
16 16 private List<String> createUsernames;
17 17  
18   - @Schema(title = "更新成功的用户名数组", required = true)
  18 + @Schema(description = "更新成功的用户名数组", required = true)
19 19 private List<String> updateUsernames;
20 20  
21   - @Schema(title = "导入失败的用户集合", required = true, description = "key 为用户名,value 为失败原因")
  21 + @Schema(description = "导入失败的用户集合,key 为用户名,value 为失败原因", required = true)
22 22 private Map<String, String> failureUsernames;
23 23  
24 24 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/vo/user/UserPageItemRespVO.java
... ... @@ -6,7 +6,7 @@ import lombok.Data;
6 6 import lombok.EqualsAndHashCode;
7 7 import lombok.NoArgsConstructor;
8 8  
9   -@Schema(title = "管理后台 - 用户分页时的信息 Response VO", description = "相比用户基本信息来说,会多部门信息")
  9 +@Schema(description = "管理后台 - 用户分页时的信息 Response VO,相比用户基本信息来说,会多部门信息")
10 10 @Data
11 11 @NoArgsConstructor
12 12 @AllArgsConstructor
... ... @@ -18,14 +18,14 @@ public class UserPageItemRespVO extends UserRespVO {
18 18 */
19 19 private Dept dept;
20 20  
21   - @Schema(title = "部门")
  21 + @Schema(description = "部门")
22 22 @Data
23 23 public static class Dept {
24 24  
25   - @Schema(title = "部门编号", required = true, example = "1")
  25 + @Schema(description = "部门编号", required = true, example = "1")
26 26 private Long id;
27 27  
28   - @Schema(title = "部门名称", required = true, example = "研发部")
  28 + @Schema(description = "部门名称", required = true, example = "研发部")
29 29 private String name;
30 30  
31 31 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/vo/user/UserPageReqVO.java
... ... @@ -12,27 +12,27 @@ import java.time.LocalDateTime;
12 12  
13 13 import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
14 14  
15   -@Schema(title = "管理后台 - 用户分页 Request VO")
  15 +@Schema(description = "管理后台 - 用户分页 Request VO")
16 16 @Data
17 17 @NoArgsConstructor
18 18 @AllArgsConstructor
19 19 @EqualsAndHashCode(callSuper = true)
20 20 public class UserPageReqVO extends PageParam {
21 21  
22   - @Schema(title = "用户账号", example = "yudao", description = "模糊匹配")
  22 + @Schema(description = "用户账号,模糊匹配", example = "yudao")
23 23 private String username;
24 24  
25   - @Schema(title = "手机号码", example = "yudao", description = "模糊匹配")
  25 + @Schema(description = "手机号码,模糊匹配", example = "yudao")
26 26 private String mobile;
27 27  
28   - @Schema(title = "展示状态", example = "1", description = "参见 CommonStatusEnum 枚举类")
  28 + @Schema(description = "展示状态,参见 CommonStatusEnum 枚举类", example = "1")
29 29 private Integer status;
30 30  
31   - @Schema(title = "创建时间", example = "[2022-07-01 00:00:00,2022-07-01 23:59:59]")
  31 + @Schema(description = "创建时间", example = "[2022-07-01 00:00:00,2022-07-01 23:59:59]")
32 32 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
33 33 private LocalDateTime[] createTime;
34 34  
35   - @Schema(title = "部门编号", example = "1024", description = "同时筛选子部门")
  35 + @Schema(description = "部门编号,同时筛选子部门", example = "1024")
36 36 private Long deptId;
37 37  
38 38 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/vo/user/UserRespVO.java
... ... @@ -6,26 +6,26 @@ import lombok.*;
6 6 import java.time.LocalDateTime;
7 7  
8 8  
9   -@Schema(title = "管理后台 - 用户信息 Response VO")
  9 +@Schema(description = "管理后台 - 用户信息 Response VO")
10 10 @Data
11 11 @NoArgsConstructor
12 12 @AllArgsConstructor
13 13 @EqualsAndHashCode(callSuper = true)
14 14 public class UserRespVO extends UserBaseVO {
15 15  
16   - @Schema(title = "用户编号", required = true, example = "1")
  16 + @Schema(description = "用户编号", required = true, example = "1")
17 17 private Long id;
18 18  
19   - @Schema(title = "状态", required = true, example = "1", description = "参见 CommonStatusEnum 枚举类")
  19 + @Schema(description = "状态,参见 CommonStatusEnum 枚举类", required = true, example = "1")
20 20 private Integer status;
21 21  
22   - @Schema(title = "最后登录 IP", required = true, example = "192.168.1.1")
  22 + @Schema(description = "最后登录 IP", required = true, example = "192.168.1.1")
23 23 private String loginIp;
24 24  
25   - @Schema(title = "最后登录时间", required = true, example = "时间戳格式")
  25 + @Schema(description = "最后登录时间", required = true, example = "时间戳格式")
26 26 private LocalDateTime loginDate;
27 27  
28   - @Schema(title = "创建时间", required = true, example = "时间戳格式")
  28 + @Schema(description = "创建时间", required = true, example = "时间戳格式")
29 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/user/UserSimpleRespVO.java
... ... @@ -5,16 +5,16 @@ import lombok.AllArgsConstructor;
5 5 import lombok.Data;
6 6 import lombok.NoArgsConstructor;
7 7  
8   -@Schema(title = "用户精简信息 Response VO")
  8 +@Schema(description = "用户精简信息 Response VO")
9 9 @Data
10 10 @NoArgsConstructor
11 11 @AllArgsConstructor
12 12 public class UserSimpleRespVO {
13 13  
14   - @Schema(title = "用户编号", required = true, example = "1024")
  14 + @Schema(description = "用户编号", required = true, example = "1024")
15 15 private Long id;
16 16  
17   - @Schema(title = "用户昵称", required = true, example = "芋道")
  17 + @Schema(description = "用户昵称", required = true, example = "芋道")
18 18 private String nickname;
19 19  
20 20 }
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/vo/user/UserUpdatePasswordReqVO.java
... ... @@ -7,15 +7,15 @@ import org.hibernate.validator.constraints.Length;
7 7 import javax.validation.constraints.NotEmpty;
8 8 import javax.validation.constraints.NotNull;
9 9  
10   -@Schema(title = "管理后台 - 用户更新密码 Request VO")
  10 +@Schema(description = "管理后台 - 用户更新密码 Request VO")
11 11 @Data
12 12 public class UserUpdatePasswordReqVO {
13 13  
14   - @Schema(title = "用户编号", required = true, example = "1024")
  14 + @Schema(description = "用户编号", required = true, example = "1024")
15 15 @NotNull(message = "用户编号不能为空")
16 16 private Long id;
17 17  
18   - @Schema(title = "密码", required = true, example = "123456")
  18 + @Schema(description = "密码", required = true, example = "123456")
19 19 @NotEmpty(message = "密码不能为空")
20 20 @Length(min = 4, max = 16, message = "密码长度为 4-16 位")
21 21 private String password;
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/vo/user/UserUpdateReqVO.java
... ... @@ -6,12 +6,12 @@ import lombok.EqualsAndHashCode;
6 6  
7 7 import javax.validation.constraints.NotNull;
8 8  
9   -@Schema(title = "管理后台 - 用户更新 Request VO")
  9 +@Schema(description = "管理后台 - 用户更新 Request VO")
10 10 @Data
11 11 @EqualsAndHashCode(callSuper = true)
12 12 public class UserUpdateReqVO extends UserBaseVO {
13 13  
14   - @Schema(title = "用户编号", required = true, example = "1024")
  14 + @Schema(description = "用户编号", required = true, example = "1024")
15 15 @NotNull(message = "用户编号不能为空")
16 16 private Long id;
17 17  
... ...
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/vo/user/UserUpdateStatusReqVO.java
... ... @@ -5,15 +5,15 @@ import lombok.Data;
5 5  
6 6 import javax.validation.constraints.NotNull;
7 7  
8   -@Schema(title = "管理后台 - 用户更新状态 Request VO")
  8 +@Schema(description = "管理后台 - 用户更新状态 Request VO")
9 9 @Data
10 10 public class UserUpdateStatusReqVO {
11 11  
12   - @Schema(title = "用户编号", required = true, example = "1024")
  12 + @Schema(description = "用户编号", required = true, example = "1024")
13 13 @NotNull(message = "角色编号不能为空")
14 14 private Long id;
15 15  
16   - @Schema(title = "状态", required = true, example = "1", description = "见 CommonStatusEnum 枚举")
  16 + @Schema(description = "状态,见 CommonStatusEnum 枚举", required = true, example = "1")
17 17 @NotNull(message = "状态不能为空")
18 18 // @InEnum(value = CommonStatusEnum.class, message = "修改状态必须是 {value}")
19 19 private Integer status;
... ...
yudao-server/src/main/java/cn/iocoder/yudao/module/shop/controller/app/vo/AppShopOrderCreateRespVO.java
... ... @@ -5,16 +5,16 @@ import lombok.AllArgsConstructor;
5 5 import lombok.Builder;
6 6 import lombok.Data;
7 7  
8   -@Schema(title = "用户 APP - 商城订单创建 Response VO")
  8 +@Schema(description = "用户 APP - 商城订单创建 Response VO")
9 9 @Data
10 10 @Builder
11 11 @AllArgsConstructor
12 12 public class AppShopOrderCreateRespVO {
13 13  
14   - @Schema(title = "商城订单编号", required = true, example = "1024")
  14 + @Schema(description = "商城订单编号", required = true, example = "1024")
15 15 private Long id;
16 16  
17   - @Schema(title = "支付订单编号", required = true, example = "2048")
  17 + @Schema(description = "支付订单编号", required = true, example = "2048")
18 18 private Long payOrderId;
19 19  
20 20 }
... ...
yudao-server/src/main/resources/application.yaml
... ... @@ -34,6 +34,10 @@ spring:
34 34 redis:
35 35 time-to-live: 1h # 设置过期时间为 1 小时
36 36  
  37 +springdoc:
  38 + swagger-ui:
  39 + path: /swagger-ui
  40 +
37 41 # 工作流 Flowable 配置
38 42 flowable:
39 43 # 1. false: 默认值,Flowable 启动时,对比数据库表中保存的版本,如果不匹配。将抛出异常
... ...
yudao-ui-admin-vue3/src/views/infra/swagger/index.vue
... ... @@ -8,5 +8,5 @@ import { ref } from &#39;vue&#39;
8 8 import { IFrame } from '@/components/IFrame'
9 9  
10 10 const BASE_URL = import.meta.env.VITE_BASE_URL
11   -const src = ref(BASE_URL + '/swagger-ui')
  11 +const src = ref(BASE_URL + '/doc.html')
12 12 </script>
... ...