Commit cacefb4eeac4c76b63e0ae0782230d66bd058317
1 parent
69420c0a
feat: knife4j springdoc
Showing
385 changed files
with
1939 additions
and
1941 deletions
Too many changes.
To preserve performance only 100 of 385 files are displayed.
README.md
| @@ -201,7 +201,7 @@ ps:核心功能已经实现,正在对接微信小程序中... | @@ -201,7 +201,7 @@ ps:核心功能已经实现,正在对接微信小程序中... | ||
| 201 | | [Hibernate Validator](https://github.com/hibernate/hibernate-validator) | 参数校验组件 | 6.2.5 | [文档](http://www.iocoder.cn/Spring-Boot/Validation/?yudao) | | 201 | | [Hibernate Validator](https://github.com/hibernate/hibernate-validator) | 参数校验组件 | 6.2.5 | [文档](http://www.iocoder.cn/Spring-Boot/Validation/?yudao) | |
| 202 | | [Flowable](https://github.com/flowable/flowable-engine) | 工作流引擎 | 6.7.2 | [文档](https://doc.iocoder.cn/bpm/) | | 202 | | [Flowable](https://github.com/flowable/flowable-engine) | 工作流引擎 | 6.7.2 | [文档](https://doc.iocoder.cn/bpm/) | |
| 203 | | [Quartz](https://github.com/quartz-scheduler) | 任务调度组件 | 2.3.2 | [文档](http://www.iocoder.cn/Spring-Boot/Job/?yudao) | | 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 | | [Resilience4j](https://github.com/resilience4j/resilience4j) | 服务保障组件 | 1.7.1 | [文档](http://www.iocoder.cn/Spring-Boot/Resilience4j/?yudao) | | 205 | | [Resilience4j](https://github.com/resilience4j/resilience4j) | 服务保障组件 | 1.7.1 | [文档](http://www.iocoder.cn/Spring-Boot/Resilience4j/?yudao) | |
| 206 | | [SkyWalking](https://skywalking.apache.org/) | 分布式应用追踪系统 | 8.12.0 | [文档](http://www.iocoder.cn/Spring-Boot/SkyWalking/?yudao) | | 206 | | [SkyWalking](https://skywalking.apache.org/) | 分布式应用追踪系统 | 8.12.0 | [文档](http://www.iocoder.cn/Spring-Boot/SkyWalking/?yudao) | |
| 207 | | [Spring Boot Admin](https://github.com/codecentric/spring-boot-admin) | Spring Boot 监控平台 | 2.7.9 | [文档](http://www.iocoder.cn/Spring-Boot/Admin/?yudao) | | 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,7 +19,7 @@ | ||
| 19 | <spring.boot.version>2.7.6</spring.boot.version> | 19 | <spring.boot.version>2.7.6</spring.boot.version> |
| 20 | <!-- Web 相关 --> | 20 | <!-- Web 相关 --> |
| 21 | <springdoc.version>1.6.14</springdoc.version> | 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 | <servlet.versoin>2.5</servlet.versoin> | 23 | <servlet.versoin>2.5</servlet.versoin> |
| 24 | <!-- DB 相关 --> | 24 | <!-- DB 相关 --> |
| 25 | <druid.version>1.2.15</druid.version> | 25 | <druid.version>1.2.15</druid.version> |
| @@ -158,9 +158,9 @@ | @@ -158,9 +158,9 @@ | ||
| 158 | </dependency> | 158 | </dependency> |
| 159 | 159 | ||
| 160 | <dependency> | 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 | </dependency> | 164 | </dependency> |
| 165 | 165 | ||
| 166 | <dependency> | 166 | <dependency> |
yudao-framework/yudao-common/pom.xml
| @@ -59,10 +59,9 @@ | @@ -59,10 +59,9 @@ | ||
| 59 | </dependency> | 59 | </dependency> |
| 60 | 60 | ||
| 61 | <dependency> | 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 | </dependency> | 64 | </dependency> |
| 65 | - | ||
| 66 | <!-- 监控相关 --> | 65 | <!-- 监控相关 --> |
| 67 | <dependency> | 66 | <dependency> |
| 68 | <groupId>org.apache.skywalking</groupId> | 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,19 +8,19 @@ import javax.validation.constraints.Max; | ||
| 8 | import javax.validation.constraints.NotNull; | 8 | import javax.validation.constraints.NotNull; |
| 9 | import java.io.Serializable; | 9 | import java.io.Serializable; |
| 10 | 10 | ||
| 11 | -@Schema(title="分页参数") | 11 | +@Schema(description="分页参数") |
| 12 | @Data | 12 | @Data |
| 13 | public class PageParam implements Serializable { | 13 | public class PageParam implements Serializable { |
| 14 | 14 | ||
| 15 | private static final Integer PAGE_NO = 1; | 15 | private static final Integer PAGE_NO = 1; |
| 16 | private static final Integer PAGE_SIZE = 10; | 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 | @NotNull(message = "页码不能为空") | 19 | @NotNull(message = "页码不能为空") |
| 20 | @Min(value = 1, message = "页码最小值为 1") | 20 | @Min(value = 1, message = "页码最小值为 1") |
| 21 | private Integer pageNo = PAGE_NO; | 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 | @NotNull(message = "每页条数不能为空") | 24 | @NotNull(message = "每页条数不能为空") |
| 25 | @Min(value = 1, message = "每页条数最小值为 1") | 25 | @Min(value = 1, message = "每页条数最小值为 1") |
| 26 | @Max(value = 100, message = "每页条数最大值为 100") | 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,14 +6,14 @@ import java.io.Serializable; | ||
| 6 | import java.util.ArrayList; | 6 | import java.util.ArrayList; |
| 7 | import java.util.List; | 7 | import java.util.List; |
| 8 | 8 | ||
| 9 | -@Schema(title = "分页结果") | 9 | +@Schema(description = "分页结果") |
| 10 | @Data | 10 | @Data |
| 11 | public final class PageResult<T> implements Serializable { | 11 | public final class PageResult<T> implements Serializable { |
| 12 | 12 | ||
| 13 | - @Schema(title = "数据", required = true) | 13 | + @Schema(description = "数据", required = true) |
| 14 | private List<T> list; | 14 | private List<T> list; |
| 15 | 15 | ||
| 16 | - @Schema(title = "总量", required = true) | 16 | + @Schema(description = "总量", required = true) |
| 17 | private Long total; | 17 | private Long total; |
| 18 | 18 | ||
| 19 | public PageResult() { | 19 | public PageResult() { |
yudao-framework/yudao-spring-boot-starter-web/pom.xml
| @@ -34,8 +34,8 @@ | @@ -34,8 +34,8 @@ | ||
| 34 | </dependency> | 34 | </dependency> |
| 35 | 35 | ||
| 36 | <dependency> | 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 | </dependency> | 39 | </dependency> |
| 40 | 40 | ||
| 41 | <dependency> | 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,10 +57,10 @@ public class YudaoSwaggerAutoConfiguration { | ||
| 57 | } | 57 | } |
| 58 | 58 | ||
| 59 | @Bean | 59 | @Bean |
| 60 | - public GroupedOpenApi publicApi() { | 60 | + public GroupedOpenApi appApi() { |
| 61 | return GroupedOpenApi.builder() | 61 | return GroupedOpenApi.builder() |
| 62 | .group("app") | 62 | .group("app") |
| 63 | - .pathsToMatch("/app/**") | 63 | + .pathsToMatch("/app-api/**") |
| 64 | .build(); | 64 | .build(); |
| 65 | } | 65 | } |
| 66 | 66 | ||
| @@ -68,7 +68,7 @@ public class YudaoSwaggerAutoConfiguration { | @@ -68,7 +68,7 @@ public class YudaoSwaggerAutoConfiguration { | ||
| 68 | public GroupedOpenApi adminApi() { | 68 | public GroupedOpenApi adminApi() { |
| 69 | return GroupedOpenApi.builder() | 69 | return GroupedOpenApi.builder() |
| 70 | .group("admin") | 70 | .group("admin") |
| 71 | - .pathsToMatch("/admin/**") | 71 | + .pathsToMatch("/admin-api/**") |
| 72 | .build(); | 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,15 +10,15 @@ import javax.validation.constraints.*; | ||
| 10 | @Data | 10 | @Data |
| 11 | public class BpmFormBaseVO { | 11 | public class BpmFormBaseVO { |
| 12 | 12 | ||
| 13 | - @Schema(title = "表单名称", required = true, example = "芋道") | 13 | + @Schema(description = "表单名称", required = true, example = "芋道") |
| 14 | @NotNull(message = "表单名称不能为空") | 14 | @NotNull(message = "表单名称不能为空") |
| 15 | private String name; | 15 | private String name; |
| 16 | 16 | ||
| 17 | - @Schema(title = "表单状态", required = true, description = "参见 CommonStatusEnum 枚举", example = "1") | 17 | + @Schema(description = "表单状态-参见 CommonStatusEnum 枚举", required = true, example = "1") |
| 18 | @NotNull(message = "表单状态不能为空") | 18 | @NotNull(message = "表单状态不能为空") |
| 19 | private Integer status; | 19 | private Integer status; |
| 20 | 20 | ||
| 21 | - @Schema(title = "备注", example = "我是备注") | 21 | + @Schema(description = "备注", example = "我是备注") |
| 22 | private String remark; | 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,17 +5,17 @@ import lombok.*; | ||
| 5 | import javax.validation.constraints.NotNull; | 5 | import javax.validation.constraints.NotNull; |
| 6 | import java.util.List; | 6 | import java.util.List; |
| 7 | 7 | ||
| 8 | -@Schema(title = "管理后台 - 动态表单创建 Request VO") | 8 | +@Schema(description = "管理后台 - 动态表单创建 Request VO") |
| 9 | @Data | 9 | @Data |
| 10 | @EqualsAndHashCode(callSuper = true) | 10 | @EqualsAndHashCode(callSuper = true) |
| 11 | @ToString(callSuper = true) | 11 | @ToString(callSuper = true) |
| 12 | public class BpmFormCreateReqVO extends BpmFormBaseVO { | 12 | public class BpmFormCreateReqVO extends BpmFormBaseVO { |
| 13 | 13 | ||
| 14 | - @Schema(title = "表单的配置", required = true, description = "JSON 字符串") | 14 | + @Schema(description = "表单的配置-JSON 字符串", required = true) |
| 15 | @NotNull(message = "表单的配置不能为空") | 15 | @NotNull(message = "表单的配置不能为空") |
| 16 | private String conf; | 16 | private String conf; |
| 17 | 17 | ||
| 18 | - @Schema(title = "表单项的数组", required = true, description = "JSON 字符串的数组") | 18 | + @Schema(description = "表单项的数组-JSON 字符串的数组", required = true) |
| 19 | @NotNull(message = "表单项的数组不能为空") | 19 | @NotNull(message = "表单项的数组不能为空") |
| 20 | private List<String> fields; | 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,13 +6,13 @@ import lombok.Data; | ||
| 6 | import lombok.EqualsAndHashCode; | 6 | import lombok.EqualsAndHashCode; |
| 7 | import lombok.ToString; | 7 | import lombok.ToString; |
| 8 | 8 | ||
| 9 | -@Schema(title = "管理后台 - 动态表单分页 Request VO") | 9 | +@Schema(description = "管理后台 - 动态表单分页 Request VO") |
| 10 | @Data | 10 | @Data |
| 11 | @EqualsAndHashCode(callSuper = true) | 11 | @EqualsAndHashCode(callSuper = true) |
| 12 | @ToString(callSuper = true) | 12 | @ToString(callSuper = true) |
| 13 | public class BpmFormPageReqVO extends PageParam { | 13 | public class BpmFormPageReqVO extends PageParam { |
| 14 | 14 | ||
| 15 | - @Schema(title = "表单名称", example = "芋道") | 15 | + @Schema(description = "表单名称", example = "芋道") |
| 16 | private String name; | 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,24 +8,24 @@ import javax.validation.constraints.NotNull; | ||
| 8 | import java.time.LocalDateTime; | 8 | import java.time.LocalDateTime; |
| 9 | import java.util.List; | 9 | import java.util.List; |
| 10 | 10 | ||
| 11 | -@Schema(title = "管理后台 - 动态表单 Response VO") | 11 | +@Schema(description = "管理后台 - 动态表单 Response VO") |
| 12 | @Data | 12 | @Data |
| 13 | @EqualsAndHashCode(callSuper = true) | 13 | @EqualsAndHashCode(callSuper = true) |
| 14 | @ToString(callSuper = true) | 14 | @ToString(callSuper = true) |
| 15 | public class BpmFormRespVO extends BpmFormBaseVO { | 15 | public class BpmFormRespVO extends BpmFormBaseVO { |
| 16 | 16 | ||
| 17 | - @Schema(title = "表单编号", required = true, example = "1024") | 17 | + @Schema(description = "表单编号", required = true, example = "1024") |
| 18 | private Long id; | 18 | private Long id; |
| 19 | 19 | ||
| 20 | - @Schema(title = "表单的配置", required = true, description = "JSON 字符串") | 20 | + @Schema(description = "表单的配置-JSON 字符串", required = true) |
| 21 | @NotNull(message = "表单的配置不能为空") | 21 | @NotNull(message = "表单的配置不能为空") |
| 22 | private String conf; | 22 | private String conf; |
| 23 | 23 | ||
| 24 | - @Schema(title = "表单项的数组", required = true, description = "JSON 字符串的数组") | 24 | + @Schema(description = "表单项的数组-JSON 字符串的数组", required = true) |
| 25 | @NotNull(message = "表单项的数组不能为空") | 25 | @NotNull(message = "表单项的数组不能为空") |
| 26 | private List<String> fields; | 26 | private List<String> fields; |
| 27 | 27 | ||
| 28 | - @Schema(title = "创建时间", required = true) | 28 | + @Schema(description = "创建时间", required = true) |
| 29 | private LocalDateTime createTime; | 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,14 +3,14 @@ package cn.iocoder.yudao.module.bpm.controller.admin.definition.vo.form; | ||
| 3 | import io.swagger.v3.oas.annotations.media.Schema; | 3 | import io.swagger.v3.oas.annotations.media.Schema; |
| 4 | import lombok.Data; | 4 | import lombok.Data; |
| 5 | 5 | ||
| 6 | -@Schema(title = "管理后台 - 流程表单精简 Response VO") | 6 | +@Schema(description = "管理后台 - 流程表单精简 Response VO") |
| 7 | @Data | 7 | @Data |
| 8 | public class BpmFormSimpleRespVO { | 8 | public class BpmFormSimpleRespVO { |
| 9 | 9 | ||
| 10 | - @Schema(title = "表单编号", required = true, example = "1024") | 10 | + @Schema(description = "表单编号", required = true, example = "1024") |
| 11 | private Long id; | 11 | private Long id; |
| 12 | 12 | ||
| 13 | - @Schema(title = "表单名称", required = true, example = "芋道") | 13 | + @Schema(description = "表单名称", required = true, example = "芋道") |
| 14 | private String name; | 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,21 +4,21 @@ import lombok.*; | ||
| 4 | import javax.validation.constraints.*; | 4 | import javax.validation.constraints.*; |
| 5 | import java.util.List; | 5 | import java.util.List; |
| 6 | 6 | ||
| 7 | -@Schema(title = "管理后台 - 动态表单更新 Request VO") | 7 | +@Schema(description = "管理后台 - 动态表单更新 Request VO") |
| 8 | @Data | 8 | @Data |
| 9 | @EqualsAndHashCode(callSuper = true) | 9 | @EqualsAndHashCode(callSuper = true) |
| 10 | @ToString(callSuper = true) | 10 | @ToString(callSuper = true) |
| 11 | public class BpmFormUpdateReqVO extends BpmFormBaseVO { | 11 | public class BpmFormUpdateReqVO extends BpmFormBaseVO { |
| 12 | 12 | ||
| 13 | - @Schema(title = "表单编号", required = true, example = "1024") | 13 | + @Schema(description = "表单编号", required = true, example = "1024") |
| 14 | @NotNull(message = "表单编号不能为空") | 14 | @NotNull(message = "表单编号不能为空") |
| 15 | private Long id; | 15 | private Long id; |
| 16 | 16 | ||
| 17 | - @Schema(title = "表单的配置", required = true, description = "JSON 字符串") | 17 | + @Schema(description = "表单的配置-JSON 字符串", required = true) |
| 18 | @NotNull(message = "表单的配置不能为空") | 18 | @NotNull(message = "表单的配置不能为空") |
| 19 | private String conf; | 19 | private String conf; |
| 20 | 20 | ||
| 21 | - @Schema(title = "表单项的数组", required = true, description = "JSON 字符串的数组") | 21 | + @Schema(description = "表单项的数组-JSON 字符串的数组", required = true) |
| 22 | @NotNull(message = "表单项的数组不能为空") | 22 | @NotNull(message = "表单项的数组不能为空") |
| 23 | private List<String> fields; | 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,19 +11,19 @@ import javax.validation.constraints.*; | ||
| 11 | @Data | 11 | @Data |
| 12 | public class BpmUserGroupBaseVO { | 12 | public class BpmUserGroupBaseVO { |
| 13 | 13 | ||
| 14 | - @Schema(title = "组名", required = true, example = "芋道") | 14 | + @Schema(description = "组名", required = true, example = "芋道") |
| 15 | @NotNull(message = "组名不能为空") | 15 | @NotNull(message = "组名不能为空") |
| 16 | private String name; | 16 | private String name; |
| 17 | 17 | ||
| 18 | - @Schema(title = "描述", required = true, example = "芋道源码") | 18 | + @Schema(description = "描述", required = true, example = "芋道源码") |
| 19 | @NotNull(message = "描述不能为空") | 19 | @NotNull(message = "描述不能为空") |
| 20 | private String description; | 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 | @NotNull(message = "成员编号数组不能为空") | 23 | @NotNull(message = "成员编号数组不能为空") |
| 24 | private Set<Long> memberUserIds; | 24 | private Set<Long> memberUserIds; |
| 25 | 25 | ||
| 26 | - @Schema(title = "状态", required = true, example = "1") | 26 | + @Schema(description = "状态", required = true, example = "1") |
| 27 | @NotNull(message = "状态不能为空") | 27 | @NotNull(message = "状态不能为空") |
| 28 | private Integer status; | 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,7 +2,7 @@ package cn.iocoder.yudao.module.bpm.controller.admin.definition.vo.group; | ||
| 2 | import io.swagger.v3.oas.annotations.media.Schema; | 2 | import io.swagger.v3.oas.annotations.media.Schema; |
| 3 | import lombok.*; | 3 | import lombok.*; |
| 4 | 4 | ||
| 5 | -@Schema(title = "管理后台 - 用户组创建 Request VO") | 5 | +@Schema(description = "管理后台 - 用户组创建 Request VO") |
| 6 | @Data | 6 | @Data |
| 7 | @EqualsAndHashCode(callSuper = true) | 7 | @EqualsAndHashCode(callSuper = true) |
| 8 | @ToString(callSuper = true) | 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,20 +10,20 @@ import org.springframework.format.annotation.DateTimeFormat; | ||
| 10 | 10 | ||
| 11 | import java.time.LocalDateTime; | 11 | import java.time.LocalDateTime; |
| 12 | 12 | ||
| 13 | -@Schema(title = "管理后台 - 用户组分页 Request VO") | 13 | +@Schema(description = "管理后台 - 用户组分页 Request VO") |
| 14 | @Data | 14 | @Data |
| 15 | @EqualsAndHashCode(callSuper = true) | 15 | @EqualsAndHashCode(callSuper = true) |
| 16 | @ToString(callSuper = true) | 16 | @ToString(callSuper = true) |
| 17 | public class BpmUserGroupPageReqVO extends PageParam { | 17 | public class BpmUserGroupPageReqVO extends PageParam { |
| 18 | 18 | ||
| 19 | - @Schema(title = "组名", example = "芋道") | 19 | + @Schema(description = "组名", example = "芋道") |
| 20 | private String name; | 20 | private String name; |
| 21 | 21 | ||
| 22 | - @Schema(title = "状态", example = "1") | 22 | + @Schema(description = "状态", example = "1") |
| 23 | private Integer status; | 23 | private Integer status; |
| 24 | 24 | ||
| 25 | @DateTimeFormat(pattern = DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) | 25 | @DateTimeFormat(pattern = DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
| 26 | - @Schema(title = "创建时间") | 26 | + @Schema(description = "创建时间") |
| 27 | private LocalDateTime[] createTime; | 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,16 +5,16 @@ import lombok.*; | ||
| 5 | import java.time.LocalDateTime; | 5 | import java.time.LocalDateTime; |
| 6 | 6 | ||
| 7 | 7 | ||
| 8 | -@Schema(title = "管理后台 - 用户组 Response VO") | 8 | +@Schema(description = "管理后台 - 用户组 Response VO") |
| 9 | @Data | 9 | @Data |
| 10 | @EqualsAndHashCode(callSuper = true) | 10 | @EqualsAndHashCode(callSuper = true) |
| 11 | @ToString(callSuper = true) | 11 | @ToString(callSuper = true) |
| 12 | public class BpmUserGroupRespVO extends BpmUserGroupBaseVO { | 12 | public class BpmUserGroupRespVO extends BpmUserGroupBaseVO { |
| 13 | 13 | ||
| 14 | - @Schema(title = "编号", required = true, example = "1024") | 14 | + @Schema(description = "编号", required = true, example = "1024") |
| 15 | private Long id; | 15 | private Long id; |
| 16 | 16 | ||
| 17 | - @Schema(title = "创建时间", required = true) | 17 | + @Schema(description = "创建时间", required = true) |
| 18 | private LocalDateTime createTime; | 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,16 +5,16 @@ import lombok.AllArgsConstructor; | ||
| 5 | import lombok.Data; | 5 | import lombok.Data; |
| 6 | import lombok.NoArgsConstructor; | 6 | import lombok.NoArgsConstructor; |
| 7 | 7 | ||
| 8 | -@Schema(title = "管理后台 - 用户组精简信息 Response VO") | 8 | +@Schema(description = "管理后台 - 用户组精简信息 Response VO") |
| 9 | @Data | 9 | @Data |
| 10 | @NoArgsConstructor | 10 | @NoArgsConstructor |
| 11 | @AllArgsConstructor | 11 | @AllArgsConstructor |
| 12 | public class BpmUserGroupSimpleRespVO { | 12 | public class BpmUserGroupSimpleRespVO { |
| 13 | 13 | ||
| 14 | - @Schema(title = "用户组编号", required = true, example = "1024") | 14 | + @Schema(description = "用户组编号", required = true, example = "1024") |
| 15 | private Long id; | 15 | private Long id; |
| 16 | 16 | ||
| 17 | - @Schema(title = "用户组名字", required = true, example = "芋道") | 17 | + @Schema(description = "用户组名字", required = true, example = "芋道") |
| 18 | private String name; | 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,13 +3,13 @@ import io.swagger.v3.oas.annotations.media.Schema; | ||
| 3 | import lombok.*; | 3 | import lombok.*; |
| 4 | import javax.validation.constraints.*; | 4 | import javax.validation.constraints.*; |
| 5 | 5 | ||
| 6 | -@Schema(title = "管理后台 - 用户组更新 Request VO") | 6 | +@Schema(description = "管理后台 - 用户组更新 Request VO") |
| 7 | @Data | 7 | @Data |
| 8 | @EqualsAndHashCode(callSuper = true) | 8 | @EqualsAndHashCode(callSuper = true) |
| 9 | @ToString(callSuper = true) | 9 | @ToString(callSuper = true) |
| 10 | public class BpmUserGroupUpdateReqVO extends BpmUserGroupBaseVO { | 10 | public class BpmUserGroupUpdateReqVO extends BpmUserGroupBaseVO { |
| 11 | 11 | ||
| 12 | - @Schema(title = "编号", required = true, example = "1024") | 12 | + @Schema(description = "编号", required = true, example = "1024") |
| 13 | @NotNull(message = "编号不能为空") | 13 | @NotNull(message = "编号不能为空") |
| 14 | private Long id; | 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,13 +8,13 @@ import org.springframework.web.multipart.MultipartFile; | ||
| 8 | 8 | ||
| 9 | import javax.validation.constraints.NotNull; | 9 | import javax.validation.constraints.NotNull; |
| 10 | 10 | ||
| 11 | -@Schema(title = "管理后台 - 流程模型的导入 Request VO", description = "相比流程模型的新建来说,只是多了一个 bpmnFile 文件") | 11 | +@Schema(description = "管理后台 - 流程模型的导入 Request VO 相比流程模型的新建来说,只是多了一个 bpmnFile 文件") |
| 12 | @Data | 12 | @Data |
| 13 | @EqualsAndHashCode(callSuper = true) | 13 | @EqualsAndHashCode(callSuper = true) |
| 14 | @ToString(callSuper = true) | 14 | @ToString(callSuper = true) |
| 15 | public class BpmModeImportReqVO extends BpmModelCreateReqVO { | 15 | public class BpmModeImportReqVO extends BpmModelCreateReqVO { |
| 16 | 16 | ||
| 17 | - @Schema(title = "BPMN 文件", required = true) | 17 | + @Schema(description = "BPMN 文件", required = true) |
| 18 | @NotNull(message = "BPMN 文件不能为空") | 18 | @NotNull(message = "BPMN 文件不能为空") |
| 19 | private MultipartFile bpmnFile; | 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,30 +11,30 @@ import javax.validation.constraints.NotEmpty; | ||
| 11 | @Data | 11 | @Data |
| 12 | public class BpmModelBaseVO { | 12 | public class BpmModelBaseVO { |
| 13 | 13 | ||
| 14 | - @Schema(title = "流程标识", required = true, example = "process_yudao") | 14 | + @Schema(description = "流程标识", required = true, example = "process_yudao") |
| 15 | @NotEmpty(message = "流程标识不能为空") | 15 | @NotEmpty(message = "流程标识不能为空") |
| 16 | private String key; | 16 | private String key; |
| 17 | 17 | ||
| 18 | - @Schema(title = "流程名称", required = true, example = "芋道") | 18 | + @Schema(description = "流程名称", required = true, example = "芋道") |
| 19 | @NotEmpty(message = "流程名称不能为空") | 19 | @NotEmpty(message = "流程名称不能为空") |
| 20 | private String name; | 20 | private String name; |
| 21 | 21 | ||
| 22 | - @Schema(title = "流程描述", example = "我是描述") | 22 | + @Schema(description = "流程描述", example = "我是描述") |
| 23 | private String description; | 23 | private String description; |
| 24 | 24 | ||
| 25 | - @Schema(title = "流程分类", description = "参见 bpm_model_category 数据字典", example = "1") | 25 | + @Schema(description = "流程分类-参见 bpm_model_category 数据字典", example = "1") |
| 26 | @NotEmpty(message = "流程分类不能为空") | 26 | @NotEmpty(message = "流程分类不能为空") |
| 27 | private String category; | 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 | private Integer formType; | 30 | private Integer formType; |
| 31 | - @Schema(title = "表单编号", example = "1024", description = "在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空") | 31 | + @Schema(description = "表单编号-在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空", example = "1024") |
| 32 | private Long formId; | 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 | private String formCustomCreatePath; | 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 | private String formCustomViewPath; | 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,19 +7,19 @@ import lombok.ToString; | ||
| 7 | 7 | ||
| 8 | import javax.validation.constraints.NotEmpty; | 8 | import javax.validation.constraints.NotEmpty; |
| 9 | 9 | ||
| 10 | -@Schema(title = "管理后台 - 流程模型的创建 Request VO") | 10 | +@Schema(description = "管理后台 - 流程模型的创建 Request VO") |
| 11 | @Data | 11 | @Data |
| 12 | public class BpmModelCreateReqVO { | 12 | public class BpmModelCreateReqVO { |
| 13 | 13 | ||
| 14 | - @Schema(title = "流程标识", required = true, example = "process_yudao") | 14 | + @Schema(description = "流程标识", required = true, example = "process_yudao") |
| 15 | @NotEmpty(message = "流程标识不能为空") | 15 | @NotEmpty(message = "流程标识不能为空") |
| 16 | private String key; | 16 | private String key; |
| 17 | 17 | ||
| 18 | - @Schema(title = "流程名称", required = true, example = "芋道") | 18 | + @Schema(description = "流程名称", required = true, example = "芋道") |
| 19 | @NotEmpty(message = "流程名称不能为空") | 19 | @NotEmpty(message = "流程名称不能为空") |
| 20 | private String name; | 20 | private String name; |
| 21 | 21 | ||
| 22 | - @Schema(title = "流程描述", example = "我是描述") | 22 | + @Schema(description = "流程描述", example = "我是描述") |
| 23 | private String description; | 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,19 +7,19 @@ import lombok.ToString; | ||
| 7 | 7 | ||
| 8 | import java.time.LocalDateTime; | 8 | import java.time.LocalDateTime; |
| 9 | 9 | ||
| 10 | -@Schema(title = "管理后台 - 流程模型的分页的每一项 Response VO") | 10 | +@Schema(description = "管理后台 - 流程模型的分页的每一项 Response VO") |
| 11 | @Data | 11 | @Data |
| 12 | @EqualsAndHashCode(callSuper = true) | 12 | @EqualsAndHashCode(callSuper = true) |
| 13 | @ToString(callSuper = true) | 13 | @ToString(callSuper = true) |
| 14 | public class BpmModelPageItemRespVO extends BpmModelBaseVO { | 14 | public class BpmModelPageItemRespVO extends BpmModelBaseVO { |
| 15 | 15 | ||
| 16 | - @Schema(title = "编号", required = true, example = "1024") | 16 | + @Schema(description = "编号", required = true, example = "1024") |
| 17 | private String id; | 17 | private String id; |
| 18 | 18 | ||
| 19 | - @Schema(title = "表单名字", example = "请假表单") | 19 | + @Schema(description = "表单名字", example = "请假表单") |
| 20 | private String formName; | 20 | private String formName; |
| 21 | 21 | ||
| 22 | - @Schema(title = "创建时间", required = true) | 22 | + @Schema(description = "创建时间", required = true) |
| 23 | private LocalDateTime createTime; | 23 | private LocalDateTime createTime; |
| 24 | 24 | ||
| 25 | /** | 25 | /** |
| @@ -27,20 +27,20 @@ public class BpmModelPageItemRespVO extends BpmModelBaseVO { | @@ -27,20 +27,20 @@ public class BpmModelPageItemRespVO extends BpmModelBaseVO { | ||
| 27 | */ | 27 | */ |
| 28 | private ProcessDefinition processDefinition; | 28 | private ProcessDefinition processDefinition; |
| 29 | 29 | ||
| 30 | - @Schema(title = "流程定义") | 30 | + @Schema(description = "流程定义") |
| 31 | @Data | 31 | @Data |
| 32 | public static class ProcessDefinition { | 32 | public static class ProcessDefinition { |
| 33 | 33 | ||
| 34 | - @Schema(title = "编号", required = true, example = "1024") | 34 | + @Schema(description = "编号", required = true, example = "1024") |
| 35 | private String id; | 35 | private String id; |
| 36 | 36 | ||
| 37 | - @Schema(title = "版本", required = true, example = "1") | 37 | + @Schema(description = "版本", required = true, example = "1") |
| 38 | private Integer version; | 38 | private Integer version; |
| 39 | 39 | ||
| 40 | - @Schema(title = "部署时间", required = true) | 40 | + @Schema(description = "部署时间", required = true) |
| 41 | private LocalDateTime deploymentTime; | 41 | private LocalDateTime deploymentTime; |
| 42 | 42 | ||
| 43 | - @Schema(title = "中断状态", required = true, example = "1", description = "参见 SuspensionState 枚举") | 43 | + @Schema(description = "中断状态-参见 SuspensionState 枚举", required = true, example = "1") |
| 44 | private Integer suspensionState; | 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,19 +7,19 @@ import lombok.EqualsAndHashCode; | ||
| 7 | import lombok.ToString; | 7 | import lombok.ToString; |
| 8 | 8 | ||
| 9 | 9 | ||
| 10 | -@Schema(title = "管理后台 - 流程模型分页 Request VO") | 10 | +@Schema(description = "管理后台 - 流程模型分页 Request VO") |
| 11 | @Data | 11 | @Data |
| 12 | @EqualsAndHashCode(callSuper = true) | 12 | @EqualsAndHashCode(callSuper = true) |
| 13 | @ToString(callSuper = true) | 13 | @ToString(callSuper = true) |
| 14 | public class BpmModelPageReqVO extends PageParam { | 14 | public class BpmModelPageReqVO extends PageParam { |
| 15 | 15 | ||
| 16 | - @Schema(title = "标识", example = "process1641042089407", description = "精准匹配") | 16 | + @Schema(description = "标识-精准匹配", example = "process1641042089407") |
| 17 | private String key; | 17 | private String key; |
| 18 | 18 | ||
| 19 | - @Schema(title = "名字", example = "芋道", description = "模糊匹配") | 19 | + @Schema(description = "名字-模糊匹配", example = "芋道") |
| 20 | private String name; | 20 | private String name; |
| 21 | 21 | ||
| 22 | - @Schema(title = "流程分类", description = "参见 bpm_model_category 数据字典", example = "1") | 22 | + @Schema(description = "流程分类-参见 bpm_model_category 数据字典", example = "1") |
| 23 | private String category; | 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,19 +7,19 @@ import lombok.ToString; | ||
| 7 | 7 | ||
| 8 | import java.time.LocalDateTime; | 8 | import java.time.LocalDateTime; |
| 9 | 9 | ||
| 10 | -@Schema(title = "管理后台 - 流程模型的创建 Request VO") | 10 | +@Schema(description = "管理后台 - 流程模型的创建 Request VO") |
| 11 | @Data | 11 | @Data |
| 12 | @EqualsAndHashCode(callSuper = true) | 12 | @EqualsAndHashCode(callSuper = true) |
| 13 | @ToString(callSuper = true) | 13 | @ToString(callSuper = true) |
| 14 | public class BpmModelRespVO extends BpmModelBaseVO { | 14 | public class BpmModelRespVO extends BpmModelBaseVO { |
| 15 | 15 | ||
| 16 | - @Schema(title = "编号", required = true, example = "1024") | 16 | + @Schema(description = "编号", required = true, example = "1024") |
| 17 | private String id; | 17 | private String id; |
| 18 | 18 | ||
| 19 | - @Schema(title = "BPMN XML", required = true) | 19 | + @Schema(description = "BPMN XML", required = true) |
| 20 | private String bpmnXml; | 20 | private String bpmnXml; |
| 21 | 21 | ||
| 22 | - @Schema(title = "创建时间", required = true) | 22 | + @Schema(description = "创建时间", required = true) |
| 23 | private LocalDateTime createTime; | 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,35 +5,35 @@ import lombok.Data; | ||
| 5 | 5 | ||
| 6 | import javax.validation.constraints.NotEmpty; | 6 | import javax.validation.constraints.NotEmpty; |
| 7 | 7 | ||
| 8 | -@Schema(title = "管理后台 - 流程模型的更新 Request VO") | 8 | +@Schema(description = "管理后台 - 流程模型的更新 Request VO") |
| 9 | @Data | 9 | @Data |
| 10 | public class BpmModelUpdateReqVO { | 10 | public class BpmModelUpdateReqVO { |
| 11 | 11 | ||
| 12 | - @Schema(title = "编号", required = true, example = "1024") | 12 | + @Schema(description = "编号", required = true, example = "1024") |
| 13 | @NotEmpty(message = "编号不能为空") | 13 | @NotEmpty(message = "编号不能为空") |
| 14 | private String id; | 14 | private String id; |
| 15 | 15 | ||
| 16 | - @Schema(title = "流程名称", example = "芋道") | 16 | + @Schema(description = "流程名称", example = "芋道") |
| 17 | private String name; | 17 | private String name; |
| 18 | 18 | ||
| 19 | - @Schema(title = "流程描述", example = "我是描述") | 19 | + @Schema(description = "流程描述", example = "我是描述") |
| 20 | private String description; | 20 | private String description; |
| 21 | 21 | ||
| 22 | - @Schema(title = "流程分类", description = "参见 bpm_model_category 数据字典", example = "1") | 22 | + @Schema(description = "流程分类-参见 bpm_model_category 数据字典", example = "1") |
| 23 | private String category; | 23 | private String category; |
| 24 | 24 | ||
| 25 | - @Schema(title = "BPMN XML", required = true) | 25 | + @Schema(description = "BPMN XML", required = true) |
| 26 | private String bpmnXml; | 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 | private Integer formType; | 29 | private Integer formType; |
| 30 | - @Schema(title = "表单编号", example = "1024", description = "在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空") | 30 | + @Schema(description = "表单编号-在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空", example = "1024") |
| 31 | private Long formId; | 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 | private String formCustomCreatePath; | 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 | private String formCustomViewPath; | 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,15 +5,15 @@ import lombok.Data; | ||
| 5 | 5 | ||
| 6 | import javax.validation.constraints.NotNull; | 6 | import javax.validation.constraints.NotNull; |
| 7 | 7 | ||
| 8 | -@Schema(title = "管理后台 - 流程模型更新状态 Request VO") | 8 | +@Schema(description = "管理后台 - 流程模型更新状态 Request VO") |
| 9 | @Data | 9 | @Data |
| 10 | public class BpmModelUpdateStateReqVO { | 10 | public class BpmModelUpdateStateReqVO { |
| 11 | 11 | ||
| 12 | - @Schema(title = "编号", required = true, example = "1024") | 12 | + @Schema(description = "编号", required = true, example = "1024") |
| 13 | @NotNull(message = "编号不能为空") | 13 | @NotNull(message = "编号不能为空") |
| 14 | private String id; | 14 | private String id; |
| 15 | 15 | ||
| 16 | - @Schema(title = "状态", required = true, example = "1", description = "见 SuspensionState 枚举") | 16 | + @Schema(description = "状态-见 SuspensionState 枚举", required = true, example = "1") |
| 17 | @NotNull(message = "状态不能为空") | 17 | @NotNull(message = "状态不能为空") |
| 18 | private Integer state; | 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,13 +6,13 @@ import lombok.Data; | ||
| 6 | import lombok.EqualsAndHashCode; | 6 | import lombok.EqualsAndHashCode; |
| 7 | import lombok.ToString; | 7 | import lombok.ToString; |
| 8 | 8 | ||
| 9 | -@Schema(title = "管理后台 - 流程定义列表 Request VO") | 9 | +@Schema(description = "管理后台 - 流程定义列表 Request VO") |
| 10 | @Data | 10 | @Data |
| 11 | @ToString(callSuper = true) | 11 | @ToString(callSuper = true) |
| 12 | @EqualsAndHashCode(callSuper = true) | 12 | @EqualsAndHashCode(callSuper = true) |
| 13 | public class BpmProcessDefinitionListReqVO extends PageParam { | 13 | public class BpmProcessDefinitionListReqVO extends PageParam { |
| 14 | 14 | ||
| 15 | - @Schema(title = "中断状态", example = "1", description = "参见 SuspensionState 枚举") | 15 | + @Schema(description = "中断状态-参见 SuspensionState 枚举", example = "1") |
| 16 | private Integer suspensionState; | 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,16 +7,16 @@ import lombok.ToString; | ||
| 7 | 7 | ||
| 8 | import java.time.LocalDateTime; | 8 | import java.time.LocalDateTime; |
| 9 | 9 | ||
| 10 | -@Schema(title = "管理后台 - 流程定义的分页的每一项 Response VO") | 10 | +@Schema(description = "管理后台 - 流程定义的分页的每一项 Response VO") |
| 11 | @Data | 11 | @Data |
| 12 | @EqualsAndHashCode(callSuper = true) | 12 | @EqualsAndHashCode(callSuper = true) |
| 13 | @ToString(callSuper = true) | 13 | @ToString(callSuper = true) |
| 14 | public class BpmProcessDefinitionPageItemRespVO extends BpmProcessDefinitionRespVO { | 14 | public class BpmProcessDefinitionPageItemRespVO extends BpmProcessDefinitionRespVO { |
| 15 | 15 | ||
| 16 | - @Schema(title = "表单名字", example = "请假表单") | 16 | + @Schema(description = "表单名字", example = "请假表单") |
| 17 | private String formName; | 17 | private String formName; |
| 18 | 18 | ||
| 19 | - @Schema(title = "部署时间", required = true) | 19 | + @Schema(description = "部署时间", required = true) |
| 20 | private LocalDateTime deploymentTime; | 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,13 +6,13 @@ import lombok.Data; | ||
| 6 | import lombok.EqualsAndHashCode; | 6 | import lombok.EqualsAndHashCode; |
| 7 | import lombok.ToString; | 7 | import lombok.ToString; |
| 8 | 8 | ||
| 9 | -@Schema(title = "管理后台 - 流程定义分页 Request VO") | 9 | +@Schema(description = "管理后台 - 流程定义分页 Request VO") |
| 10 | @Data | 10 | @Data |
| 11 | @ToString(callSuper = true) | 11 | @ToString(callSuper = true) |
| 12 | @EqualsAndHashCode(callSuper = true) | 12 | @EqualsAndHashCode(callSuper = true) |
| 13 | public class BpmProcessDefinitionPageReqVO extends PageParam { | 13 | public class BpmProcessDefinitionPageReqVO extends PageParam { |
| 14 | 14 | ||
| 15 | - @Schema(title = "标识", example = "process1641042089407", description = "精准匹配") | 15 | + @Schema(description = "标识-精准匹配", example = "process1641042089407") |
| 16 | private String key; | 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,45 +7,43 @@ import javax.validation.constraints.NotEmpty; | ||
| 7 | import javax.validation.constraints.NotNull; | 7 | import javax.validation.constraints.NotNull; |
| 8 | import java.util.List; | 8 | import java.util.List; |
| 9 | 9 | ||
| 10 | -@Schema(title = "管理后台 - 流程定义 Response VO") | 10 | +@Schema(description = "管理后台 - 流程定义 Response VO") |
| 11 | @Data | 11 | @Data |
| 12 | public class BpmProcessDefinitionRespVO { | 12 | public class BpmProcessDefinitionRespVO { |
| 13 | 13 | ||
| 14 | - @Schema(title = "编号", required = true, example = "1024") | 14 | + @Schema(description = "编号", required = true, example = "1024") |
| 15 | private String id; | 15 | private String id; |
| 16 | 16 | ||
| 17 | - @Schema(title = "版本", required = true, example = "1") | 17 | + @Schema(description = "版本", required = true, example = "1") |
| 18 | private Integer version; | 18 | private Integer version; |
| 19 | 19 | ||
| 20 | - @Schema(title = "流程名称", required = true, example = "芋道") | 20 | + @Schema(description = "流程名称", required = true, example = "芋道") |
| 21 | @NotEmpty(message = "流程名称不能为空") | 21 | @NotEmpty(message = "流程名称不能为空") |
| 22 | private String name; | 22 | private String name; |
| 23 | 23 | ||
| 24 | - @Schema(title = "流程描述", example = "我是描述") | 24 | + @Schema(description = "流程描述", example = "我是描述") |
| 25 | private String description; | 25 | private String description; |
| 26 | 26 | ||
| 27 | - @Schema(title = "流程分类", description = "参见 bpm_model_category 数据字典", example = "1") | 27 | + @Schema(description = "流程分类-参见 bpm_model_category 数据字典", example = "1") |
| 28 | @NotEmpty(message = "流程分类不能为空") | 28 | @NotEmpty(message = "流程分类不能为空") |
| 29 | private String category; | 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 | private Integer formType; | 32 | private Integer formType; |
| 33 | - @Schema(title = "表单编号", example = "1024", description = "在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空") | 33 | + @Schema(description = "表单编号-在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空", example = "1024") |
| 34 | private Long formId; | 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 | private String formConf; | 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 | private List<String> formFields; | 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 | private String formCustomCreatePath; | 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 | private String formCustomViewPath; | 44 | private String formCustomViewPath; |
| 47 | 45 | ||
| 48 | - @Schema(title = "中断状态", required = true, example = "1", description = "参见 SuspensionState 枚举") | 46 | + @Schema(description = "中断状态-参见 SuspensionState 枚举", required = true, example = "1") |
| 49 | private Integer suspensionState; | 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,11 +13,11 @@ import java.util.Set; | ||
| 13 | @Data | 13 | @Data |
| 14 | public class BpmTaskAssignRuleBaseVO { | 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 | @NotNull(message = "规则类型不能为空") | 17 | @NotNull(message = "规则类型不能为空") |
| 18 | private Integer type; | 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 | @NotNull(message = "规则值数组不能为空") | 21 | @NotNull(message = "规则值数组不能为空") |
| 22 | private Set<Long> options; | 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,17 +7,17 @@ import lombok.ToString; | ||
| 7 | 7 | ||
| 8 | import javax.validation.constraints.NotEmpty; | 8 | import javax.validation.constraints.NotEmpty; |
| 9 | 9 | ||
| 10 | -@Schema(title = "管理后台 - 流程任务分配规则的创建 Request VO") | 10 | +@Schema(description = "管理后台 - 流程任务分配规则的创建 Request VO") |
| 11 | @Data | 11 | @Data |
| 12 | @EqualsAndHashCode(callSuper = true) | 12 | @EqualsAndHashCode(callSuper = true) |
| 13 | @ToString(callSuper = true) | 13 | @ToString(callSuper = true) |
| 14 | public class BpmTaskAssignRuleCreateReqVO extends BpmTaskAssignRuleBaseVO { | 14 | public class BpmTaskAssignRuleCreateReqVO extends BpmTaskAssignRuleBaseVO { |
| 15 | 15 | ||
| 16 | - @Schema(title = "流程模型的编号", required = true, example = "1024") | 16 | + @Schema(description = "流程模型的编号", required = true, example = "1024") |
| 17 | @NotEmpty(message = "流程模型的编号不能为空") | 17 | @NotEmpty(message = "流程模型的编号不能为空") |
| 18 | private String modelId; | 18 | private String modelId; |
| 19 | 19 | ||
| 20 | - @Schema(title = "流程任务定义的编号", required = true, example = "2048") | 20 | + @Schema(description = "流程任务定义的编号", required = true, example = "2048") |
| 21 | @NotEmpty(message = "流程任务定义的编号不能为空") | 21 | @NotEmpty(message = "流程任务定义的编号不能为空") |
| 22 | private String taskDefinitionKey; | 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,24 +5,24 @@ import lombok.Data; | ||
| 5 | import lombok.EqualsAndHashCode; | 5 | import lombok.EqualsAndHashCode; |
| 6 | import lombok.ToString; | 6 | import lombok.ToString; |
| 7 | 7 | ||
| 8 | -@Schema(title = "管理后台 - 流程任务分配规则的 Response VO") | 8 | +@Schema(description = "管理后台 - 流程任务分配规则的 Response VO") |
| 9 | @Data | 9 | @Data |
| 10 | @EqualsAndHashCode(callSuper = true) | 10 | @EqualsAndHashCode(callSuper = true) |
| 11 | @ToString(callSuper = true) | 11 | @ToString(callSuper = true) |
| 12 | public class BpmTaskAssignRuleRespVO extends BpmTaskAssignRuleBaseVO { | 12 | public class BpmTaskAssignRuleRespVO extends BpmTaskAssignRuleBaseVO { |
| 13 | 13 | ||
| 14 | - @Schema(title = "任务分配规则的编号", required = true, example = "1024") | 14 | + @Schema(description = "任务分配规则的编号", required = true, example = "1024") |
| 15 | private Long id; | 15 | private Long id; |
| 16 | 16 | ||
| 17 | - @Schema(title = "流程模型的编号", required = true, example = "2048") | 17 | + @Schema(description = "流程模型的编号", required = true, example = "2048") |
| 18 | private String modelId; | 18 | private String modelId; |
| 19 | 19 | ||
| 20 | - @Schema(title = "流程定义的编号", required = true, example = "4096") | 20 | + @Schema(description = "流程定义的编号", required = true, example = "4096") |
| 21 | private String processDefinitionId; | 21 | private String processDefinitionId; |
| 22 | 22 | ||
| 23 | - @Schema(title = "流程任务定义的编号", required = true, example = "2048") | 23 | + @Schema(description = "流程任务定义的编号", required = true, example = "2048") |
| 24 | private String taskDefinitionKey; | 24 | private String taskDefinitionKey; |
| 25 | - @Schema(title = "流程任务定义的名字", required = true, example = "关注芋道") | 25 | + @Schema(description = "流程任务定义的名字", required = true, example = "关注芋道") |
| 26 | private String taskDefinitionName; | 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,13 +7,13 @@ import lombok.ToString; | ||
| 7 | 7 | ||
| 8 | import javax.validation.constraints.NotNull; | 8 | import javax.validation.constraints.NotNull; |
| 9 | 9 | ||
| 10 | -@Schema(title = "管理后台 - 流程任务分配规则的更新 Request VO") | 10 | +@Schema(description = "管理后台 - 流程任务分配规则的更新 Request VO") |
| 11 | @Data | 11 | @Data |
| 12 | @EqualsAndHashCode(callSuper = true) | 12 | @EqualsAndHashCode(callSuper = true) |
| 13 | @ToString(callSuper = true) | 13 | @ToString(callSuper = true) |
| 14 | public class BpmTaskAssignRuleUpdateReqVO extends BpmTaskAssignRuleBaseVO { | 14 | public class BpmTaskAssignRuleUpdateReqVO extends BpmTaskAssignRuleBaseVO { |
| 15 | 15 | ||
| 16 | - @Schema(title = "任务分配规则的编号", required = true, example = "1024") | 16 | + @Schema(description = "任务分配规则的编号", required = true, example = "1024") |
| 17 | @NotNull(message = "任务分配规则的编号不能为空") | 17 | @NotNull(message = "任务分配规则的编号不能为空") |
| 18 | private Long id; | 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,19 +14,19 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_ | ||
| 14 | @Data | 14 | @Data |
| 15 | public class BpmOALeaveBaseVO { | 15 | public class BpmOALeaveBaseVO { |
| 16 | 16 | ||
| 17 | - @Schema(title = "请假的开始时间", required = true) | 17 | + @Schema(description = "请假的开始时间", required = true) |
| 18 | @NotNull(message = "开始时间不能为空") | 18 | @NotNull(message = "开始时间不能为空") |
| 19 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) | 19 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
| 20 | private LocalDateTime startTime; | 20 | private LocalDateTime startTime; |
| 21 | - @Schema(title = "请假的结束时间", required = true) | 21 | + @Schema(description = "请假的结束时间", required = true) |
| 22 | @NotNull(message = "结束时间不能为空") | 22 | @NotNull(message = "结束时间不能为空") |
| 23 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) | 23 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
| 24 | private LocalDateTime endTime; | 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 | private Integer type; | 27 | private Integer type; |
| 28 | 28 | ||
| 29 | - @Schema(title = "原因", required = true, example = "阅读芋道源码") | 29 | + @Schema(description = "原因", required = true, example = "阅读芋道源码") |
| 30 | private String reason; | 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,7 +6,7 @@ import lombok.ToString; | ||
| 6 | 6 | ||
| 7 | import javax.validation.constraints.AssertTrue; | 7 | import javax.validation.constraints.AssertTrue; |
| 8 | 8 | ||
| 9 | -@Schema(title = "管理后台 - 请假申请创建 Request VO") | 9 | +@Schema(description = "管理后台 - 请假申请创建 Request VO") |
| 10 | @Data | 10 | @Data |
| 11 | @EqualsAndHashCode(callSuper = true) | 11 | @EqualsAndHashCode(callSuper = true) |
| 12 | @ToString(callSuper = true) | 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,23 +7,23 @@ import org.springframework.format.annotation.DateTimeFormat; | ||
| 7 | 7 | ||
| 8 | import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; | 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 | @Data | 11 | @Data |
| 12 | @EqualsAndHashCode(callSuper = true) | 12 | @EqualsAndHashCode(callSuper = true) |
| 13 | @ToString(callSuper = true) | 13 | @ToString(callSuper = true) |
| 14 | public class BpmOALeavePageReqVO extends PageParam { | 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 | private Integer result; | 17 | private Integer result; |
| 18 | 18 | ||
| 19 | - @Schema(title = "请假类型", example = "1", description = "参见 bpm_oa_type") | 19 | + @Schema(description = "请假类型-参见 bpm_oa_type", example = "1") |
| 20 | private Integer type; | 20 | private Integer type; |
| 21 | 21 | ||
| 22 | - @Schema(title = "原因", example = "阅读芋道源码", description = "模糊匹配") | 22 | + @Schema(description = "原因-模糊匹配", example = "阅读芋道源码") |
| 23 | private String reason; | 23 | private String reason; |
| 24 | 24 | ||
| 25 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) | 25 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
| 26 | - @Schema(title = "申请时间") | 26 | + @Schema(description = "申请时间") |
| 27 | private LocalDateTime[] createTime; | 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,24 +8,24 @@ import java.time.LocalDateTime; | ||
| 8 | 8 | ||
| 9 | import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; | 9 | import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; |
| 10 | 10 | ||
| 11 | -@Schema(title = "管理后台 - 请假申请 Response VO") | 11 | +@Schema(description = "管理后台 - 请假申请 Response VO") |
| 12 | @Data | 12 | @Data |
| 13 | @EqualsAndHashCode(callSuper = true) | 13 | @EqualsAndHashCode(callSuper = true) |
| 14 | @ToString(callSuper = true) | 14 | @ToString(callSuper = true) |
| 15 | public class BpmOALeaveRespVO extends BpmOALeaveBaseVO { | 15 | public class BpmOALeaveRespVO extends BpmOALeaveBaseVO { |
| 16 | 16 | ||
| 17 | - @Schema(title = "请假表单主键", required = true, example = "1024") | 17 | + @Schema(description = "请假表单主键", required = true, example = "1024") |
| 18 | private Long id; | 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 | private Integer result; | 21 | private Integer result; |
| 22 | 22 | ||
| 23 | - @Schema(title = "申请时间", required = true) | 23 | + @Schema(description = "申请时间", required = true) |
| 24 | @NotNull(message = "申请时间不能为空") | 24 | @NotNull(message = "申请时间不能为空") |
| 25 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) | 25 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
| 26 | private LocalDateTime createTime; | 26 | private LocalDateTime createTime; |
| 27 | 27 | ||
| 28 | - @Schema(title = "流程id") | 28 | + @Schema(description = "流程id") |
| 29 | private String processInstanceId; | 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,21 +5,21 @@ import lombok.Data; | ||
| 5 | 5 | ||
| 6 | import java.time.LocalDateTime; | 6 | import java.time.LocalDateTime; |
| 7 | 7 | ||
| 8 | -@Schema(title = "管理后台 - 流程活动的 Response VO") | 8 | +@Schema(description = "管理后台 - 流程活动的 Response VO") |
| 9 | @Data | 9 | @Data |
| 10 | public class BpmActivityRespVO { | 10 | public class BpmActivityRespVO { |
| 11 | 11 | ||
| 12 | - @Schema(title = "流程活动的标识", required = true, example = "1024") | 12 | + @Schema(description = "流程活动的标识", required = true, example = "1024") |
| 13 | private String key; | 13 | private String key; |
| 14 | - @Schema(title = "流程活动的类型", required = true, example = "StartEvent") | 14 | + @Schema(description = "流程活动的类型", required = true, example = "StartEvent") |
| 15 | private String type; | 15 | private String type; |
| 16 | 16 | ||
| 17 | - @Schema(title = "流程活动的开始时间", required = true) | 17 | + @Schema(description = "流程活动的开始时间", required = true) |
| 18 | private LocalDateTime startTime; | 18 | private LocalDateTime startTime; |
| 19 | - @Schema(title = "流程活动的结束时间", required = true) | 19 | + @Schema(description = "流程活动的结束时间", required = true) |
| 20 | private LocalDateTime endTime; | 20 | private LocalDateTime endTime; |
| 21 | 21 | ||
| 22 | - @Schema(title = "关联的流程任务的编号", example = "2048", description = "关联的流程任务,只有 UserTask 等类型才有") | 22 | + @Schema(description = "关联的流程任务的编号-关联的流程任务,只有 UserTask 等类型才有", example = "2048") |
| 23 | private String taskId; | 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,15 +7,15 @@ import javax.validation.constraints.NotEmpty; | ||
| 7 | import javax.validation.constraints.NotNull; | 7 | import javax.validation.constraints.NotNull; |
| 8 | import java.util.Map; | 8 | import java.util.Map; |
| 9 | 9 | ||
| 10 | -@Schema(title = "管理后台 - 流程实例的取消 Request VO") | 10 | +@Schema(description = "管理后台 - 流程实例的取消 Request VO") |
| 11 | @Data | 11 | @Data |
| 12 | public class BpmProcessInstanceCancelReqVO { | 12 | public class BpmProcessInstanceCancelReqVO { |
| 13 | 13 | ||
| 14 | - @Schema(title = "流程实例的编号", required = true, example = "1024") | 14 | + @Schema(description = "流程实例的编号", required = true, example = "1024") |
| 15 | @NotEmpty(message = "流程实例的编号不能为空") | 15 | @NotEmpty(message = "流程实例的编号不能为空") |
| 16 | private String id; | 16 | private String id; |
| 17 | 17 | ||
| 18 | - @Schema(title = "取消原因", required = true, example = "不请假了!") | 18 | + @Schema(description = "取消原因", required = true, example = "不请假了!") |
| 19 | @NotEmpty(message = "取消原因不能为空") | 19 | @NotEmpty(message = "取消原因不能为空") |
| 20 | private String reason; | 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,15 +6,15 @@ import lombok.Data; | ||
| 6 | import javax.validation.constraints.NotEmpty; | 6 | import javax.validation.constraints.NotEmpty; |
| 7 | import java.util.Map; | 7 | import java.util.Map; |
| 8 | 8 | ||
| 9 | -@Schema(title = "管理后台 - 流程实例的创建 Request VO") | 9 | +@Schema(description = "管理后台 - 流程实例的创建 Request VO") |
| 10 | @Data | 10 | @Data |
| 11 | public class BpmProcessInstanceCreateReqVO { | 11 | public class BpmProcessInstanceCreateReqVO { |
| 12 | 12 | ||
| 13 | - @Schema(title = "流程定义的编号", required = true, example = "1024") | 13 | + @Schema(description = "流程定义的编号", required = true, example = "1024") |
| 14 | @NotEmpty(message = "流程定义编号不能为空") | 14 | @NotEmpty(message = "流程定义编号不能为空") |
| 15 | private String processDefinitionId; | 15 | private String processDefinitionId; |
| 16 | 16 | ||
| 17 | - @Schema(title = "变量实例") | 17 | + @Schema(description = "变量实例") |
| 18 | private Map<String, Object> variables; | 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,28 +11,28 @@ import java.time.LocalDateTime; | ||
| 11 | 11 | ||
| 12 | import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; | 12 | import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; |
| 13 | 13 | ||
| 14 | -@Schema(title = "管理后台 - 流程实例的分页 Item Response VO") | 14 | +@Schema(description = "管理后台 - 流程实例的分页 Item Response VO") |
| 15 | @Data | 15 | @Data |
| 16 | @EqualsAndHashCode(callSuper = true) | 16 | @EqualsAndHashCode(callSuper = true) |
| 17 | @ToString(callSuper = true) | 17 | @ToString(callSuper = true) |
| 18 | public class BpmProcessInstanceMyPageReqVO extends PageParam { | 18 | public class BpmProcessInstanceMyPageReqVO extends PageParam { |
| 19 | 19 | ||
| 20 | - @Schema(title = "流程名称", example = "芋道") | 20 | + @Schema(description = "流程名称", example = "芋道") |
| 21 | private String name; | 21 | private String name; |
| 22 | 22 | ||
| 23 | - @Schema(title = "流程定义的编号", example = "2048") | 23 | + @Schema(description = "流程定义的编号", example = "2048") |
| 24 | private String processDefinitionId; | 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 | private Integer status; | 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 | private Integer result; | 30 | private Integer result; |
| 31 | 31 | ||
| 32 | - @Schema(title = "流程分类", description = "参见 bpm_model_category 数据字典", example = "1") | 32 | + @Schema(description = "流程分类-参见 bpm_model_category 数据字典", example = "1") |
| 33 | private String category; | 33 | private String category; |
| 34 | 34 | ||
| 35 | - @Schema(title = "创建时间") | 35 | + @Schema(description = "创建时间") |
| 36 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) | 36 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
| 37 | private LocalDateTime[] createTime; | 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,32 +6,32 @@ import lombok.Data; | ||
| 6 | import java.time.LocalDateTime; | 6 | import java.time.LocalDateTime; |
| 7 | import java.util.List; | 7 | import java.util.List; |
| 8 | 8 | ||
| 9 | -@Schema(title = "管理后台 - 流程实例的分页 Item Response VO") | 9 | +@Schema(description = "管理后台 - 流程实例的分页 Item Response VO") |
| 10 | @Data | 10 | @Data |
| 11 | public class BpmProcessInstancePageItemRespVO { | 11 | public class BpmProcessInstancePageItemRespVO { |
| 12 | 12 | ||
| 13 | - @Schema(title = "流程实例的编号", required = true, example = "1024") | 13 | + @Schema(description = "流程实例的编号", required = true, example = "1024") |
| 14 | private String id; | 14 | private String id; |
| 15 | 15 | ||
| 16 | - @Schema(title = "流程名称", required = true, example = "芋道") | 16 | + @Schema(description = "流程名称", required = true, example = "芋道") |
| 17 | private String name; | 17 | private String name; |
| 18 | 18 | ||
| 19 | - @Schema(title = "流程定义的编号", required = true, example = "2048") | 19 | + @Schema(description = "流程定义的编号", required = true, example = "2048") |
| 20 | private String processDefinitionId; | 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 | private String category; | 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 | private Integer status; | 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 | private Integer result; | 29 | private Integer result; |
| 30 | 30 | ||
| 31 | - @Schema(title = "提交时间", required = true) | 31 | + @Schema(description = "提交时间", required = true) |
| 32 | private LocalDateTime createTime; | 32 | private LocalDateTime createTime; |
| 33 | 33 | ||
| 34 | - @Schema(title = "结束时间", required = true) | 34 | + @Schema(description = "结束时间", required = true) |
| 35 | private LocalDateTime endTime; | 35 | private LocalDateTime endTime; |
| 36 | 36 | ||
| 37 | /** | 37 | /** |
| @@ -39,14 +39,14 @@ public class BpmProcessInstancePageItemRespVO { | @@ -39,14 +39,14 @@ public class BpmProcessInstancePageItemRespVO { | ||
| 39 | */ | 39 | */ |
| 40 | private List<Task> tasks; | 40 | private List<Task> tasks; |
| 41 | 41 | ||
| 42 | - @Schema(title = "流程任务") | 42 | + @Schema(description = "流程任务") |
| 43 | @Data | 43 | @Data |
| 44 | public static class Task { | 44 | public static class Task { |
| 45 | 45 | ||
| 46 | - @Schema(title = "流程任务的编号", required = true, example = "1024") | 46 | + @Schema(description = "流程任务的编号", required = true, example = "1024") |
| 47 | private String id; | 47 | private String id; |
| 48 | 48 | ||
| 49 | - @Schema(title = "任务名称", required = true, example = "芋道") | 49 | + @Schema(description = "任务名称", required = true, example = "芋道") |
| 50 | private String name; | 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,35 +7,35 @@ import java.time.LocalDateTime; | ||
| 7 | import java.util.List; | 7 | import java.util.List; |
| 8 | import java.util.Map; | 8 | import java.util.Map; |
| 9 | 9 | ||
| 10 | -@Schema(title = "管理后台 - 流程实例的 Response VO") | 10 | +@Schema(description = "管理后台 - 流程实例的 Response VO") |
| 11 | @Data | 11 | @Data |
| 12 | public class BpmProcessInstanceRespVO { | 12 | public class BpmProcessInstanceRespVO { |
| 13 | 13 | ||
| 14 | - @Schema(title = "流程实例的编号", required = true, example = "1024") | 14 | + @Schema(description = "流程实例的编号", required = true, example = "1024") |
| 15 | private String id; | 15 | private String id; |
| 16 | 16 | ||
| 17 | - @Schema(title = "流程名称", required = true, example = "芋道") | 17 | + @Schema(description = "流程名称", required = true, example = "芋道") |
| 18 | private String name; | 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 | private String category; | 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 | private Integer status; | 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 | private Integer result; | 27 | private Integer result; |
| 28 | 28 | ||
| 29 | - @Schema(title = "提交时间", required = true) | 29 | + @Schema(description = "提交时间", required = true) |
| 30 | private LocalDateTime createTime; | 30 | private LocalDateTime createTime; |
| 31 | 31 | ||
| 32 | - @Schema(title = "结束时间", required = true) | 32 | + @Schema(description = "结束时间", required = true) |
| 33 | private LocalDateTime endTime; | 33 | private LocalDateTime endTime; |
| 34 | 34 | ||
| 35 | - @Schema(title = "提交的表单值", required = true) | 35 | + @Schema(description = "提交的表单值", required = true) |
| 36 | private Map<String, Object> formVariables; | 36 | private Map<String, Object> formVariables; |
| 37 | 37 | ||
| 38 | - @Schema(title = "业务的唯一标识", example = "1", description = "例如说,请假申请的编号") | 38 | + @Schema(description = "业务的唯一标识-例如说,请假申请的编号", example = "1") |
| 39 | private String businessKey; | 39 | private String businessKey; |
| 40 | 40 | ||
| 41 | /** | 41 | /** |
| @@ -48,47 +48,45 @@ public class BpmProcessInstanceRespVO { | @@ -48,47 +48,45 @@ public class BpmProcessInstanceRespVO { | ||
| 48 | */ | 48 | */ |
| 49 | private ProcessDefinition processDefinition; | 49 | private ProcessDefinition processDefinition; |
| 50 | 50 | ||
| 51 | - @Schema(title = "用户信息") | 51 | + @Schema(description = "用户信息") |
| 52 | @Data | 52 | @Data |
| 53 | public static class User { | 53 | public static class User { |
| 54 | 54 | ||
| 55 | - @Schema(title = "用户编号", required = true, example = "1") | 55 | + @Schema(description = "用户编号", required = true, example = "1") |
| 56 | private Long id; | 56 | private Long id; |
| 57 | - @Schema(title = "用户昵称", required = true, example = "芋艿") | 57 | + @Schema(description = "用户昵称", required = true, example = "芋艿") |
| 58 | private String nickname; | 58 | private String nickname; |
| 59 | 59 | ||
| 60 | - @Schema(title = "部门编号", required = true, example = "1") | 60 | + @Schema(description = "部门编号", required = true, example = "1") |
| 61 | private Long deptId; | 61 | private Long deptId; |
| 62 | - @Schema(title = "部门名称", required = true, example = "研发部") | 62 | + @Schema(description = "部门名称", required = true, example = "研发部") |
| 63 | private String deptName; | 63 | private String deptName; |
| 64 | 64 | ||
| 65 | } | 65 | } |
| 66 | 66 | ||
| 67 | - @Schema(title = "流程定义信息") | 67 | + @Schema(description = "流程定义信息") |
| 68 | @Data | 68 | @Data |
| 69 | public static class ProcessDefinition { | 69 | public static class ProcessDefinition { |
| 70 | 70 | ||
| 71 | - @Schema(title = "编号", required = true, example = "1024") | 71 | + @Schema(description = "编号", required = true, example = "1024") |
| 72 | private String id; | 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 | private Integer formType; | 75 | private Integer formType; |
| 76 | - @Schema(title = "表单编号", example = "1024", description = "在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空") | 76 | + @Schema(description = "表单编号-在表单类型为 {@link BpmModelFormTypeEnum#CUSTOM} 时,必须非空", example = "1024") |
| 77 | private Long formId; | 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 | private String formConf; | 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 | private List<String> formFields; | 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 | private String formCustomCreatePath; | 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 | private String formCustomViewPath; | 87 | private String formCustomViewPath; |
| 90 | 88 | ||
| 91 | - @Schema(title = "BPMN XML", required = true) | 89 | + @Schema(description = "BPMN XML", required = true) |
| 92 | private String bpmnXml; | 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,15 +5,15 @@ import lombok.Data; | ||
| 5 | 5 | ||
| 6 | import javax.validation.constraints.NotEmpty; | 6 | import javax.validation.constraints.NotEmpty; |
| 7 | 7 | ||
| 8 | -@Schema(title = "管理后台 - 通过流程任务的 Request VO") | 8 | +@Schema(description = "管理后台 - 通过流程任务的 Request VO") |
| 9 | @Data | 9 | @Data |
| 10 | public class BpmTaskApproveReqVO { | 10 | public class BpmTaskApproveReqVO { |
| 11 | 11 | ||
| 12 | - @Schema(title = "任务编号", required = true, example = "1024") | 12 | + @Schema(description = "任务编号", required = true, example = "1024") |
| 13 | @NotEmpty(message = "任务编号不能为空") | 13 | @NotEmpty(message = "任务编号不能为空") |
| 14 | private String id; | 14 | private String id; |
| 15 | 15 | ||
| 16 | - @Schema(title = "审批意见", required = true, example = "不错不错!") | 16 | + @Schema(description = "审批意见", required = true, example = "不错不错!") |
| 17 | @NotEmpty(message = "审批意见不能为空") | 17 | @NotEmpty(message = "审批意见不能为空") |
| 18 | private String reason; | 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,20 +7,20 @@ import lombok.ToString; | ||
| 7 | 7 | ||
| 8 | import java.time.LocalDateTime; | 8 | import java.time.LocalDateTime; |
| 9 | 9 | ||
| 10 | -@Schema(title = "管理后台 - 流程任务的 Done 已完成的分页项 Response VO") | 10 | +@Schema(description = "管理后台 - 流程任务的 Done 已完成的分页项 Response VO") |
| 11 | @Data | 11 | @Data |
| 12 | @EqualsAndHashCode(callSuper = true) | 12 | @EqualsAndHashCode(callSuper = true) |
| 13 | @ToString(callSuper = true) | 13 | @ToString(callSuper = true) |
| 14 | public class BpmTaskDonePageItemRespVO extends BpmTaskTodoPageItemRespVO { | 14 | public class BpmTaskDonePageItemRespVO extends BpmTaskTodoPageItemRespVO { |
| 15 | 15 | ||
| 16 | - @Schema(title = "结束时间", required = true) | 16 | + @Schema(description = "结束时间", required = true) |
| 17 | private LocalDateTime endTime; | 17 | private LocalDateTime endTime; |
| 18 | - @Schema(title = "持续时间", required = true, example = "1000") | 18 | + @Schema(description = "持续时间", required = true, example = "1000") |
| 19 | private Long durationInMillis; | 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 | private Integer result; | 22 | private Integer result; |
| 23 | - @Schema(title = "审批建议", required = true, example = "不请假了!") | 23 | + @Schema(description = "审批建议", required = true, example = "不请假了!") |
| 24 | private String reason; | 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,20 +11,20 @@ import java.time.LocalDateTime; | ||
| 11 | 11 | ||
| 12 | import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; | 12 | import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; |
| 13 | 13 | ||
| 14 | -@Schema(title = "管理后台 - 流程任务的 Done 已办的分页 Request VO") | 14 | +@Schema(description = "管理后台 - 流程任务的 Done 已办的分页 Request VO") |
| 15 | @Data | 15 | @Data |
| 16 | @EqualsAndHashCode(callSuper = true) | 16 | @EqualsAndHashCode(callSuper = true) |
| 17 | @ToString(callSuper = true) | 17 | @ToString(callSuper = true) |
| 18 | public class BpmTaskDonePageReqVO extends PageParam { | 18 | public class BpmTaskDonePageReqVO extends PageParam { |
| 19 | 19 | ||
| 20 | - @Schema(title = "流程任务名", example = "芋道") | 20 | + @Schema(description = "流程任务名", example = "芋道") |
| 21 | private String name; | 21 | private String name; |
| 22 | 22 | ||
| 23 | - @Schema(title = "开始的创建收间") | 23 | + @Schema(description = "开始的创建收间") |
| 24 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) | 24 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
| 25 | private LocalDateTime beginCreateTime; | 25 | private LocalDateTime beginCreateTime; |
| 26 | 26 | ||
| 27 | - @Schema(title = "结束的创建时间") | 27 | + @Schema(description = "结束的创建时间") |
| 28 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) | 28 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
| 29 | private LocalDateTime endCreateTime; | 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,15 +5,15 @@ import lombok.Data; | ||
| 5 | 5 | ||
| 6 | import javax.validation.constraints.NotEmpty; | 6 | import javax.validation.constraints.NotEmpty; |
| 7 | 7 | ||
| 8 | -@Schema(title = "管理后台 - 不通过流程任务的 Request VO") | 8 | +@Schema(description = "管理后台 - 不通过流程任务的 Request VO") |
| 9 | @Data | 9 | @Data |
| 10 | public class BpmTaskRejectReqVO { | 10 | public class BpmTaskRejectReqVO { |
| 11 | 11 | ||
| 12 | - @Schema(title = "任务编号", required = true, example = "1024") | 12 | + @Schema(description = "任务编号", required = true, example = "1024") |
| 13 | @NotEmpty(message = "任务编号不能为空") | 13 | @NotEmpty(message = "任务编号不能为空") |
| 14 | private String id; | 14 | private String id; |
| 15 | 15 | ||
| 16 | - @Schema(title = "审批意见", required = true, example = "不错不错!") | 16 | + @Schema(description = "审批意见", required = true, example = "不错不错!") |
| 17 | @NotEmpty(message = "审批意见不能为空") | 17 | @NotEmpty(message = "审批意见不能为空") |
| 18 | private String reason; | 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,13 +5,13 @@ import lombok.Data; | ||
| 5 | import lombok.EqualsAndHashCode; | 5 | import lombok.EqualsAndHashCode; |
| 6 | import lombok.ToString; | 6 | import lombok.ToString; |
| 7 | 7 | ||
| 8 | -@Schema(title = "管理后台 - 流程任务的 Response VO") | 8 | +@Schema(description = "管理后台 - 流程任务的 Response VO") |
| 9 | @Data | 9 | @Data |
| 10 | @EqualsAndHashCode(callSuper = true) | 10 | @EqualsAndHashCode(callSuper = true) |
| 11 | @ToString(callSuper = true) | 11 | @ToString(callSuper = true) |
| 12 | public class BpmTaskRespVO extends BpmTaskDonePageItemRespVO { | 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 | private String definitionKey; | 15 | private String definitionKey; |
| 16 | 16 | ||
| 17 | /** | 17 | /** |
| @@ -19,18 +19,18 @@ public class BpmTaskRespVO extends BpmTaskDonePageItemRespVO { | @@ -19,18 +19,18 @@ public class BpmTaskRespVO extends BpmTaskDonePageItemRespVO { | ||
| 19 | */ | 19 | */ |
| 20 | private User assigneeUser; | 20 | private User assigneeUser; |
| 21 | 21 | ||
| 22 | - @Schema(title = "用户信息") | 22 | + @Schema(description = "用户信息") |
| 23 | @Data | 23 | @Data |
| 24 | public static class User { | 24 | public static class User { |
| 25 | 25 | ||
| 26 | - @Schema(title = "用户编号", required = true, example = "1") | 26 | + @Schema(description = "用户编号", required = true, example = "1") |
| 27 | private Long id; | 27 | private Long id; |
| 28 | - @Schema(title = "用户昵称", required = true, example = "芋艿") | 28 | + @Schema(description = "用户昵称", required = true, example = "芋艿") |
| 29 | private String nickname; | 29 | private String nickname; |
| 30 | 30 | ||
| 31 | - @Schema(title = "部门编号", required = true, example = "1") | 31 | + @Schema(description = "部门编号", required = true, example = "1") |
| 32 | private Long deptId; | 32 | private Long deptId; |
| 33 | - @Schema(title = "部门名称", required = true, example = "研发部") | 33 | + @Schema(description = "部门名称", required = true, example = "研发部") |
| 34 | private String deptName; | 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,23 +5,23 @@ import lombok.Data; | ||
| 5 | 5 | ||
| 6 | import java.time.LocalDateTime; | 6 | import java.time.LocalDateTime; |
| 7 | 7 | ||
| 8 | -@Schema(title = "管理后台 - 流程任务的 Running 进行中的分页项 Response VO") | 8 | +@Schema(description = "管理后台 - 流程任务的 Running 进行中的分页项 Response VO") |
| 9 | @Data | 9 | @Data |
| 10 | public class BpmTaskTodoPageItemRespVO { | 10 | public class BpmTaskTodoPageItemRespVO { |
| 11 | 11 | ||
| 12 | - @Schema(title = "任务编号", required = true, example = "1024") | 12 | + @Schema(description = "任务编号", required = true, example = "1024") |
| 13 | private String id; | 13 | private String id; |
| 14 | 14 | ||
| 15 | - @Schema(title = "任务名字", required = true, example = "芋道") | 15 | + @Schema(description = "任务名字", required = true, example = "芋道") |
| 16 | private String name; | 16 | private String name; |
| 17 | 17 | ||
| 18 | - @Schema(title = "接收时间", required = true) | 18 | + @Schema(description = "接收时间", required = true) |
| 19 | private LocalDateTime claimTime; | 19 | private LocalDateTime claimTime; |
| 20 | 20 | ||
| 21 | - @Schema(title = "创建时间", required = true) | 21 | + @Schema(description = "创建时间", required = true) |
| 22 | private LocalDateTime createTime; | 22 | private LocalDateTime createTime; |
| 23 | 23 | ||
| 24 | - @Schema(title = "激活状态", required = true, example = "1", description = "参见 SuspensionState 枚举") | 24 | + @Schema(description = "激活状态-参见 SuspensionState 枚举", required = true, example = "1") |
| 25 | private Integer suspensionState; | 25 | private Integer suspensionState; |
| 26 | 26 | ||
| 27 | /** | 27 | /** |
| @@ -30,22 +30,22 @@ public class BpmTaskTodoPageItemRespVO { | @@ -30,22 +30,22 @@ public class BpmTaskTodoPageItemRespVO { | ||
| 30 | private ProcessInstance processInstance; | 30 | private ProcessInstance processInstance; |
| 31 | 31 | ||
| 32 | @Data | 32 | @Data |
| 33 | - @Schema(title = "流程实例") | 33 | + @Schema(description = "流程实例") |
| 34 | public static class ProcessInstance { | 34 | public static class ProcessInstance { |
| 35 | 35 | ||
| 36 | - @Schema(title = "流程实例编号", required = true, example = "1024") | 36 | + @Schema(description = "流程实例编号", required = true, example = "1024") |
| 37 | private String id; | 37 | private String id; |
| 38 | 38 | ||
| 39 | - @Schema(title = "流程实例名称", required = true, example = "芋道") | 39 | + @Schema(description = "流程实例名称", required = true, example = "芋道") |
| 40 | private String name; | 40 | private String name; |
| 41 | 41 | ||
| 42 | - @Schema(title = "发起人的用户编号", required = true, example = "1024") | 42 | + @Schema(description = "发起人的用户编号", required = true, example = "1024") |
| 43 | private Long startUserId; | 43 | private Long startUserId; |
| 44 | 44 | ||
| 45 | - @Schema(title = "发起人的用户昵称", required = true, example = "芋艿") | 45 | + @Schema(description = "发起人的用户昵称", required = true, example = "芋艿") |
| 46 | private String startUserNickname; | 46 | private String startUserNickname; |
| 47 | 47 | ||
| 48 | - @Schema(title = "流程定义的编号", required = true, example = "2048") | 48 | + @Schema(description = "流程定义的编号", required = true, example = "2048") |
| 49 | private String processDefinitionId; | 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,20 +11,20 @@ import java.time.LocalDateTime; | ||
| 11 | 11 | ||
| 12 | import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; | 12 | import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; |
| 13 | 13 | ||
| 14 | -@Schema(title = "管理后台 - 流程任务的 TODO 待办的分页 Request VO") | 14 | +@Schema(description = "管理后台 - 流程任务的 TODO 待办的分页 Request VO") |
| 15 | @Data | 15 | @Data |
| 16 | @EqualsAndHashCode(callSuper = true) | 16 | @EqualsAndHashCode(callSuper = true) |
| 17 | @ToString(callSuper = true) | 17 | @ToString(callSuper = true) |
| 18 | public class BpmTaskTodoPageReqVO extends PageParam { | 18 | public class BpmTaskTodoPageReqVO extends PageParam { |
| 19 | 19 | ||
| 20 | - @Schema(title = "流程任务名", example = "芋道") | 20 | + @Schema(description = "流程任务名", example = "芋道") |
| 21 | private String name; | 21 | private String name; |
| 22 | 22 | ||
| 23 | - @Schema(title = "开始的创建收间") | 23 | + @Schema(description = "开始的创建收间") |
| 24 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) | 24 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
| 25 | private LocalDateTime beginCreateTime; | 25 | private LocalDateTime beginCreateTime; |
| 26 | 26 | ||
| 27 | - @Schema(title = "结束的创建时间") | 27 | + @Schema(description = "结束的创建时间") |
| 28 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) | 28 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
| 29 | private LocalDateTime endCreateTime; | 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,15 +9,15 @@ import net.bytebuddy.implementation.bind.annotation.Empty; | ||
| 9 | import javax.validation.constraints.NotEmpty; | 9 | import javax.validation.constraints.NotEmpty; |
| 10 | import javax.validation.constraints.NotNull; | 10 | import javax.validation.constraints.NotNull; |
| 11 | 11 | ||
| 12 | -@Schema(title = "管理后台 - 流程任务的更新负责人的 Request VO") | 12 | +@Schema(description = "管理后台 - 流程任务的更新负责人的 Request VO") |
| 13 | @Data | 13 | @Data |
| 14 | public class BpmTaskUpdateAssigneeReqVO { | 14 | public class BpmTaskUpdateAssigneeReqVO { |
| 15 | 15 | ||
| 16 | - @Schema(title = "任务编号", required = true, example = "1024") | 16 | + @Schema(description = "任务编号", required = true, example = "1024") |
| 17 | @NotEmpty(message = "任务编号不能为空") | 17 | @NotEmpty(message = "任务编号不能为空") |
| 18 | private String id; | 18 | private String id; |
| 19 | 19 | ||
| 20 | - @Schema(title = "新审批人的用户编号", required = true, example = "2048") | 20 | + @Schema(description = "新审批人的用户编号", required = true, example = "2048") |
| 21 | @NotNull(message = "新审批人的用户编号不能为空") | 21 | @NotNull(message = "新审批人的用户编号不能为空") |
| 22 | private Long assigneeUserId; | 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,15 +6,15 @@ import lombok.Data; | ||
| 6 | import javax.validation.constraints.NotNull; | 6 | import javax.validation.constraints.NotNull; |
| 7 | import java.util.List; | 7 | import java.util.List; |
| 8 | 8 | ||
| 9 | -@Schema(title = "管理后台 - 基于数据库的表结构,创建代码生成器的表和字段定义 Request VO") | 9 | +@Schema(description = "管理后台 - 基于数据库的表结构,创建代码生成器的表和字段定义 Request VO") |
| 10 | @Data | 10 | @Data |
| 11 | public class CodegenCreateListReqVO { | 11 | public class CodegenCreateListReqVO { |
| 12 | 12 | ||
| 13 | - @Schema(title = "数据源配置的编号", required = true, example = "1") | 13 | + @Schema(description = "数据源配置的编号", required = true, example = "1") |
| 14 | @NotNull(message = "数据源配置的编号不能为空") | 14 | @NotNull(message = "数据源配置的编号不能为空") |
| 15 | private Long dataSourceConfigId; | 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 | @NotNull(message = "表名数组不能为空") | 18 | @NotNull(message = "表名数组不能为空") |
| 19 | private List<String> tableNames; | 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,14 +7,14 @@ import lombok.Data; | ||
| 7 | 7 | ||
| 8 | import java.util.List; | 8 | import java.util.List; |
| 9 | 9 | ||
| 10 | -@Schema(title = "管理后台 - 代码生成表和字段的明细 Response VO") | 10 | +@Schema(description = "管理后台 - 代码生成表和字段的明细 Response VO") |
| 11 | @Data | 11 | @Data |
| 12 | public class CodegenDetailRespVO { | 12 | public class CodegenDetailRespVO { |
| 13 | 13 | ||
| 14 | - @Schema(name = "表定义") | 14 | + @Schema(description = "表定义") |
| 15 | private CodegenTableRespVO table; | 15 | private CodegenTableRespVO table; |
| 16 | 16 | ||
| 17 | - @Schema(name = "字段定义") | 17 | + @Schema(description = "字段定义") |
| 18 | private List<CodegenColumnRespVO> columns; | 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,14 +3,14 @@ package cn.iocoder.yudao.module.infra.controller.admin.codegen.vo; | ||
| 3 | import io.swagger.v3.oas.annotations.media.Schema; | 3 | import io.swagger.v3.oas.annotations.media.Schema; |
| 4 | import lombok.Data; | 4 | import lombok.Data; |
| 5 | 5 | ||
| 6 | -@Schema(title = "管理后台 - 代码生成预览 Response VO", description ="注意,每个文件都是一个该对象") | 6 | +@Schema(description = "管理后台 - 代码生成预览 Response VO,注意,每个文件都是一个该对象") |
| 7 | @Data | 7 | @Data |
| 8 | public class CodegenPreviewRespVO { | 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 | private String filePath; | 11 | private String filePath; |
| 12 | 12 | ||
| 13 | - @Schema(title = "代码", required = true, example = "Hello World") | 13 | + @Schema(description = "代码", required = true, example = "Hello World") |
| 14 | private String code; | 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,7 +14,7 @@ import javax.validation.constraints.AssertTrue; | ||
| 14 | import javax.validation.constraints.NotNull; | 14 | import javax.validation.constraints.NotNull; |
| 15 | import java.util.List; | 15 | import java.util.List; |
| 16 | 16 | ||
| 17 | -@Schema(title = "管理后台 - 代码生成表和字段的修改 Request VO") | 17 | +@Schema(description = "管理后台 - 代码生成表和字段的修改 Request VO") |
| 18 | @Data | 18 | @Data |
| 19 | public class CodegenUpdateReqVO { | 19 | public class CodegenUpdateReqVO { |
| 20 | 20 | ||
| @@ -26,14 +26,14 @@ public class CodegenUpdateReqVO { | @@ -26,14 +26,14 @@ public class CodegenUpdateReqVO { | ||
| 26 | @NotNull(message = "字段定义不能为空") | 26 | @NotNull(message = "字段定义不能为空") |
| 27 | private List<Column> columns; | 27 | private List<Column> columns; |
| 28 | 28 | ||
| 29 | - @Schema(title = "更新表定义") | 29 | + @Schema(description = "更新表定义") |
| 30 | @Data | 30 | @Data |
| 31 | @EqualsAndHashCode(callSuper = true) | 31 | @EqualsAndHashCode(callSuper = true) |
| 32 | @ToString(callSuper = true) | 32 | @ToString(callSuper = true) |
| 33 | @Valid | 33 | @Valid |
| 34 | public static class Table extends CodegenTableBaseVO { | 34 | public static class Table extends CodegenTableBaseVO { |
| 35 | 35 | ||
| 36 | - @Schema(title = "编号", required = true, example = "1") | 36 | + @Schema(description = "编号", required = true, example = "1") |
| 37 | private Long id; | 37 | private Long id; |
| 38 | 38 | ||
| 39 | @AssertTrue(message = "上级菜单不能为空") | 39 | @AssertTrue(message = "上级菜单不能为空") |
| @@ -45,13 +45,13 @@ public class CodegenUpdateReqVO { | @@ -45,13 +45,13 @@ public class CodegenUpdateReqVO { | ||
| 45 | 45 | ||
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | - @Schema(title = "更新表定义") | 48 | + @Schema(description = "更新表定义") |
| 49 | @Data | 49 | @Data |
| 50 | @EqualsAndHashCode(callSuper = true) | 50 | @EqualsAndHashCode(callSuper = true) |
| 51 | @ToString(callSuper = true) | 51 | @ToString(callSuper = true) |
| 52 | public static class Column extends CodegenColumnBaseVO { | 52 | public static class Column extends CodegenColumnBaseVO { |
| 53 | 53 | ||
| 54 | - @Schema(title = "编号", required = true, example = "1") | 54 | + @Schema(description = "编号", required = true, example = "1") |
| 55 | private Long id; | 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,73 +11,73 @@ import javax.validation.constraints.NotNull; | ||
| 11 | @Data | 11 | @Data |
| 12 | public class CodegenColumnBaseVO { | 12 | public class CodegenColumnBaseVO { |
| 13 | 13 | ||
| 14 | - @Schema(title = "表编号", required = true, example = "1") | 14 | + @Schema(description = "表编号", required = true, example = "1") |
| 15 | @NotNull(message = "表编号不能为空") | 15 | @NotNull(message = "表编号不能为空") |
| 16 | private Long tableId; | 16 | private Long tableId; |
| 17 | 17 | ||
| 18 | - @Schema(title = "字段名", required = true, example = "user_age") | 18 | + @Schema(description = "字段名", required = true, example = "user_age") |
| 19 | @NotNull(message = "字段名不能为空") | 19 | @NotNull(message = "字段名不能为空") |
| 20 | private String columnName; | 20 | private String columnName; |
| 21 | 21 | ||
| 22 | - @Schema(title = "字段类型", required = true, example = "int(11)") | 22 | + @Schema(description = "字段类型", required = true, example = "int(11)") |
| 23 | @NotNull(message = "字段类型不能为空") | 23 | @NotNull(message = "字段类型不能为空") |
| 24 | private String dataType; | 24 | private String dataType; |
| 25 | 25 | ||
| 26 | - @Schema(title = "字段描述", required = true, example = "年龄") | 26 | + @Schema(description = "字段描述", required = true, example = "年龄") |
| 27 | @NotNull(message = "字段描述不能为空") | 27 | @NotNull(message = "字段描述不能为空") |
| 28 | private String columnComment; | 28 | private String columnComment; |
| 29 | 29 | ||
| 30 | - @Schema(title = "是否允许为空", required = true, example = "true") | 30 | + @Schema(description = "是否允许为空", required = true, example = "true") |
| 31 | @NotNull(message = "是否允许为空不能为空") | 31 | @NotNull(message = "是否允许为空不能为空") |
| 32 | private Boolean nullable; | 32 | private Boolean nullable; |
| 33 | 33 | ||
| 34 | - @Schema(title = "是否主键", required = true, example = "false") | 34 | + @Schema(description = "是否主键", required = true, example = "false") |
| 35 | @NotNull(message = "是否主键不能为空") | 35 | @NotNull(message = "是否主键不能为空") |
| 36 | private Boolean primaryKey; | 36 | private Boolean primaryKey; |
| 37 | 37 | ||
| 38 | - @Schema(title = "是否自增", required = true, example = "true") | 38 | + @Schema(description = "是否自增", required = true, example = "true") |
| 39 | @NotNull(message = "是否自增不能为空") | 39 | @NotNull(message = "是否自增不能为空") |
| 40 | private String autoIncrement; | 40 | private String autoIncrement; |
| 41 | 41 | ||
| 42 | - @Schema(title = "排序", required = true, example = "10") | 42 | + @Schema(description = "排序", required = true, example = "10") |
| 43 | @NotNull(message = "排序不能为空") | 43 | @NotNull(message = "排序不能为空") |
| 44 | private Integer ordinalPosition; | 44 | private Integer ordinalPosition; |
| 45 | 45 | ||
| 46 | - @Schema(title = "Java 属性类型", required = true, example = "userAge") | 46 | + @Schema(description = "Java 属性类型", required = true, example = "userAge") |
| 47 | @NotNull(message = "Java 属性类型不能为空") | 47 | @NotNull(message = "Java 属性类型不能为空") |
| 48 | private String javaType; | 48 | private String javaType; |
| 49 | 49 | ||
| 50 | - @Schema(title = "Java 属性名", required = true, example = "Integer") | 50 | + @Schema(description = "Java 属性名", required = true, example = "Integer") |
| 51 | @NotNull(message = "Java 属性名不能为空") | 51 | @NotNull(message = "Java 属性名不能为空") |
| 52 | private String javaField; | 52 | private String javaField; |
| 53 | 53 | ||
| 54 | - @Schema(title = "字典类型", example = "sys_gender") | 54 | + @Schema(description = "字典类型", example = "sys_gender") |
| 55 | private String dictType; | 55 | private String dictType; |
| 56 | 56 | ||
| 57 | - @Schema(title = "数据示例", example = "1024") | 57 | + @Schema(description = "数据示例", example = "1024") |
| 58 | private String example; | 58 | private String example; |
| 59 | 59 | ||
| 60 | - @Schema(title = "是否为 Create 创建操作的字段", required = true, example = "true") | 60 | + @Schema(description = "是否为 Create 创建操作的字段", required = true, example = "true") |
| 61 | @NotNull(message = "是否为 Create 创建操作的字段不能为空") | 61 | @NotNull(message = "是否为 Create 创建操作的字段不能为空") |
| 62 | private Boolean createOperation; | 62 | private Boolean createOperation; |
| 63 | 63 | ||
| 64 | - @Schema(title = "是否为 Update 更新操作的字段", required = true, example = "false") | 64 | + @Schema(description = "是否为 Update 更新操作的字段", required = true, example = "false") |
| 65 | @NotNull(message = "是否为 Update 更新操作的字段不能为空") | 65 | @NotNull(message = "是否为 Update 更新操作的字段不能为空") |
| 66 | private Boolean updateOperation; | 66 | private Boolean updateOperation; |
| 67 | 67 | ||
| 68 | - @Schema(title = "是否为 List 查询操作的字段", required = true, example = "true") | 68 | + @Schema(description = "是否为 List 查询操作的字段", required = true, example = "true") |
| 69 | @NotNull(message = "是否为 List 查询操作的字段不能为空") | 69 | @NotNull(message = "是否为 List 查询操作的字段不能为空") |
| 70 | private Boolean listOperation; | 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 | @NotNull(message = "List 查询操作的条件类型不能为空") | 73 | @NotNull(message = "List 查询操作的条件类型不能为空") |
| 74 | private String listOperationCondition; | 74 | private String listOperationCondition; |
| 75 | 75 | ||
| 76 | - @Schema(title = "是否为 List 查询操作的返回字段", required = true, example = "true") | 76 | + @Schema(description = "是否为 List 查询操作的返回字段", required = true, example = "true") |
| 77 | @NotNull(message = "是否为 List 查询操作的返回字段不能为空") | 77 | @NotNull(message = "是否为 List 查询操作的返回字段不能为空") |
| 78 | private Boolean listOperationResult; | 78 | private Boolean listOperationResult; |
| 79 | 79 | ||
| 80 | - @Schema(title = "显示类型", required = true, example = "input") | 80 | + @Schema(description = "显示类型", required = true, example = "input") |
| 81 | @NotNull(message = "显示类型不能为空") | 81 | @NotNull(message = "显示类型不能为空") |
| 82 | private String htmlType; | 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,16 +7,16 @@ import lombok.ToString; | ||
| 7 | 7 | ||
| 8 | import java.time.LocalDateTime; | 8 | import java.time.LocalDateTime; |
| 9 | 9 | ||
| 10 | -@Schema(title = "管理后台 - 代码生成字段定义 Response VO") | 10 | +@Schema(description = "管理后台 - 代码生成字段定义 Response VO") |
| 11 | @Data | 11 | @Data |
| 12 | @EqualsAndHashCode(callSuper = true) | 12 | @EqualsAndHashCode(callSuper = true) |
| 13 | @ToString(callSuper = true) | 13 | @ToString(callSuper = true) |
| 14 | public class CodegenColumnRespVO extends CodegenColumnBaseVO { | 14 | public class CodegenColumnRespVO extends CodegenColumnBaseVO { |
| 15 | 15 | ||
| 16 | - @Schema(title = "编号", required = true, example = "1") | 16 | + @Schema(description = "编号", required = true, example = "1") |
| 17 | private Long id; | 17 | private Long id; |
| 18 | 18 | ||
| 19 | - @Schema(title = "创建时间", required = true) | 19 | + @Schema(description = "创建时间", required = true) |
| 20 | private LocalDateTime createTime; | 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,52 +5,52 @@ import lombok.Data; | ||
| 5 | import javax.validation.constraints.NotNull; | 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 | @Data | 11 | @Data |
| 12 | public class CodegenTableBaseVO { | 12 | public class CodegenTableBaseVO { |
| 13 | 13 | ||
| 14 | - @Schema(title = "生成场景", required = true, example = "1", description = "参见 CodegenSceneEnum 枚举") | 14 | + @Schema(description = "生成场景,参见 CodegenSceneEnum 枚举", required = true, example = "1") |
| 15 | @NotNull(message = "导入类型不能为空") | 15 | @NotNull(message = "导入类型不能为空") |
| 16 | private Integer scene; | 16 | private Integer scene; |
| 17 | 17 | ||
| 18 | - @Schema(title = "表名称", required = true, example = "yudao") | 18 | + @Schema(description = "表名称", required = true, example = "yudao") |
| 19 | @NotNull(message = "表名称不能为空") | 19 | @NotNull(message = "表名称不能为空") |
| 20 | private String tableName; | 20 | private String tableName; |
| 21 | 21 | ||
| 22 | - @Schema(title = "表描述", required = true, example = "芋道") | 22 | + @Schema(description = "表描述", required = true, example = "芋道") |
| 23 | @NotNull(message = "表描述不能为空") | 23 | @NotNull(message = "表描述不能为空") |
| 24 | private String tableComment; | 24 | private String tableComment; |
| 25 | 25 | ||
| 26 | - @Schema(title = "备注", example = "我是备注") | 26 | + @Schema(description = "备注", example = "我是备注") |
| 27 | private String remark; | 27 | private String remark; |
| 28 | 28 | ||
| 29 | - @Schema(title = "模块名", required = true, example = "system") | 29 | + @Schema(description = "模块名", required = true, example = "system") |
| 30 | @NotNull(message = "模块名不能为空") | 30 | @NotNull(message = "模块名不能为空") |
| 31 | private String moduleName; | 31 | private String moduleName; |
| 32 | 32 | ||
| 33 | - @Schema(title = "业务名", required = true, example = "codegen") | 33 | + @Schema(description = "业务名", required = true, example = "codegen") |
| 34 | @NotNull(message = "业务名不能为空") | 34 | @NotNull(message = "业务名不能为空") |
| 35 | private String businessName; | 35 | private String businessName; |
| 36 | 36 | ||
| 37 | - @Schema(title = "类名称", required = true, example = "CodegenTable") | 37 | + @Schema(description = "类名称", required = true, example = "CodegenTable") |
| 38 | @NotNull(message = "类名称不能为空") | 38 | @NotNull(message = "类名称不能为空") |
| 39 | private String className; | 39 | private String className; |
| 40 | 40 | ||
| 41 | - @Schema(title = "类描述", required = true, example = "代码生成器的表定义") | 41 | + @Schema(description = "类描述", required = true, example = "代码生成器的表定义") |
| 42 | @NotNull(message = "类描述不能为空") | 42 | @NotNull(message = "类描述不能为空") |
| 43 | private String classComment; | 43 | private String classComment; |
| 44 | 44 | ||
| 45 | - @Schema(title = "作者", required = true, example = "芋道源码") | 45 | + @Schema(description = "作者", required = true, example = "芋道源码") |
| 46 | @NotNull(message = "作者不能为空") | 46 | @NotNull(message = "作者不能为空") |
| 47 | private String author; | 47 | private String author; |
| 48 | 48 | ||
| 49 | - @Schema(title = "模板类型", required = true, example = "1", description = "参见 CodegenTemplateTypeEnum 枚举") | 49 | + @Schema(description = "模板类型,参见 CodegenTemplateTypeEnum 枚举", required = true, example = "1") |
| 50 | @NotNull(message = "模板类型不能为空") | 50 | @NotNull(message = "模板类型不能为空") |
| 51 | private Integer templateType; | 51 | private Integer templateType; |
| 52 | 52 | ||
| 53 | - @Schema(title = "父菜单编号", example = "1024") | 53 | + @Schema(description = "父菜单编号", example = "1024") |
| 54 | private Long parentMenuId; | 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,19 +11,19 @@ import java.time.LocalDateTime; | ||
| 11 | 11 | ||
| 12 | import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; | 12 | import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; |
| 13 | 13 | ||
| 14 | -@Schema(title = "管理后台 - 表定义分页 Request VO") | 14 | +@Schema(description = "管理后台 - 表定义分页 Request VO") |
| 15 | @Data | 15 | @Data |
| 16 | @EqualsAndHashCode(callSuper = true) | 16 | @EqualsAndHashCode(callSuper = true) |
| 17 | @ToString(callSuper = true) | 17 | @ToString(callSuper = true) |
| 18 | public class CodegenTablePageReqVO extends PageParam { | 18 | public class CodegenTablePageReqVO extends PageParam { |
| 19 | 19 | ||
| 20 | - @Schema(title = "表名称", example = "yudao", description = "模糊匹配") | 20 | + @Schema(description = "表名称,模糊匹配", example = "yudao") |
| 21 | private String tableName; | 21 | private String tableName; |
| 22 | 22 | ||
| 23 | - @Schema(title = "表描述", example = "芋道", description = "模糊匹配") | 23 | + @Schema(description = "表描述,模糊匹配", example = "芋道") |
| 24 | private String tableComment; | 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 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) | 27 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
| 28 | private LocalDateTime[] createTime; | 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,22 +7,22 @@ import lombok.ToString; | ||
| 7 | 7 | ||
| 8 | import java.time.LocalDateTime; | 8 | import java.time.LocalDateTime; |
| 9 | 9 | ||
| 10 | -@Schema(title = "管理后台 - 代码生成表定义 Response VO") | 10 | +@Schema(description = "管理后台 - 代码生成表定义 Response VO") |
| 11 | @Data | 11 | @Data |
| 12 | @EqualsAndHashCode(callSuper = true) | 12 | @EqualsAndHashCode(callSuper = true) |
| 13 | @ToString(callSuper = true) | 13 | @ToString(callSuper = true) |
| 14 | public class CodegenTableRespVO extends CodegenTableBaseVO { | 14 | public class CodegenTableRespVO extends CodegenTableBaseVO { |
| 15 | 15 | ||
| 16 | - @Schema(title = "编号", required = true, example = "1") | 16 | + @Schema(description = "编号", required = true, example = "1") |
| 17 | private Long id; | 17 | private Long id; |
| 18 | 18 | ||
| 19 | - @Schema(title = "主键编号", required = true, example = "1024") | 19 | + @Schema(description = "主键编号", required = true, example = "1024") |
| 20 | private Integer dataSourceConfigId; | 20 | private Integer dataSourceConfigId; |
| 21 | 21 | ||
| 22 | - @Schema(title = "创建时间", required = true) | 22 | + @Schema(description = "创建时间", required = true) |
| 23 | private LocalDateTime createTime; | 23 | private LocalDateTime createTime; |
| 24 | 24 | ||
| 25 | - @Schema(title = "更新时间", required = true) | 25 | + @Schema(description = "更新时间", required = true) |
| 26 | private LocalDateTime updateTime; | 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,14 +3,14 @@ package cn.iocoder.yudao.module.infra.controller.admin.codegen.vo.table; | ||
| 3 | import io.swagger.v3.oas.annotations.media.Schema; | 3 | import io.swagger.v3.oas.annotations.media.Schema; |
| 4 | import lombok.Data; | 4 | import lombok.Data; |
| 5 | 5 | ||
| 6 | -@Schema(title = "管理后台 - 数据库的表定义 Response VO") | 6 | +@Schema(description = "管理后台 - 数据库的表定义 Response VO") |
| 7 | @Data | 7 | @Data |
| 8 | public class DatabaseTableRespVO { | 8 | public class DatabaseTableRespVO { |
| 9 | 9 | ||
| 10 | - @Schema(title = "表名称", required = true, example = "yuanma") | 10 | + @Schema(description = "表名称", required = true, example = "yuanma") |
| 11 | private String name; | 11 | private String name; |
| 12 | 12 | ||
| 13 | - @Schema(title = "表描述", required = true, example = "芋道源码") | 13 | + @Schema(description = "表描述", required = true, example = "芋道源码") |
| 14 | private String comment; | 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,26 +14,26 @@ import javax.validation.constraints.Size; | ||
| 14 | @Data | 14 | @Data |
| 15 | public class ConfigBaseVO { | 15 | public class ConfigBaseVO { |
| 16 | 16 | ||
| 17 | - @Schema(title = "参数分组", required = true, example = "biz") | 17 | + @Schema(description = "参数分组", required = true, example = "biz") |
| 18 | @NotEmpty(message = "参数分组不能为空") | 18 | @NotEmpty(message = "参数分组不能为空") |
| 19 | @Size(max = 50, message = "参数名称不能超过50个字符") | 19 | @Size(max = 50, message = "参数名称不能超过50个字符") |
| 20 | private String category; | 20 | private String category; |
| 21 | 21 | ||
| 22 | - @Schema(title = "参数名称", required = true, example = "数据库名") | 22 | + @Schema(description = "参数名称", required = true, example = "数据库名") |
| 23 | @NotBlank(message = "参数名称不能为空") | 23 | @NotBlank(message = "参数名称不能为空") |
| 24 | @Size(max = 100, message = "参数名称不能超过100个字符") | 24 | @Size(max = 100, message = "参数名称不能超过100个字符") |
| 25 | private String name; | 25 | private String name; |
| 26 | 26 | ||
| 27 | - @Schema(title = "参数键值", required = true, example = "1024") | 27 | + @Schema(description = "参数键值", required = true, example = "1024") |
| 28 | @NotBlank(message = "参数键值不能为空") | 28 | @NotBlank(message = "参数键值不能为空") |
| 29 | @Size(max = 500, message = "参数键值长度不能超过500个字符") | 29 | @Size(max = 500, message = "参数键值长度不能超过500个字符") |
| 30 | private String value; | 30 | private String value; |
| 31 | 31 | ||
| 32 | - @Schema(title = "是否敏感", required = true, example = "true") | 32 | + @Schema(description = "是否敏感", required = true, example = "true") |
| 33 | @NotNull(message = "是否敏感不能为空") | 33 | @NotNull(message = "是否敏感不能为空") |
| 34 | private Boolean visible; | 34 | private Boolean visible; |
| 35 | 35 | ||
| 36 | - @Schema(title = "备注", example = "备注一下很帅气!") | 36 | + @Schema(description = "备注", example = "备注一下很帅气!") |
| 37 | private String remark; | 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,12 +7,12 @@ import lombok.EqualsAndHashCode; | ||
| 7 | import javax.validation.constraints.NotBlank; | 7 | import javax.validation.constraints.NotBlank; |
| 8 | import javax.validation.constraints.Size; | 8 | import javax.validation.constraints.Size; |
| 9 | 9 | ||
| 10 | -@Schema(title = "管理后台 - 参数配置创建 Request VO") | 10 | +@Schema(description = "管理后台 - 参数配置创建 Request VO") |
| 11 | @Data | 11 | @Data |
| 12 | @EqualsAndHashCode(callSuper = true) | 12 | @EqualsAndHashCode(callSuper = true) |
| 13 | public class ConfigCreateReqVO extends ConfigBaseVO { | 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 | @NotBlank(message = "参数键名长度不能为空") | 16 | @NotBlank(message = "参数键名长度不能为空") |
| 17 | @Size(max = 100, message = "参数键名长度不能超过100个字符") | 17 | @Size(max = 100, message = "参数键名长度不能超过100个字符") |
| 18 | private String key; | 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,20 +8,20 @@ import java.time.LocalDateTime; | ||
| 8 | 8 | ||
| 9 | import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; | 9 | import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; |
| 10 | 10 | ||
| 11 | -@Schema(title = "管理后台 - 参数配置导出 Request VO") | 11 | +@Schema(description = "管理后台 - 参数配置导出 Request VO") |
| 12 | @Data | 12 | @Data |
| 13 | public class ConfigExportReqVO { | 13 | public class ConfigExportReqVO { |
| 14 | 14 | ||
| 15 | - @Schema(title = "参数名称", example = "模糊匹配") | 15 | + @Schema(description = "参数名称", example = "模糊匹配") |
| 16 | private String name; | 16 | private String name; |
| 17 | 17 | ||
| 18 | - @Schema(title = "参数键名", example = "yunai.db.username", description = "模糊匹配") | 18 | + @Schema(description = "参数键名,模糊匹配", example = "yunai.db.username") |
| 19 | private String key; | 19 | private String key; |
| 20 | 20 | ||
| 21 | - @Schema(title = "参数类型", example = "1", description = "参见 SysConfigTypeEnum 枚举") | 21 | + @Schema(description = "参数类型,参见 SysConfigTypeEnum 枚举", example = "1") |
| 22 | private Integer type; | 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 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) | 25 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
| 26 | private LocalDateTime[] createTime; | 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,22 +11,22 @@ import java.time.LocalDateTime; | ||
| 11 | 11 | ||
| 12 | import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; | 12 | import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; |
| 13 | 13 | ||
| 14 | -@Schema(title = "管理后台 - 参数配置分页 Request VO") | 14 | +@Schema(description = "管理后台 - 参数配置分页 Request VO") |
| 15 | @Data | 15 | @Data |
| 16 | @EqualsAndHashCode(callSuper = true) | 16 | @EqualsAndHashCode(callSuper = true) |
| 17 | @ToString(callSuper = true) | 17 | @ToString(callSuper = true) |
| 18 | public class ConfigPageReqVO extends PageParam { | 18 | public class ConfigPageReqVO extends PageParam { |
| 19 | 19 | ||
| 20 | - @Schema(title = "数据源名称", example = "模糊匹配") | 20 | + @Schema(description = "数据源名称,模糊匹配", example = "名称") |
| 21 | private String name; | 21 | private String name; |
| 22 | 22 | ||
| 23 | - @Schema(title = "参数键名", example = "yunai.db.username", description = "模糊匹配") | 23 | + @Schema(description = "参数键名,模糊匹配", example = "yunai.db.username") |
| 24 | private String key; | 24 | private String key; |
| 25 | 25 | ||
| 26 | - @Schema(title = "参数类型", example = "1", description = "参见 SysConfigTypeEnum 枚举") | 26 | + @Schema(description = "参数类型,参见 SysConfigTypeEnum 枚举", example = "1") |
| 27 | private Integer type; | 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 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) | 30 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
| 31 | private LocalDateTime[] createTime; | 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,23 +8,23 @@ import javax.validation.constraints.NotBlank; | ||
| 8 | import javax.validation.constraints.Size; | 8 | import javax.validation.constraints.Size; |
| 9 | import java.time.LocalDateTime; | 9 | import java.time.LocalDateTime; |
| 10 | 10 | ||
| 11 | -@Schema(title = "管理后台 - 参数配置信息 Response VO") | 11 | +@Schema(description = "管理后台 - 参数配置信息 Response VO") |
| 12 | @Data | 12 | @Data |
| 13 | @EqualsAndHashCode(callSuper = true) | 13 | @EqualsAndHashCode(callSuper = true) |
| 14 | public class ConfigRespVO extends ConfigBaseVO { | 14 | public class ConfigRespVO extends ConfigBaseVO { |
| 15 | 15 | ||
| 16 | - @Schema(title = "参数配置序号", required = true, example = "1024") | 16 | + @Schema(description = "参数配置序号", required = true, example = "1024") |
| 17 | private Long id; | 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 | @NotBlank(message = "参数键名长度不能为空") | 20 | @NotBlank(message = "参数键名长度不能为空") |
| 21 | @Size(max = 100, message = "参数键名长度不能超过100个字符") | 21 | @Size(max = 100, message = "参数键名长度不能超过100个字符") |
| 22 | private String key; | 22 | private String key; |
| 23 | 23 | ||
| 24 | - @Schema(title = "参数类型", required = true, example = "1", description = "参见 SysConfigTypeEnum 枚举") | 24 | + @Schema(description = "参数类型,参见 SysConfigTypeEnum 枚举", required = true, example = "1") |
| 25 | private Integer type; | 25 | private Integer type; |
| 26 | 26 | ||
| 27 | - @Schema(title = "创建时间", required = true, example = "时间戳格式") | 27 | + @Schema(description = "创建时间", required = true, example = "时间戳格式") |
| 28 | private LocalDateTime createTime; | 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,13 +7,13 @@ import lombok.ToString; | ||
| 7 | 7 | ||
| 8 | import javax.validation.constraints.NotNull; | 8 | import javax.validation.constraints.NotNull; |
| 9 | 9 | ||
| 10 | -@Schema(title = "管理后台 - 参数配置创建 Request VO") | 10 | +@Schema(description = "管理后台 - 参数配置创建 Request VO") |
| 11 | @Data | 11 | @Data |
| 12 | @EqualsAndHashCode(callSuper = true) | 12 | @EqualsAndHashCode(callSuper = true) |
| 13 | @ToString(callSuper = true) | 13 | @ToString(callSuper = true) |
| 14 | public class ConfigUpdateReqVO extends ConfigBaseVO { | 14 | public class ConfigUpdateReqVO extends ConfigBaseVO { |
| 15 | 15 | ||
| 16 | - @Schema(title = "参数配置序号", required = true, example = "1024") | 16 | + @Schema(description = "参数配置序号", required = true, example = "1024") |
| 17 | @NotNull(message = "参数配置编号不能为空") | 17 | @NotNull(message = "参数配置编号不能为空") |
| 18 | private Long id; | 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,15 +10,15 @@ import javax.validation.constraints.*; | ||
| 10 | @Data | 10 | @Data |
| 11 | public class DataSourceConfigBaseVO { | 11 | public class DataSourceConfigBaseVO { |
| 12 | 12 | ||
| 13 | - @Schema(title = "数据源名称", required = true, example = "test") | 13 | + @Schema(description = "数据源名称", required = true, example = "test") |
| 14 | @NotNull(message = "数据源名称不能为空") | 14 | @NotNull(message = "数据源名称不能为空") |
| 15 | private String name; | 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 | @NotNull(message = "数据源连接不能为空") | 18 | @NotNull(message = "数据源连接不能为空") |
| 19 | private String url; | 19 | private String url; |
| 20 | 20 | ||
| 21 | - @Schema(title = "用户名", required = true, example = "root") | 21 | + @Schema(description = "用户名", required = true, example = "root") |
| 22 | @NotNull(message = "用户名不能为空") | 22 | @NotNull(message = "用户名不能为空") |
| 23 | private String username; | 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,13 +3,13 @@ import io.swagger.v3.oas.annotations.media.Schema; | ||
| 3 | import lombok.*; | 3 | import lombok.*; |
| 4 | import javax.validation.constraints.*; | 4 | import javax.validation.constraints.*; |
| 5 | 5 | ||
| 6 | -@Schema(title = "管理后台 - 数据源配置创建 Request VO") | 6 | +@Schema(description = "管理后台 - 数据源配置创建 Request VO") |
| 7 | @Data | 7 | @Data |
| 8 | @EqualsAndHashCode(callSuper = true) | 8 | @EqualsAndHashCode(callSuper = true) |
| 9 | @ToString(callSuper = true) | 9 | @ToString(callSuper = true) |
| 10 | public class DataSourceConfigCreateReqVO extends DataSourceConfigBaseVO { | 10 | public class DataSourceConfigCreateReqVO extends DataSourceConfigBaseVO { |
| 11 | 11 | ||
| 12 | - @Schema(title = "密码", required = true, example = "123456") | 12 | + @Schema(description = "密码", required = true, example = "123456") |
| 13 | @NotNull(message = "密码不能为空") | 13 | @NotNull(message = "密码不能为空") |
| 14 | private String password; | 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,16 +4,16 @@ import lombok.*; | ||
| 4 | 4 | ||
| 5 | import java.time.LocalDateTime; | 5 | import java.time.LocalDateTime; |
| 6 | 6 | ||
| 7 | -@Schema(title = "管理后台 - 数据源配置 Response VO") | 7 | +@Schema(description = "管理后台 - 数据源配置 Response VO") |
| 8 | @Data | 8 | @Data |
| 9 | @EqualsAndHashCode(callSuper = true) | 9 | @EqualsAndHashCode(callSuper = true) |
| 10 | @ToString(callSuper = true) | 10 | @ToString(callSuper = true) |
| 11 | public class DataSourceConfigRespVO extends DataSourceConfigBaseVO { | 11 | public class DataSourceConfigRespVO extends DataSourceConfigBaseVO { |
| 12 | 12 | ||
| 13 | - @Schema(title = "主键编号", required = true, example = "1024") | 13 | + @Schema(description = "主键编号", required = true, example = "1024") |
| 14 | private Integer id; | 14 | private Integer id; |
| 15 | 15 | ||
| 16 | - @Schema(title = "创建时间", required = true) | 16 | + @Schema(description = "创建时间", required = true) |
| 17 | private LocalDateTime createTime; | 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,17 +3,17 @@ import io.swagger.v3.oas.annotations.media.Schema; | ||
| 3 | import lombok.*; | 3 | import lombok.*; |
| 4 | import javax.validation.constraints.*; | 4 | import javax.validation.constraints.*; |
| 5 | 5 | ||
| 6 | -@Schema(title = "管理后台 - 数据源配置更新 Request VO") | 6 | +@Schema(description = "管理后台 - 数据源配置更新 Request VO") |
| 7 | @Data | 7 | @Data |
| 8 | @EqualsAndHashCode(callSuper = true) | 8 | @EqualsAndHashCode(callSuper = true) |
| 9 | @ToString(callSuper = true) | 9 | @ToString(callSuper = true) |
| 10 | public class DataSourceConfigUpdateReqVO extends DataSourceConfigBaseVO { | 10 | public class DataSourceConfigUpdateReqVO extends DataSourceConfigBaseVO { |
| 11 | 11 | ||
| 12 | - @Schema(title = "主键编号", required = true, example = "1024") | 12 | + @Schema(description = "主键编号", required = true, example = "1024") |
| 13 | @NotNull(message = "主键编号不能为空") | 13 | @NotNull(message = "主键编号不能为空") |
| 14 | private Long id; | 14 | private Long id; |
| 15 | 15 | ||
| 16 | - @Schema(title = "密码", required = true, example = "123456") | 16 | + @Schema(description = "密码", required = true, example = "123456") |
| 17 | @NotNull(message = "密码不能为空") | 17 | @NotNull(message = "密码不能为空") |
| 18 | private String password; | 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 +11,11 @@ import javax.validation.constraints.NotNull; | ||
| 11 | @Data | 11 | @Data |
| 12 | public class FileConfigBaseVO { | 12 | public class FileConfigBaseVO { |
| 13 | 13 | ||
| 14 | - @Schema(title = "配置名", required = true, example = "S3 - 阿里云") | 14 | + @Schema(description = "配置名", required = true, example = "S3 - 阿里云") |
| 15 | @NotNull(message = "配置名不能为空") | 15 | @NotNull(message = "配置名不能为空") |
| 16 | private String name; | 16 | private String name; |
| 17 | 17 | ||
| 18 | - @Schema(title = "备注", example = "我是备注") | 18 | + @Schema(description = "备注", example = "我是备注") |
| 19 | private String remark; | 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,17 +8,17 @@ import lombok.ToString; | ||
| 8 | import javax.validation.constraints.NotNull; | 8 | import javax.validation.constraints.NotNull; |
| 9 | import java.util.Map; | 9 | import java.util.Map; |
| 10 | 10 | ||
| 11 | -@Schema(title = "管理后台 - 文件配置创建 Request VO") | 11 | +@Schema(description = "管理后台 - 文件配置创建 Request VO") |
| 12 | @Data | 12 | @Data |
| 13 | @EqualsAndHashCode(callSuper = true) | 13 | @EqualsAndHashCode(callSuper = true) |
| 14 | @ToString(callSuper = true) | 14 | @ToString(callSuper = true) |
| 15 | public class FileConfigCreateReqVO extends FileConfigBaseVO { | 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 | @NotNull(message = "存储器不能为空") | 18 | @NotNull(message = "存储器不能为空") |
| 19 | private Integer storage; | 19 | private Integer storage; |
| 20 | 20 | ||
| 21 | - @Schema(title = "存储配置", required = true, description = "配置是动态参数,所以使用 Map 接收") | 21 | + @Schema(description = "存储配置,配置是动态参数,所以使用 Map 接收", required = true) |
| 22 | @NotNull(message = "存储配置不能为空") | 22 | @NotNull(message = "存储配置不能为空") |
| 23 | private Map<String, Object> config; | 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,20 +11,20 @@ import java.time.LocalDateTime; | ||
| 11 | 11 | ||
| 12 | import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; | 12 | import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; |
| 13 | 13 | ||
| 14 | -@Schema(title = "管理后台 - 文件配置分页 Request VO") | 14 | +@Schema(description = "管理后台 - 文件配置分页 Request VO") |
| 15 | @Data | 15 | @Data |
| 16 | @EqualsAndHashCode(callSuper = true) | 16 | @EqualsAndHashCode(callSuper = true) |
| 17 | @ToString(callSuper = true) | 17 | @ToString(callSuper = true) |
| 18 | public class FileConfigPageReqVO extends PageParam { | 18 | public class FileConfigPageReqVO extends PageParam { |
| 19 | 19 | ||
| 20 | - @Schema(title = "配置名", example = "S3 - 阿里云") | 20 | + @Schema(description = "配置名", example = "S3 - 阿里云") |
| 21 | private String name; | 21 | private String name; |
| 22 | 22 | ||
| 23 | - @Schema(title = "存储器", example = "1") | 23 | + @Schema(description = "存储器", example = "1") |
| 24 | private Integer storage; | 24 | private Integer storage; |
| 25 | 25 | ||
| 26 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) | 26 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
| 27 | - @Schema(title = "创建时间") | 27 | + @Schema(description = "创建时间") |
| 28 | private LocalDateTime[] createTime; | 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,27 +9,27 @@ import lombok.ToString; | ||
| 9 | import javax.validation.constraints.NotNull; | 9 | import javax.validation.constraints.NotNull; |
| 10 | import java.time.LocalDateTime; | 10 | import java.time.LocalDateTime; |
| 11 | 11 | ||
| 12 | -@Schema(title = "管理后台 - 文件配置 Response VO") | 12 | +@Schema(description = "管理后台 - 文件配置 Response VO") |
| 13 | @Data | 13 | @Data |
| 14 | @EqualsAndHashCode(callSuper = true) | 14 | @EqualsAndHashCode(callSuper = true) |
| 15 | @ToString(callSuper = true) | 15 | @ToString(callSuper = true) |
| 16 | public class FileConfigRespVO extends FileConfigBaseVO { | 16 | public class FileConfigRespVO extends FileConfigBaseVO { |
| 17 | 17 | ||
| 18 | - @Schema(title = "编号", required = true, example = "1") | 18 | + @Schema(description = "编号", required = true, example = "1") |
| 19 | private Long id; | 19 | private Long id; |
| 20 | 20 | ||
| 21 | - @Schema(title = "存储器", required = true, example = "1", description = "参见 FileStorageEnum 枚举类") | 21 | + @Schema(description = "存储器,参见 FileStorageEnum 枚举类", required = true, example = "1") |
| 22 | @NotNull(message = "存储器不能为空") | 22 | @NotNull(message = "存储器不能为空") |
| 23 | private Integer storage; | 23 | private Integer storage; |
| 24 | 24 | ||
| 25 | - @Schema(title = "是否为主配置", required = true, example = "true") | 25 | + @Schema(description = "是否为主配置", required = true, example = "true") |
| 26 | @NotNull(message = "是否为主配置不能为空") | 26 | @NotNull(message = "是否为主配置不能为空") |
| 27 | private Boolean master; | 27 | private Boolean master; |
| 28 | 28 | ||
| 29 | - @Schema(title = "存储配置", required = true) | 29 | + @Schema(description = "存储配置", required = true) |
| 30 | private FileClientConfig config; | 30 | private FileClientConfig config; |
| 31 | 31 | ||
| 32 | - @Schema(title = "创建时间", required = true) | 32 | + @Schema(description = "创建时间", required = true) |
| 33 | private LocalDateTime createTime; | 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,17 +8,17 @@ import lombok.ToString; | ||
| 8 | import javax.validation.constraints.NotNull; | 8 | import javax.validation.constraints.NotNull; |
| 9 | import java.util.Map; | 9 | import java.util.Map; |
| 10 | 10 | ||
| 11 | -@Schema(title = "管理后台 - 文件配置更新 Request VO") | 11 | +@Schema(description = "管理后台 - 文件配置更新 Request VO") |
| 12 | @Data | 12 | @Data |
| 13 | @EqualsAndHashCode(callSuper = true) | 13 | @EqualsAndHashCode(callSuper = true) |
| 14 | @ToString(callSuper = true) | 14 | @ToString(callSuper = true) |
| 15 | public class FileConfigUpdateReqVO extends FileConfigBaseVO { | 15 | public class FileConfigUpdateReqVO extends FileConfigBaseVO { |
| 16 | 16 | ||
| 17 | - @Schema(title = "编号", required = true, example = "1") | 17 | + @Schema(description = "编号", required = true, example = "1") |
| 18 | @NotNull(message = "编号不能为空") | 18 | @NotNull(message = "编号不能为空") |
| 19 | private Long id; | 19 | private Long id; |
| 20 | 20 | ||
| 21 | - @Schema(title = "存储配置", required = true, description = "配置是动态参数,所以使用 Map 接收") | 21 | + @Schema(description = "存储配置,配置是动态参数,所以使用 Map 接收", required = true) |
| 22 | @NotNull(message = "存储配置不能为空") | 22 | @NotNull(message = "存储配置不能为空") |
| 23 | private Map<String, Object> config; | 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,20 +11,20 @@ import java.time.LocalDateTime; | ||
| 11 | 11 | ||
| 12 | import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; | 12 | import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; |
| 13 | 13 | ||
| 14 | -@Schema(title = "管理后台 - 文件分页 Request VO") | 14 | +@Schema(description = "管理后台 - 文件分页 Request VO") |
| 15 | @Data | 15 | @Data |
| 16 | @EqualsAndHashCode(callSuper = true) | 16 | @EqualsAndHashCode(callSuper = true) |
| 17 | @ToString(callSuper = true) | 17 | @ToString(callSuper = true) |
| 18 | public class FilePageReqVO extends PageParam { | 18 | public class FilePageReqVO extends PageParam { |
| 19 | 19 | ||
| 20 | - @Schema(title = "文件路径", example = "yudao", description = "模糊匹配") | 20 | + @Schema(description = "文件路径,模糊匹配", example = "yudao") |
| 21 | private String path; | 21 | private String path; |
| 22 | 22 | ||
| 23 | - @Schema(title = "文件类型", example = "application/octet-stream", description = "模糊匹配") | 23 | + @Schema(description = "文件类型,模糊匹配", example = "application/octet-stream") |
| 24 | private String type; | 24 | private String type; |
| 25 | 25 | ||
| 26 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) | 26 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
| 27 | - @Schema(title = "创建时间") | 27 | + @Schema(description = "创建时间") |
| 28 | private LocalDateTime[] createTime; | 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,32 +5,32 @@ import lombok.Data; | ||
| 5 | 5 | ||
| 6 | import java.time.LocalDateTime; | 6 | import java.time.LocalDateTime; |
| 7 | 7 | ||
| 8 | -@Schema(title = "管理后台 - 文件 Response VO", description = "不返回 content 字段,太大") | 8 | +@Schema(description = "管理后台 - 文件 Response VO,不返回 content 字段,太大") |
| 9 | @Data | 9 | @Data |
| 10 | public class FileRespVO { | 10 | public class FileRespVO { |
| 11 | 11 | ||
| 12 | - @Schema(title = "文件编号", required = true, example = "1024") | 12 | + @Schema(description = "文件编号", required = true, example = "1024") |
| 13 | private Long id; | 13 | private Long id; |
| 14 | 14 | ||
| 15 | - @Schema(title = "配置编号", required = true, example = "11") | 15 | + @Schema(description = "配置编号", required = true, example = "11") |
| 16 | private Long configId; | 16 | private Long configId; |
| 17 | 17 | ||
| 18 | - @Schema(title = "文件路径", required = true, example = "yudao.jpg") | 18 | + @Schema(description = "文件路径", required = true, example = "yudao.jpg") |
| 19 | private String path; | 19 | private String path; |
| 20 | 20 | ||
| 21 | - @Schema(title = "原文件名", required = true, example = "yudao.jpg") | 21 | + @Schema(description = "原文件名", required = true, example = "yudao.jpg") |
| 22 | private String name; | 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 | private String url; | 25 | private String url; |
| 26 | 26 | ||
| 27 | - @Schema(title = "文件MIME类型", example = "application/octet-stream") | 27 | + @Schema(description = "文件MIME类型", example = "application/octet-stream") |
| 28 | private String type; | 28 | private String type; |
| 29 | 29 | ||
| 30 | - @Schema(title = "文件大小", example = "2048", required = true) | 30 | + @Schema(description = "文件大小", example = "2048", required = true) |
| 31 | private Integer size; | 31 | private Integer size; |
| 32 | 32 | ||
| 33 | - @Schema(title = "创建时间", required = true) | 33 | + @Schema(description = "创建时间", required = true) |
| 34 | private LocalDateTime createTime; | 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,15 +6,15 @@ import org.springframework.web.multipart.MultipartFile; | ||
| 6 | 6 | ||
| 7 | import javax.validation.constraints.NotNull; | 7 | import javax.validation.constraints.NotNull; |
| 8 | 8 | ||
| 9 | -@Schema(title = "管理后台 - 上传文件 Request VO") | 9 | +@Schema(description = "管理后台 - 上传文件 Request VO") |
| 10 | @Data | 10 | @Data |
| 11 | public class FileUploadReqVO { | 11 | public class FileUploadReqVO { |
| 12 | 12 | ||
| 13 | - @Schema(title = "文件附件", required = true) | 13 | + @Schema(description = "文件附件", required = true) |
| 14 | @NotNull(message = "文件附件不能为空") | 14 | @NotNull(message = "文件附件不能为空") |
| 15 | private MultipartFile file; | 15 | private MultipartFile file; |
| 16 | 16 | ||
| 17 | - @Schema(title = "文件附件", example = "yudaoyuanma.png") | 17 | + @Schema(description = "文件附件", example = "yudaoyuanma.png") |
| 18 | private String path; | 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,26 +11,26 @@ import javax.validation.constraints.NotNull; | ||
| 11 | @Data | 11 | @Data |
| 12 | public class JobBaseVO { | 12 | public class JobBaseVO { |
| 13 | 13 | ||
| 14 | - @Schema(title = "任务名称", required = true, example = "测试任务") | 14 | + @Schema(description = "任务名称", required = true, example = "测试任务") |
| 15 | @NotNull(message = "任务名称不能为空") | 15 | @NotNull(message = "任务名称不能为空") |
| 16 | private String name; | 16 | private String name; |
| 17 | 17 | ||
| 18 | - @Schema(title = "处理器的参数", example = "yudao") | 18 | + @Schema(description = "处理器的参数", example = "yudao") |
| 19 | private String handlerParam; | 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 | @NotNull(message = "CRON 表达式不能为空") | 22 | @NotNull(message = "CRON 表达式不能为空") |
| 23 | private String cronExpression; | 23 | private String cronExpression; |
| 24 | 24 | ||
| 25 | - @Schema(title = "重试次数", required = true, example = "3") | 25 | + @Schema(description = "重试次数", required = true, example = "3") |
| 26 | @NotNull(message = "重试次数不能为空") | 26 | @NotNull(message = "重试次数不能为空") |
| 27 | private Integer retryCount; | 27 | private Integer retryCount; |
| 28 | 28 | ||
| 29 | - @Schema(title = "重试间隔", required = true, example = "1000") | 29 | + @Schema(description = "重试间隔", required = true, example = "1000") |
| 30 | @NotNull(message = "重试间隔不能为空") | 30 | @NotNull(message = "重试间隔不能为空") |
| 31 | private Integer retryInterval; | 31 | private Integer retryInterval; |
| 32 | 32 | ||
| 33 | - @Schema(title = "监控超时时间", example = "1000") | 33 | + @Schema(description = "监控超时时间", example = "1000") |
| 34 | private Integer monitorTimeout; | 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,13 +7,13 @@ import lombok.ToString; | ||
| 7 | 7 | ||
| 8 | import javax.validation.constraints.NotNull; | 8 | import javax.validation.constraints.NotNull; |
| 9 | 9 | ||
| 10 | -@Schema(title = "管理后台 - 定时任务创建 Request VO") | 10 | +@Schema(description = "管理后台 - 定时任务创建 Request VO") |
| 11 | @Data | 11 | @Data |
| 12 | @EqualsAndHashCode(callSuper = true) | 12 | @EqualsAndHashCode(callSuper = true) |
| 13 | @ToString(callSuper = true) | 13 | @ToString(callSuper = true) |
| 14 | public class JobCreateReqVO extends JobBaseVO { | 14 | public class JobCreateReqVO extends JobBaseVO { |
| 15 | 15 | ||
| 16 | - @Schema(title = "处理器的名字", required = true, example = "sysUserSessionTimeoutJob") | 16 | + @Schema(description = "处理器的名字", required = true, example = "sysUserSessionTimeoutJob") |
| 17 | @NotNull(message = "处理器的名字不能为空") | 17 | @NotNull(message = "处理器的名字不能为空") |
| 18 | private String handlerName; | 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,17 +3,17 @@ package cn.iocoder.yudao.module.infra.controller.admin.job.vo.job; | ||
| 3 | import io.swagger.v3.oas.annotations.media.Schema; | 3 | import io.swagger.v3.oas.annotations.media.Schema; |
| 4 | import lombok.Data; | 4 | import lombok.Data; |
| 5 | 5 | ||
| 6 | -@Schema(title = "管理后台 - 定时任务 Excel 导出 Request VO", description = "参数和 JobPageReqVO 是一致的") | 6 | +@Schema(description = "管理后台 - 定时任务 Excel 导出 Request VO-参数和 JobPageReqVO 是一致的") |
| 7 | @Data | 7 | @Data |
| 8 | public class JobExportReqVO { | 8 | public class JobExportReqVO { |
| 9 | 9 | ||
| 10 | - @Schema(title = "任务名称", example = "测试任务", description = "模糊匹配") | 10 | + @Schema(description = "任务名称-模糊匹配", example = "测试任务") |
| 11 | private String name; | 11 | private String name; |
| 12 | 12 | ||
| 13 | - @Schema(title = "任务状态", example = "1", description = "参见 JobStatusEnum 枚举") | 13 | + @Schema(description = "任务状态-参见 JobStatusEnum 枚举", example = "1") |
| 14 | private Integer status; | 14 | private Integer status; |
| 15 | 15 | ||
| 16 | - @Schema(title = "处理器的名字", example = "UserSessionTimeoutJob", description = "模糊匹配") | 16 | + @Schema(description = "处理器的名字-模糊匹配", example = "UserSessionTimeoutJob") |
| 17 | private String handlerName; | 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,19 +6,19 @@ import lombok.Data; | ||
| 6 | import lombok.EqualsAndHashCode; | 6 | import lombok.EqualsAndHashCode; |
| 7 | import lombok.ToString; | 7 | import lombok.ToString; |
| 8 | 8 | ||
| 9 | -@Schema(title = "管理后台 - 定时任务分页 Request VO") | 9 | +@Schema(description = "管理后台 - 定时任务分页 Request VO") |
| 10 | @Data | 10 | @Data |
| 11 | @EqualsAndHashCode(callSuper = true) | 11 | @EqualsAndHashCode(callSuper = true) |
| 12 | @ToString(callSuper = true) | 12 | @ToString(callSuper = true) |
| 13 | public class JobPageReqVO extends PageParam { | 13 | public class JobPageReqVO extends PageParam { |
| 14 | 14 | ||
| 15 | - @Schema(title = "任务名称", example = "测试任务", description = "模糊匹配") | 15 | + @Schema(description = "任务名称,模糊匹配", example = "测试任务") |
| 16 | private String name; | 16 | private String name; |
| 17 | 17 | ||
| 18 | - @Schema(title = "任务状态", example = "1", description = "参见 JobStatusEnum 枚举") | 18 | + @Schema(description = "任务状态,参见 JobStatusEnum 枚举", example = "1") |
| 19 | private Integer status; | 19 | private Integer status; |
| 20 | 20 | ||
| 21 | - @Schema(title = "处理器的名字", example = "sysUserSessionTimeoutJob", description = "模糊匹配") | 21 | + @Schema(description = "处理器的名字,模糊匹配", example = "sysUserSessionTimeoutJob") |
| 22 | private String handlerName; | 22 | private String handlerName; |
| 23 | 23 | ||
| 24 | } | 24 | } |
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/job/vo/job/JobRespVO.java
| @@ -8,23 +8,23 @@ import lombok.ToString; | @@ -8,23 +8,23 @@ import lombok.ToString; | ||
| 8 | import javax.validation.constraints.NotNull; | 8 | import javax.validation.constraints.NotNull; |
| 9 | import java.time.LocalDateTime; | 9 | import java.time.LocalDateTime; |
| 10 | 10 | ||
| 11 | -@Schema(title = "管理后台 - 定时任务 Response VO") | 11 | +@Schema(description = "管理后台 - 定时任务 Response VO") |
| 12 | @Data | 12 | @Data |
| 13 | @EqualsAndHashCode(callSuper = true) | 13 | @EqualsAndHashCode(callSuper = true) |
| 14 | @ToString(callSuper = true) | 14 | @ToString(callSuper = true) |
| 15 | public class JobRespVO extends JobBaseVO { | 15 | public class JobRespVO extends JobBaseVO { |
| 16 | 16 | ||
| 17 | - @Schema(title = "任务编号", required = true, example = "1024") | 17 | + @Schema(description = "任务编号", required = true, example = "1024") |
| 18 | private Long id; | 18 | private Long id; |
| 19 | 19 | ||
| 20 | - @Schema(title = "任务状态", required = true, example = "1") | 20 | + @Schema(description = "任务状态", required = true, example = "1") |
| 21 | private Integer status; | 21 | private Integer status; |
| 22 | 22 | ||
| 23 | - @Schema(title = "处理器的名字", required = true, example = "sysUserSessionTimeoutJob") | 23 | + @Schema(description = "处理器的名字", required = true, example = "sysUserSessionTimeoutJob") |
| 24 | @NotNull(message = "处理器的名字不能为空") | 24 | @NotNull(message = "处理器的名字不能为空") |
| 25 | private String handlerName; | 25 | private String handlerName; |
| 26 | 26 | ||
| 27 | - @Schema(title = "创建时间", required = true) | 27 | + @Schema(description = "创建时间", required = true) |
| 28 | private LocalDateTime createTime; | 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,13 +7,13 @@ import lombok.ToString; | ||
| 7 | 7 | ||
| 8 | import javax.validation.constraints.NotNull; | 8 | import javax.validation.constraints.NotNull; |
| 9 | 9 | ||
| 10 | -@Schema(title = "管理后台 - 定时任务更新 Request VO") | 10 | +@Schema(description = "管理后台 - 定时任务更新 Request VO") |
| 11 | @Data | 11 | @Data |
| 12 | @EqualsAndHashCode(callSuper = true) | 12 | @EqualsAndHashCode(callSuper = true) |
| 13 | @ToString(callSuper = true) | 13 | @ToString(callSuper = true) |
| 14 | public class JobUpdateReqVO extends JobBaseVO { | 14 | public class JobUpdateReqVO extends JobBaseVO { |
| 15 | 15 | ||
| 16 | - @Schema(title = "任务编号", required = true, example = "1024") | 16 | + @Schema(description = "任务编号", required = true, example = "1024") |
| 17 | @NotNull(message = "任务编号不能为空") | 17 | @NotNull(message = "任务编号不能为空") |
| 18 | private Long id; | 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,38 +15,38 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_ | ||
| 15 | @Data | 15 | @Data |
| 16 | public class JobLogBaseVO { | 16 | public class JobLogBaseVO { |
| 17 | 17 | ||
| 18 | - @Schema(title = "任务编号", required = true, example = "1024") | 18 | + @Schema(description = "任务编号", required = true, example = "1024") |
| 19 | @NotNull(message = "任务编号不能为空") | 19 | @NotNull(message = "任务编号不能为空") |
| 20 | private Long jobId; | 20 | private Long jobId; |
| 21 | 21 | ||
| 22 | - @Schema(title = "处理器的名字", required = true, example = "sysUserSessionTimeoutJob") | 22 | + @Schema(description = "处理器的名字", required = true, example = "sysUserSessionTimeoutJob") |
| 23 | @NotNull(message = "处理器的名字不能为空") | 23 | @NotNull(message = "处理器的名字不能为空") |
| 24 | private String handlerName; | 24 | private String handlerName; |
| 25 | 25 | ||
| 26 | - @Schema(title = "处理器的参数", example = "yudao") | 26 | + @Schema(description = "处理器的参数", example = "yudao") |
| 27 | private String handlerParam; | 27 | private String handlerParam; |
| 28 | 28 | ||
| 29 | - @Schema(title = "第几次执行", required = true, example = "1") | 29 | + @Schema(description = "第几次执行", required = true, example = "1") |
| 30 | @NotNull(message = "第几次执行不能为空") | 30 | @NotNull(message = "第几次执行不能为空") |
| 31 | private Integer executeIndex; | 31 | private Integer executeIndex; |
| 32 | 32 | ||
| 33 | - @Schema(title = "开始执行时间", required = true) | 33 | + @Schema(description = "开始执行时间", required = true) |
| 34 | @NotNull(message = "开始执行时间不能为空") | 34 | @NotNull(message = "开始执行时间不能为空") |
| 35 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) | 35 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
| 36 | private LocalDateTime beginTime; | 36 | private LocalDateTime beginTime; |
| 37 | 37 | ||
| 38 | - @Schema(title = "结束执行时间") | 38 | + @Schema(description = "结束执行时间") |
| 39 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) | 39 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
| 40 | private LocalDateTime endTime; | 40 | private LocalDateTime endTime; |
| 41 | 41 | ||
| 42 | - @Schema(title = "执行时长", example = "123") | 42 | + @Schema(description = "执行时长", example = "123") |
| 43 | private Integer duration; | 43 | private Integer duration; |
| 44 | 44 | ||
| 45 | - @Schema(title = "任务状态", required = true, example = "1", description = "参见 JobLogStatusEnum 枚举") | 45 | + @Schema(description = "任务状态,参见 JobLogStatusEnum 枚举", required = true, example = "1") |
| 46 | @NotNull(message = "任务状态不能为空") | 46 | @NotNull(message = "任务状态不能为空") |
| 47 | private Integer status; | 47 | private Integer status; |
| 48 | 48 | ||
| 49 | - @Schema(title = "结果数据", example = "执行成功") | 49 | + @Schema(description = "结果数据", example = "执行成功") |
| 50 | private String result; | 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,25 +8,25 @@ import java.time.LocalDateTime; | ||
| 8 | 8 | ||
| 9 | import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; | 9 | import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; |
| 10 | 10 | ||
| 11 | -@Schema(title = "管理后台 - 定时任务 Excel 导出 Request VO", description = "参数和 JobLogPageReqVO 是一致的") | 11 | +@Schema(description = "管理后台 - 定时任务 Excel 导出 Request VO,参数和 JobLogPageReqVO 是一致的") |
| 12 | @Data | 12 | @Data |
| 13 | public class JobLogExportReqVO { | 13 | public class JobLogExportReqVO { |
| 14 | 14 | ||
| 15 | - @Schema(title = "任务编号", example = "10") | 15 | + @Schema(description = "任务编号", example = "10") |
| 16 | private Long jobId; | 16 | private Long jobId; |
| 17 | 17 | ||
| 18 | - @Schema(title = "处理器的名字", description = "模糊匹配") | 18 | + @Schema(description = "处理器的名字,模糊匹配") |
| 19 | private String handlerName; | 19 | private String handlerName; |
| 20 | 20 | ||
| 21 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) | 21 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
| 22 | - @Schema(title = "开始执行时间") | 22 | + @Schema(description = "开始执行时间") |
| 23 | private LocalDateTime beginTime; | 23 | private LocalDateTime beginTime; |
| 24 | 24 | ||
| 25 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) | 25 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
| 26 | - @Schema(title = "结束执行时间") | 26 | + @Schema(description = "结束执行时间") |
| 27 | private LocalDateTime endTime; | 27 | private LocalDateTime endTime; |
| 28 | 28 | ||
| 29 | - @Schema(title = "任务状态", description = "参见 JobLogStatusEnum 枚举") | 29 | + @Schema(description = "任务状态,参见 JobLogStatusEnum 枚举") |
| 30 | private Integer status; | 30 | private Integer status; |
| 31 | 31 | ||
| 32 | } | 32 | } |
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/job/vo/log/JobLogPageReqVO.java
| @@ -11,27 +11,27 @@ import java.time.LocalDateTime; | @@ -11,27 +11,27 @@ import java.time.LocalDateTime; | ||
| 11 | 11 | ||
| 12 | import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; | 12 | import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; |
| 13 | 13 | ||
| 14 | -@Schema(title = "管理后台 - 定时任务日志分页 Request VO") | 14 | +@Schema(description = "管理后台 - 定时任务日志分页 Request VO") |
| 15 | @Data | 15 | @Data |
| 16 | @EqualsAndHashCode(callSuper = true) | 16 | @EqualsAndHashCode(callSuper = true) |
| 17 | @ToString(callSuper = true) | 17 | @ToString(callSuper = true) |
| 18 | public class JobLogPageReqVO extends PageParam { | 18 | public class JobLogPageReqVO extends PageParam { |
| 19 | 19 | ||
| 20 | - @Schema(title = "任务编号", example = "10") | 20 | + @Schema(description = "任务编号", example = "10") |
| 21 | private Long jobId; | 21 | private Long jobId; |
| 22 | 22 | ||
| 23 | - @Schema(title = "处理器的名字", description = "模糊匹配") | 23 | + @Schema(description = "处理器的名字,模糊匹配") |
| 24 | private String handlerName; | 24 | private String handlerName; |
| 25 | 25 | ||
| 26 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) | 26 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
| 27 | - @Schema(title = "开始执行时间") | 27 | + @Schema(description = "开始执行时间") |
| 28 | private LocalDateTime beginTime; | 28 | private LocalDateTime beginTime; |
| 29 | 29 | ||
| 30 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) | 30 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
| 31 | - @Schema(title = "结束执行时间") | 31 | + @Schema(description = "结束执行时间") |
| 32 | private LocalDateTime endTime; | 32 | private LocalDateTime endTime; |
| 33 | 33 | ||
| 34 | - @Schema(title = "任务状态", description = "参见 JobLogStatusEnum 枚举") | 34 | + @Schema(description = "任务状态,参见 JobLogStatusEnum 枚举") |
| 35 | private Integer status; | 35 | private Integer status; |
| 36 | 36 | ||
| 37 | } | 37 | } |
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/job/vo/log/JobLogRespVO.java
| @@ -7,16 +7,16 @@ import lombok.ToString; | @@ -7,16 +7,16 @@ import lombok.ToString; | ||
| 7 | 7 | ||
| 8 | import java.time.LocalDateTime; | 8 | import java.time.LocalDateTime; |
| 9 | 9 | ||
| 10 | -@Schema(title = "管理后台 - 定时任务日志 Response VO") | 10 | +@Schema(description = "管理后台 - 定时任务日志 Response VO") |
| 11 | @Data | 11 | @Data |
| 12 | @EqualsAndHashCode(callSuper = true) | 12 | @EqualsAndHashCode(callSuper = true) |
| 13 | @ToString(callSuper = true) | 13 | @ToString(callSuper = true) |
| 14 | public class JobLogRespVO extends JobLogBaseVO { | 14 | public class JobLogRespVO extends JobLogBaseVO { |
| 15 | 15 | ||
| 16 | - @Schema(title = "日志编号", required = true, example = "1024") | 16 | + @Schema(description = "日志编号", required = true, example = "1024") |
| 17 | private Long id; | 17 | private Long id; |
| 18 | 18 | ||
| 19 | - @Schema(title = "创建时间", required = true) | 19 | + @Schema(description = "创建时间", required = true) |
| 20 | private LocalDateTime createTime; | 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,60 +15,60 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_ | ||
| 15 | @Data | 15 | @Data |
| 16 | public class ApiAccessLogBaseVO { | 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 | @NotNull(message = "链路追踪编号不能为空") | 19 | @NotNull(message = "链路追踪编号不能为空") |
| 20 | private String traceId; | 20 | private String traceId; |
| 21 | 21 | ||
| 22 | - @Schema(title = "用户编号", required = true, example = "666") | 22 | + @Schema(description = "用户编号", required = true, example = "666") |
| 23 | @NotNull(message = "用户编号不能为空") | 23 | @NotNull(message = "用户编号不能为空") |
| 24 | private Long userId; | 24 | private Long userId; |
| 25 | 25 | ||
| 26 | - @Schema(title = "用户类型", required = true, example = "2", description = "参见 UserTypeEnum 枚举") | 26 | + @Schema(description = "用户类型,参见 UserTypeEnum 枚举", required = true, example = "2") |
| 27 | @NotNull(message = "用户类型不能为空") | 27 | @NotNull(message = "用户类型不能为空") |
| 28 | private Integer userType; | 28 | private Integer userType; |
| 29 | 29 | ||
| 30 | - @Schema(title = "应用名", required = true, example = "dashboard") | 30 | + @Schema(description = "应用名", required = true, example = "dashboard") |
| 31 | @NotNull(message = "应用名不能为空") | 31 | @NotNull(message = "应用名不能为空") |
| 32 | private String applicationName; | 32 | private String applicationName; |
| 33 | 33 | ||
| 34 | - @Schema(title = "请求方法名", required = true, example = "GET") | 34 | + @Schema(description = "请求方法名", required = true, example = "GET") |
| 35 | @NotNull(message = "请求方法名不能为空") | 35 | @NotNull(message = "请求方法名不能为空") |
| 36 | private String requestMethod; | 36 | private String requestMethod; |
| 37 | 37 | ||
| 38 | - @Schema(title = "请求地址", required = true, example = "/xxx/yyy") | 38 | + @Schema(description = "请求地址", required = true, example = "/xxx/yyy") |
| 39 | @NotNull(message = "请求地址不能为空") | 39 | @NotNull(message = "请求地址不能为空") |
| 40 | private String requestUrl; | 40 | private String requestUrl; |
| 41 | 41 | ||
| 42 | - @Schema(title = "请求参数") | 42 | + @Schema(description = "请求参数") |
| 43 | private String requestParams; | 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 | @NotNull(message = "用户 IP不能为空") | 46 | @NotNull(message = "用户 IP不能为空") |
| 47 | private String userIp; | 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 | @NotNull(message = "浏览器 UA不能为空") | 50 | @NotNull(message = "浏览器 UA不能为空") |
| 51 | private String userAgent; | 51 | private String userAgent; |
| 52 | 52 | ||
| 53 | - @Schema(title = "开始请求时间", required = true) | 53 | + @Schema(description = "开始请求时间", required = true) |
| 54 | @NotNull(message = "开始请求时间不能为空") | 54 | @NotNull(message = "开始请求时间不能为空") |
| 55 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) | 55 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
| 56 | private LocalDateTime beginTime; | 56 | private LocalDateTime beginTime; |
| 57 | 57 | ||
| 58 | - @Schema(title = "结束请求时间", required = true) | 58 | + @Schema(description = "结束请求时间", required = true) |
| 59 | @NotNull(message = "结束请求时间不能为空") | 59 | @NotNull(message = "结束请求时间不能为空") |
| 60 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) | 60 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
| 61 | private LocalDateTime endTime; | 61 | private LocalDateTime endTime; |
| 62 | 62 | ||
| 63 | - @Schema(title = "执行时长", required = true, example = "100") | 63 | + @Schema(description = "执行时长", required = true, example = "100") |
| 64 | @NotNull(message = "执行时长不能为空") | 64 | @NotNull(message = "执行时长不能为空") |
| 65 | private Integer duration; | 65 | private Integer duration; |
| 66 | 66 | ||
| 67 | - @Schema(title = "结果码", required = true, example = "0") | 67 | + @Schema(description = "结果码", required = true, example = "0") |
| 68 | @NotNull(message = "结果码不能为空") | 68 | @NotNull(message = "结果码不能为空") |
| 69 | private Integer resultCode; | 69 | private Integer resultCode; |
| 70 | 70 | ||
| 71 | - @Schema(title = "结果提示", example = "芋道源码,牛逼!") | 71 | + @Schema(description = "结果提示", example = "芋道源码,牛逼!") |
| 72 | private String resultMsg; | 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,30 +8,30 @@ import java.time.LocalDateTime; | ||
| 8 | 8 | ||
| 9 | import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; | 9 | import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; |
| 10 | 10 | ||
| 11 | -@Schema(title = "管理后台 - API 访问日志 Excel 导出 Request VO", description = "参数和 ApiAccessLogPageReqVO 是一致的") | 11 | +@Schema(description = "管理后台 - API 访问日志 Excel 导出 Request VO,参数和 ApiAccessLogPageReqVO 是一致的") |
| 12 | @Data | 12 | @Data |
| 13 | public class ApiAccessLogExportReqVO { | 13 | public class ApiAccessLogExportReqVO { |
| 14 | 14 | ||
| 15 | - @Schema(title = "用户编号", example = "666") | 15 | + @Schema(description = "用户编号", example = "666") |
| 16 | private Long userId; | 16 | private Long userId; |
| 17 | 17 | ||
| 18 | - @Schema(title = "用户类型", example = "2") | 18 | + @Schema(description = "用户类型", example = "2") |
| 19 | private Integer userType; | 19 | private Integer userType; |
| 20 | 20 | ||
| 21 | - @Schema(title = "应用名", example = "dashboard") | 21 | + @Schema(description = "应用名", example = "dashboard") |
| 22 | private String applicationName; | 22 | private String applicationName; |
| 23 | 23 | ||
| 24 | - @Schema(title = "请求地址", example = "/xxx/yyy", description = "模糊匹配") | 24 | + @Schema(description = "请求地址,模糊匹配", example = "/xxx/yyy") |
| 25 | private String requestUrl; | 25 | private String requestUrl; |
| 26 | 26 | ||
| 27 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) | 27 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
| 28 | - @Schema(title = "开始请求时间") | 28 | + @Schema(description = "开始请求时间") |
| 29 | private LocalDateTime[] beginTime; | 29 | private LocalDateTime[] beginTime; |
| 30 | 30 | ||
| 31 | - @Schema(title = "执行时长", example = "100", description = "大于等于,单位:毫秒") | 31 | + @Schema(description = "执行时长,大于等于,单位:毫秒", example = "100") |
| 32 | private Integer duration; | 32 | private Integer duration; |
| 33 | 33 | ||
| 34 | - @Schema(title = "结果码", example = "0") | 34 | + @Schema(description = "结果码", example = "0") |
| 35 | private Integer resultCode; | 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,32 +11,32 @@ import java.time.LocalDateTime; | ||
| 11 | 11 | ||
| 12 | import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; | 12 | import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; |
| 13 | 13 | ||
| 14 | -@Schema(title = "管理后台 - API 访问日志分页 Request VO") | 14 | +@Schema(description = "管理后台 - API 访问日志分页 Request VO") |
| 15 | @Data | 15 | @Data |
| 16 | @EqualsAndHashCode(callSuper = true) | 16 | @EqualsAndHashCode(callSuper = true) |
| 17 | @ToString(callSuper = true) | 17 | @ToString(callSuper = true) |
| 18 | public class ApiAccessLogPageReqVO extends PageParam { | 18 | public class ApiAccessLogPageReqVO extends PageParam { |
| 19 | 19 | ||
| 20 | - @Schema(title = "用户编号", example = "666") | 20 | + @Schema(description = "用户编号", example = "666") |
| 21 | private Long userId; | 21 | private Long userId; |
| 22 | 22 | ||
| 23 | - @Schema(title = "用户类型", example = "2") | 23 | + @Schema(description = "用户类型", example = "2") |
| 24 | private Integer userType; | 24 | private Integer userType; |
| 25 | 25 | ||
| 26 | - @Schema(title = "应用名", example = "dashboard") | 26 | + @Schema(description = "应用名", example = "dashboard") |
| 27 | private String applicationName; | 27 | private String applicationName; |
| 28 | 28 | ||
| 29 | - @Schema(title = "请求地址", example = "/xxx/yyy", description = "模糊匹配") | 29 | + @Schema(description = "请求地址,模糊匹配", example = "/xxx/yyy") |
| 30 | private String requestUrl; | 30 | private String requestUrl; |
| 31 | 31 | ||
| 32 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) | 32 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
| 33 | - @Schema(title = "开始请求时间") | 33 | + @Schema(description = "开始请求时间") |
| 34 | private LocalDateTime[] beginTime; | 34 | private LocalDateTime[] beginTime; |
| 35 | 35 | ||
| 36 | - @Schema(title = "执行时长", example = "100", description = "大于等于,单位:毫秒") | 36 | + @Schema(description = "执行时长,大于等于,单位:毫秒", example = "100") |
| 37 | private Integer duration; | 37 | private Integer duration; |
| 38 | 38 | ||
| 39 | - @Schema(title = "结果码", example = "0") | 39 | + @Schema(description = "结果码", example = "0") |
| 40 | private Integer resultCode; | 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,16 +7,16 @@ import lombok.ToString; | ||
| 7 | 7 | ||
| 8 | import java.time.LocalDateTime; | 8 | import java.time.LocalDateTime; |
| 9 | 9 | ||
| 10 | -@Schema(title = "管理后台 - API 访问日志 Response VO") | 10 | +@Schema(description = "管理后台 - API 访问日志 Response VO") |
| 11 | @Data | 11 | @Data |
| 12 | @EqualsAndHashCode(callSuper = true) | 12 | @EqualsAndHashCode(callSuper = true) |
| 13 | @ToString(callSuper = true) | 13 | @ToString(callSuper = true) |
| 14 | public class ApiAccessLogRespVO extends ApiAccessLogBaseVO { | 14 | public class ApiAccessLogRespVO extends ApiAccessLogBaseVO { |
| 15 | 15 | ||
| 16 | - @Schema(title = "日志主键", required = true, example = "1024") | 16 | + @Schema(description = "日志主键", required = true, example = "1024") |
| 17 | private Long id; | 17 | private Long id; |
| 18 | 18 | ||
| 19 | - @Schema(title = "创建时间", required = true) | 19 | + @Schema(description = "创建时间", required = true) |
| 20 | private LocalDateTime createTime; | 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,80 +15,80 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_ | ||
| 15 | @Data | 15 | @Data |
| 16 | public class ApiErrorLogBaseVO { | 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 | @NotNull(message = "链路追踪编号不能为空") | 19 | @NotNull(message = "链路追踪编号不能为空") |
| 20 | private String traceId; | 20 | private String traceId; |
| 21 | 21 | ||
| 22 | - @Schema(title = "用户编号", required = true, example = "666") | 22 | + @Schema(description = "用户编号", required = true, example = "666") |
| 23 | @NotNull(message = "用户编号不能为空") | 23 | @NotNull(message = "用户编号不能为空") |
| 24 | private Integer userId; | 24 | private Integer userId; |
| 25 | 25 | ||
| 26 | - @Schema(title = "用户类型", required = true, example = "1") | 26 | + @Schema(description = "用户类型", required = true, example = "1") |
| 27 | @NotNull(message = "用户类型不能为空") | 27 | @NotNull(message = "用户类型不能为空") |
| 28 | private Integer userType; | 28 | private Integer userType; |
| 29 | 29 | ||
| 30 | - @Schema(title = "应用名", required = true, example = "dashboard") | 30 | + @Schema(description = "应用名", required = true, example = "dashboard") |
| 31 | @NotNull(message = "应用名不能为空") | 31 | @NotNull(message = "应用名不能为空") |
| 32 | private String applicationName; | 32 | private String applicationName; |
| 33 | 33 | ||
| 34 | - @Schema(title = "请求方法名", required = true, example = "GET") | 34 | + @Schema(description = "请求方法名", required = true, example = "GET") |
| 35 | @NotNull(message = "请求方法名不能为空") | 35 | @NotNull(message = "请求方法名不能为空") |
| 36 | private String requestMethod; | 36 | private String requestMethod; |
| 37 | 37 | ||
| 38 | - @Schema(title = "请求地址", required = true, example = "/xx/yy") | 38 | + @Schema(description = "请求地址", required = true, example = "/xx/yy") |
| 39 | @NotNull(message = "请求地址不能为空") | 39 | @NotNull(message = "请求地址不能为空") |
| 40 | private String requestUrl; | 40 | private String requestUrl; |
| 41 | 41 | ||
| 42 | - @Schema(title = "请求参数", required = true) | 42 | + @Schema(description = "请求参数", required = true) |
| 43 | @NotNull(message = "请求参数不能为空") | 43 | @NotNull(message = "请求参数不能为空") |
| 44 | private String requestParams; | 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 | @NotNull(message = "用户 IP不能为空") | 47 | @NotNull(message = "用户 IP不能为空") |
| 48 | private String userIp; | 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 | @NotNull(message = "浏览器 UA不能为空") | 51 | @NotNull(message = "浏览器 UA不能为空") |
| 52 | private String userAgent; | 52 | private String userAgent; |
| 53 | 53 | ||
| 54 | - @Schema(title = "异常发生时间", required = true) | 54 | + @Schema(description = "异常发生时间", required = true) |
| 55 | @NotNull(message = "异常发生时间不能为空") | 55 | @NotNull(message = "异常发生时间不能为空") |
| 56 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) | 56 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
| 57 | private LocalDateTime exceptionTime; | 57 | private LocalDateTime exceptionTime; |
| 58 | 58 | ||
| 59 | - @Schema(title = "异常名", required = true) | 59 | + @Schema(description = "异常名", required = true) |
| 60 | @NotNull(message = "异常名不能为空") | 60 | @NotNull(message = "异常名不能为空") |
| 61 | private String exceptionName; | 61 | private String exceptionName; |
| 62 | 62 | ||
| 63 | - @Schema(title = "异常导致的消息", required = true) | 63 | + @Schema(description = "异常导致的消息", required = true) |
| 64 | @NotNull(message = "异常导致的消息不能为空") | 64 | @NotNull(message = "异常导致的消息不能为空") |
| 65 | private String exceptionMessage; | 65 | private String exceptionMessage; |
| 66 | 66 | ||
| 67 | - @Schema(title = "异常导致的根消息", required = true) | 67 | + @Schema(description = "异常导致的根消息", required = true) |
| 68 | @NotNull(message = "异常导致的根消息不能为空") | 68 | @NotNull(message = "异常导致的根消息不能为空") |
| 69 | private String exceptionRootCauseMessage; | 69 | private String exceptionRootCauseMessage; |
| 70 | 70 | ||
| 71 | - @Schema(title = "异常的栈轨迹", required = true) | 71 | + @Schema(description = "异常的栈轨迹", required = true) |
| 72 | @NotNull(message = "异常的栈轨迹不能为空") | 72 | @NotNull(message = "异常的栈轨迹不能为空") |
| 73 | private String exceptionStackTrace; | 73 | private String exceptionStackTrace; |
| 74 | 74 | ||
| 75 | - @Schema(title = "异常发生的类全名", required = true) | 75 | + @Schema(description = "异常发生的类全名", required = true) |
| 76 | @NotNull(message = "异常发生的类全名不能为空") | 76 | @NotNull(message = "异常发生的类全名不能为空") |
| 77 | private String exceptionClassName; | 77 | private String exceptionClassName; |
| 78 | 78 | ||
| 79 | - @Schema(title = "异常发生的类文件", required = true) | 79 | + @Schema(description = "异常发生的类文件", required = true) |
| 80 | @NotNull(message = "异常发生的类文件不能为空") | 80 | @NotNull(message = "异常发生的类文件不能为空") |
| 81 | private String exceptionFileName; | 81 | private String exceptionFileName; |
| 82 | 82 | ||
| 83 | - @Schema(title = "异常发生的方法名", required = true) | 83 | + @Schema(description = "异常发生的方法名", required = true) |
| 84 | @NotNull(message = "异常发生的方法名不能为空") | 84 | @NotNull(message = "异常发生的方法名不能为空") |
| 85 | private String exceptionMethodName; | 85 | private String exceptionMethodName; |
| 86 | 86 | ||
| 87 | - @Schema(title = "异常发生的方法所在行", required = true) | 87 | + @Schema(description = "异常发生的方法所在行", required = true) |
| 88 | @NotNull(message = "异常发生的方法所在行不能为空") | 88 | @NotNull(message = "异常发生的方法所在行不能为空") |
| 89 | private Integer exceptionLineNumber; | 89 | private Integer exceptionLineNumber; |
| 90 | 90 | ||
| 91 | - @Schema(title = "处理状态", required = true, example = "0") | 91 | + @Schema(description = "处理状态", required = true, example = "0") |
| 92 | @NotNull(message = "处理状态不能为空") | 92 | @NotNull(message = "处理状态不能为空") |
| 93 | private Integer processStatus; | 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,27 +8,27 @@ import java.time.LocalDateTime; | ||
| 8 | 8 | ||
| 9 | import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; | 9 | import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; |
| 10 | 10 | ||
| 11 | -@Schema(title = "管理后台 - API 错误日志 Excel 导出 Request VO", description = "参数和 ApiErrorLogPageReqVO 是一致的") | 11 | +@Schema(description = "管理后台 - API 错误日志 Excel 导出 Request VO,参数和 ApiErrorLogPageReqVO 是一致的") |
| 12 | @Data | 12 | @Data |
| 13 | public class ApiErrorLogExportReqVO { | 13 | public class ApiErrorLogExportReqVO { |
| 14 | 14 | ||
| 15 | - @Schema(title = "用户编号", example = "666") | 15 | + @Schema(description = "用户编号", example = "666") |
| 16 | private Long userId; | 16 | private Long userId; |
| 17 | 17 | ||
| 18 | - @Schema(title = "用户类型", example = "1") | 18 | + @Schema(description = "用户类型", example = "1") |
| 19 | private Integer userType; | 19 | private Integer userType; |
| 20 | 20 | ||
| 21 | - @Schema(title = "应用名", example = "dashboard") | 21 | + @Schema(description = "应用名", example = "dashboard") |
| 22 | private String applicationName; | 22 | private String applicationName; |
| 23 | 23 | ||
| 24 | - @Schema(title = "请求地址", example = "/xx/yy") | 24 | + @Schema(description = "请求地址", example = "/xx/yy") |
| 25 | private String requestUrl; | 25 | private String requestUrl; |
| 26 | 26 | ||
| 27 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) | 27 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
| 28 | - @Schema(title = "异常发生时间") | 28 | + @Schema(description = "异常发生时间") |
| 29 | private LocalDateTime[] exceptionTime; | 29 | private LocalDateTime[] exceptionTime; |
| 30 | 30 | ||
| 31 | - @Schema(title = "处理状态", example = "0") | 31 | + @Schema(description = "处理状态", example = "0") |
| 32 | private Integer processStatus; | 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,29 +11,29 @@ import java.time.LocalDateTime; | ||
| 11 | 11 | ||
| 12 | import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; | 12 | import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; |
| 13 | 13 | ||
| 14 | -@Schema(title = "管理后台 - API 错误日志分页 Request VO") | 14 | +@Schema(description = "管理后台 - API 错误日志分页 Request VO") |
| 15 | @Data | 15 | @Data |
| 16 | @EqualsAndHashCode(callSuper = true) | 16 | @EqualsAndHashCode(callSuper = true) |
| 17 | @ToString(callSuper = true) | 17 | @ToString(callSuper = true) |
| 18 | public class ApiErrorLogPageReqVO extends PageParam { | 18 | public class ApiErrorLogPageReqVO extends PageParam { |
| 19 | 19 | ||
| 20 | - @Schema(title = "用户编号", example = "666") | 20 | + @Schema(description = "用户编号", example = "666") |
| 21 | private Long userId; | 21 | private Long userId; |
| 22 | 22 | ||
| 23 | - @Schema(title = "用户类型", example = "1") | 23 | + @Schema(description = "用户类型", example = "1") |
| 24 | private Integer userType; | 24 | private Integer userType; |
| 25 | 25 | ||
| 26 | - @Schema(title = "应用名", example = "dashboard") | 26 | + @Schema(description = "应用名", example = "dashboard") |
| 27 | private String applicationName; | 27 | private String applicationName; |
| 28 | 28 | ||
| 29 | - @Schema(title = "请求地址", example = "/xx/yy") | 29 | + @Schema(description = "请求地址", example = "/xx/yy") |
| 30 | private String requestUrl; | 30 | private String requestUrl; |
| 31 | 31 | ||
| 32 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) | 32 | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) |
| 33 | - @Schema(title = "异常发生时间") | 33 | + @Schema(description = "异常发生时间") |
| 34 | private LocalDateTime[] exceptionTime; | 34 | private LocalDateTime[] exceptionTime; |
| 35 | 35 | ||
| 36 | - @Schema(title = "处理状态", example = "0") | 36 | + @Schema(description = "处理状态", example = "0") |
| 37 | private Integer processStatus; | 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,22 +7,22 @@ import lombok.ToString; | ||
| 7 | 7 | ||
| 8 | import java.time.LocalDateTime; | 8 | import java.time.LocalDateTime; |
| 9 | 9 | ||
| 10 | -@Schema(title = "管理后台 - API 错误日志 Response VO") | 10 | +@Schema(description = "管理后台 - API 错误日志 Response VO") |
| 11 | @Data | 11 | @Data |
| 12 | @EqualsAndHashCode(callSuper = true) | 12 | @EqualsAndHashCode(callSuper = true) |
| 13 | @ToString(callSuper = true) | 13 | @ToString(callSuper = true) |
| 14 | public class ApiErrorLogRespVO extends ApiErrorLogBaseVO { | 14 | public class ApiErrorLogRespVO extends ApiErrorLogBaseVO { |
| 15 | 15 | ||
| 16 | - @Schema(title = "编号", required = true, example = "1024") | 16 | + @Schema(description = "编号", required = true, example = "1024") |
| 17 | private Integer id; | 17 | private Integer id; |
| 18 | 18 | ||
| 19 | - @Schema(title = "创建时间", required = true) | 19 | + @Schema(description = "创建时间", required = true) |
| 20 | private LocalDateTime createTime; | 20 | private LocalDateTime createTime; |
| 21 | 21 | ||
| 22 | - @Schema(title = "处理时间", required = true) | 22 | + @Schema(description = "处理时间", required = true) |
| 23 | private LocalDateTime processTime; | 23 | private LocalDateTime processTime; |
| 24 | 24 | ||
| 25 | - @Schema(title = "处理用户编号", example = "233") | 25 | + @Schema(description = "处理用户编号", example = "233") |
| 26 | private Integer processUserId; | 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,28 +8,28 @@ import lombok.Data; | ||
| 8 | 8 | ||
| 9 | import java.time.Duration; | 9 | import java.time.Duration; |
| 10 | 10 | ||
| 11 | -@Schema(title = "管理后台 - Redis Key 信息 Response VO") | 11 | +@Schema(description = "管理后台 - Redis Key 信息 Response VO") |
| 12 | @Data | 12 | @Data |
| 13 | @Builder | 13 | @Builder |
| 14 | @AllArgsConstructor | 14 | @AllArgsConstructor |
| 15 | public class RedisKeyDefineRespVO { | 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 | private String keyTemplate; | 18 | private String keyTemplate; |
| 19 | 19 | ||
| 20 | - @Schema(title = "Key 类型的枚举", required = true, example = "String") | 20 | + @Schema(description = "Key 类型的枚举", required = true, example = "String") |
| 21 | private RedisKeyDefine.KeyTypeEnum keyType; | 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 | private Class<?> valueType; | 24 | private Class<?> valueType; |
| 25 | 25 | ||
| 26 | - @Schema(title = "超时类型", required = true, example = "1") | 26 | + @Schema(description = "超时类型", required = true, example = "1") |
| 27 | private RedisKeyDefine.TimeoutTypeEnum timeoutType; | 27 | private RedisKeyDefine.TimeoutTypeEnum timeoutType; |
| 28 | 28 | ||
| 29 | - @Schema(title = "过期时间,单位:毫秒", required = true, example = "1024") | 29 | + @Schema(description = "过期时间,单位:毫秒", required = true, example = "1024") |
| 30 | private Duration timeout; | 30 | private Duration timeout; |
| 31 | 31 | ||
| 32 | - @Schema(title = "备注", required = true, example = "啦啦啦啦~") | 32 | + @Schema(description = "备注", required = true, example = "啦啦啦啦~") |
| 33 | private String memo; | 33 | private String memo; |
| 34 | 34 | ||
| 35 | } | 35 | } |