refactor: Schema 描述信息统一

This commit is contained in:
fit2-zhao 2023-08-10 16:39:02 +08:00 committed by 刘瑞斌
parent 2618c93cc0
commit b0e44cb2fb
207 changed files with 1308 additions and 1305 deletions

View File

@ -10,95 +10,95 @@ import lombok.Data;
@Data
public class ApiDefinition implements Serializable {
@Schema(title = "接口pk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "接口pk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_definition.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{api_definition.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
@Schema(title = "修改时间")
@Schema(description = "修改时间")
private Long updateTime;
@Schema(title = "修改人")
@Schema(description = "修改人")
private String updateUser;
@Schema(title = "删除人")
@Schema(description = "删除人")
private String deleteUser;
@Schema(title = "删除时间")
@Schema(description = "删除时间")
private Long deleteTime;
@Schema(title = "删除状态")
@Schema(description = "删除状态")
private Boolean deleted;
@Schema(title = "接口名称", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "接口名称", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_definition.name.not_blank}", groups = {Created.class})
@Size(min = 1, max = 255, message = "{api_definition.name.length_range}", groups = {Created.class, Updated.class})
private String name;
@Schema(title = "接口类型", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "接口类型", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_definition.method.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_definition.method.length_range}", groups = {Created.class, Updated.class})
private String method;
@Schema(title = "接口协议", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "接口协议", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_definition.protocol.not_blank}", groups = {Created.class})
@Size(min = 1, max = 20, message = "{api_definition.protocol.length_range}", groups = {Created.class, Updated.class})
private String protocol;
@Schema(title = "接口路径-只有HTTP协议有值")
@Schema(description = "接口路径-只有HTTP协议有值")
private String path;
@Schema(title = "模块全路径-用于导入处理")
@Schema(description = "模块全路径-用于导入处理")
private String modulePath;
@Schema(title = "接口状态/进行中/已完成", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "接口状态/进行中/已完成", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_definition.status.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_definition.status.length_range}", groups = {Created.class, Updated.class})
private String status;
@Schema(title = "模块fk")
@Schema(description = "模块fk")
private String moduleId;
@Schema(title = "自定义id")
@Schema(description = "自定义id")
private Integer num;
@Schema(title = "标签")
@Schema(description = "标签")
private String tags;
@Schema(title = "自定义排序", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "自定义排序", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{api_definition.pos.not_blank}", groups = {Created.class})
private Long pos;
@Schema(title = "是否启用同步")
@Schema(description = "是否启用同步")
private Boolean syncEnable;
@Schema(title = "同步开始时间")
@Schema(description = "同步开始时间")
private Long syncTime;
@Schema(title = "项目fk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "项目fk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_definition.project_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_definition.project_id.length_range}", groups = {Created.class, Updated.class})
private String projectId;
@Schema(title = "环境fk")
@Schema(description = "环境fk")
private String environmentId;
@Schema(title = "是否为最新版本 0:否1:是")
@Schema(description = "是否为最新版本 0:否1:是")
private Boolean latest;
@Schema(title = "版本fk")
@Schema(description = "版本fk")
private String versionId;
@Schema(title = "版本引用fk")
@Schema(description = "版本引用fk")
private String refId;
@Schema(title = "描述")
@Schema(description = "描述")
private String description;
private static final long serialVersionUID = 1L;

View File

@ -10,18 +10,18 @@ import lombok.Data;
@Data
public class ApiDefinitionBlob implements Serializable {
@Schema(title = "接口fk/ 一对一关系", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "接口fk/ 一对一关系", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_definition_blob.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{api_definition_blob.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "请求内容")
@Schema(description = "请求内容")
private byte[] request;
@Schema(title = "响应内容")
@Schema(description = "响应内容")
private byte[] response;
@Schema(title = "备注")
@Schema(description = "备注")
private byte[] remark;
private static final long serialVersionUID = 1L;

View File

@ -8,12 +8,12 @@ import lombok.Data;
@Data
public class ApiDefinitionFollower implements Serializable {
@Schema(title = "接口fk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "接口fk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_definition_follower.api_definition_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_definition_follower.api_definition_id.length_range}", groups = {Created.class, Updated.class})
private String apiDefinitionId;
@Schema(title = "关注人/用户fk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "关注人/用户fk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_definition_follower.user_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_definition_follower.user_id.length_range}", groups = {Created.class, Updated.class})
private String userId;

View File

@ -12,49 +12,49 @@ import java.io.Serializable;
@Data
public class ApiDefinitionMock implements Serializable {
@Schema(title = "mock pk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "mock pk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_definition_mock.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{api_definition_mock.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "接口路径")
@Schema(description = "接口路径")
private String apiPath;
@Schema(title = "接口类型")
@Schema(description = "接口类型")
private String apiMethod;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "修改时间")
@Schema(description = "修改时间")
private Long updateTime;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
@Schema(title = "mock 名称", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "mock 名称", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_definition_mock.name.not_blank}", groups = {Created.class})
@Size(min = 1, max = 200, message = "{api_definition_mock.name.length_range}", groups = {Created.class, Updated.class})
private String name;
@Schema(title = "自定义标签")
@Schema(description = "自定义标签")
private String tags;
@Schema(title = "启用/禁用", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "启用/禁用", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{api_definition_mock.enable.not_blank}", groups = {Created.class})
private Boolean enable;
@Schema(title = "mock编号", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "mock编号", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_definition_mock.expect_num.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_definition_mock.expect_num.length_range}", groups = {Created.class, Updated.class})
private String expectNum;
@Schema(title = "项目fk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "项目fk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_definition_mock.project_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_definition_mock.project_id.length_range}", groups = {Created.class, Updated.class})
private String projectId;
@Schema(title = "接口fk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "接口fk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_definition_mock.api_definition_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_definition_mock.api_definition_id.length_range}", groups = {Created.class, Updated.class})
private String apiDefinitionId;

View File

@ -11,15 +11,15 @@ import java.io.Serializable;
@Data
public class ApiDefinitionMockConfig implements Serializable {
@Schema(title = "接口mock pk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "接口mock pk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_definition_mock_config.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{api_definition_mock_config.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "请求内容")
@Schema(description = "请求内容")
private byte[] request;
@Schema(title = "响应内容")
@Schema(description = "响应内容")
private byte[] response;
private static final long serialVersionUID = 1L;

View File

@ -12,48 +12,48 @@ import java.io.Serializable;
@Data
public class ApiDefinitionModule implements Serializable {
@Schema(title = "接口模块pk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "接口模块pk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_definition_module.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{api_definition_module.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "修改时间")
@Schema(description = "修改时间")
private Long updateTime;
@Schema(title = "修改人")
@Schema(description = "修改人")
private String updateUser;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
@Schema(title = "模块名称", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "模块名称", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_definition_module.name.not_blank}", groups = {Created.class})
@Size(min = 1, max = 255, message = "{api_definition_module.name.length_range}", groups = {Created.class, Updated.class})
private String name;
@Schema(title = "协议", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "协议", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_definition_module.protocol.not_blank}", groups = {Created.class})
@Size(min = 1, max = 64, message = "{api_definition_module.protocol.length_range}", groups = {Created.class, Updated.class})
private String protocol;
@Schema(title = "父级fk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "父级fk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_definition_module.parent_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_definition_module.parent_id.length_range}", groups = {Created.class, Updated.class})
private String parentId;
@Schema(title = "项目fk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "项目fk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_definition_module.project_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_definition_module.project_id.length_range}", groups = {Created.class, Updated.class})
private String projectId;
@Schema(title = "树节点级别", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "树节点级别", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{api_definition_module.level.not_blank}", groups = {Created.class})
private Integer level;
@Schema(title = "排序", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{api_definition_module.pos.not_blank}", groups = {Created.class})
private Integer pos;

View File

@ -8,32 +8,32 @@ import lombok.Data;
@Data
public class ApiDefinitionSwagger implements Serializable {
@Schema(title = "主键", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_definition_swagger.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{api_definition_swagger.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "url地址", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "url地址", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_definition_swagger.swagger_url.not_blank}", groups = {Created.class})
@Size(min = 1, max = 500, message = "{api_definition_swagger.swagger_url.length_range}", groups = {Created.class, Updated.class})
private String swaggerUrl;
@Schema(title = "模块fk")
@Schema(description = "模块fk")
private String moduleId;
@Schema(title = "模块路径")
@Schema(description = "模块路径")
private String modulePath;
@Schema(title = "导入模式/覆盖/不覆盖")
@Schema(description = "导入模式/覆盖/不覆盖")
private Boolean mode;
@Schema(title = "项目fk")
@Schema(description = "项目fk")
private String projectId;
@Schema(title = "导入版本")
@Schema(description = "导入版本")
private String versionId;
@Schema(title = "鉴权配置信息")
@Schema(description = "鉴权配置信息")
private byte[] config;
private static final long serialVersionUID = 1L;

View File

@ -8,21 +8,21 @@ import lombok.Data;
@Data
public class ApiEnvironmentConfig implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_environment_config.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{api_environment_config.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "修改时间")
@Schema(description = "修改时间")
private Long updateTime;
@Schema(title = "用户fk")
@Schema(description = "用户fk")
private String createUser;
@Schema(title = "环境fk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "环境fk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_environment_config.environment_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_environment_config.environment_id.length_range}", groups = {Created.class, Updated.class})
private String environmentId;

View File

@ -8,77 +8,77 @@ import lombok.Data;
@Data
public class ApiReport implements Serializable {
@Schema(title = "接口结果报告pk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "接口结果报告pk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_report.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{api_report.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "接口报告名称", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "接口报告名称", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_report.name.not_blank}", groups = {Created.class})
@Size(min = 1, max = 200, message = "{api_report.name.length_range}", groups = {Created.class, Updated.class})
private String name;
@Schema(title = "资源fk/api_definition_id/api_test_case_id", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "资源fk/api_definition_id/api_test_case_id", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_report.resource_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_report.resource_id.length_range}", groups = {Created.class, Updated.class})
private String resourceId;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "修改时间")
@Schema(description = "修改时间")
private Long updateTime;
@Schema(title = "创建人fk")
@Schema(description = "创建人fk")
private String createUser;
@Schema(title = "修改人")
@Schema(description = "修改人")
private String updateUser;
@Schema(title = "删除状态", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "删除状态", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{api_report.deleted.not_blank}", groups = {Created.class})
private Boolean deleted;
@Schema(title = "结果状态", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "结果状态", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_report.status.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_report.status.length_range}", groups = {Created.class, Updated.class})
private String status;
@Schema(title = "接口开始执行时间")
@Schema(description = "接口开始执行时间")
private Long startTime;
@Schema(title = "接口执行结束时间")
@Schema(description = "接口执行结束时间")
private Long endTime;
@Schema(title = "执行模块/API/CASE/API_PLAN", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "执行模块/API/CASE/API_PLAN", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_report.run_mode.not_blank}", groups = {Created.class})
@Size(min = 1, max = 20, message = "{api_report.run_mode.length_range}", groups = {Created.class, Updated.class})
private String runMode;
@Schema(title = "资源池fk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "资源池fk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_report.pool_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_report.pool_id.length_range}", groups = {Created.class, Updated.class})
private String poolId;
@Schema(title = "触发模式/手动/批量/定时任务/JENKINS", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "触发模式/手动/批量/定时任务/JENKINS", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_report.trigger_mode.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_report.trigger_mode.length_range}", groups = {Created.class, Updated.class})
private String triggerMode;
@Schema(title = "版本fk")
@Schema(description = "版本fk")
private String versionId;
@Schema(title = "项目fk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "项目fk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_report.project_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_report.project_id.length_range}", groups = {Created.class, Updated.class})
private String projectId;
@Schema(title = "集成报告id/api_scenario_report_id", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "集成报告id/api_scenario_report_id", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_report.integrated_report_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_report.integrated_report_id.length_range}", groups = {Created.class, Updated.class})
private String integratedReportId;
@Schema(title = "是否为集成报告,默认否", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "是否为集成报告,默认否", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{api_report.integrated.not_blank}", groups = {Created.class})
private Boolean integrated;

View File

@ -8,18 +8,18 @@ import lombok.Data;
@Data
public class ApiReportBlob implements Serializable {
@Schema(title = "接口报告fk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "接口报告fk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_report_blob.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{api_report_blob.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "结果内容详情")
@Schema(description = "结果内容详情")
private byte[] content;
@Schema(title = "执行环境配置")
@Schema(description = "执行环境配置")
private byte[] config;
@Schema(title = "执行过程日志")
@Schema(description = "执行过程日志")
private byte[] console;
private static final long serialVersionUID = 1L;

View File

@ -8,104 +8,104 @@ import lombok.Data;
@Data
public class ApiScenario implements Serializable {
@Schema(title = "", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{api_scenario.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "场景名称", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "场景名称", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario.name.not_blank}", groups = {Created.class})
@Size(min = 1, max = 255, message = "{api_scenario.name.length_range}", groups = {Created.class, Updated.class})
private String name;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "删除时间")
@Schema(description = "删除时间")
private Long deleteTime;
@Schema(title = "删除人")
@Schema(description = "删除人")
private String deleteUser;
@Schema(title = "更新人")
@Schema(description = "更新人")
private String updateUser;
@Schema(title = "更新时间")
@Schema(description = "更新时间")
private Long updateTime;
@Schema(title = "场景级别/P0/P1等", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "场景级别/P0/P1等", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario.level.not_blank}", groups = {Created.class})
@Size(min = 1, max = 10, message = "{api_scenario.level.length_range}", groups = {Created.class, Updated.class})
private String level;
@Schema(title = "场景状态/未规划/已完成 等", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "场景状态/未规划/已完成 等", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario.status.not_blank}", groups = {Created.class})
@Size(min = 1, max = 20, message = "{api_scenario.status.length_range}", groups = {Created.class, Updated.class})
private String status;
@Schema(title = "责任人/用户fk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "责任人/用户fk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario.principal.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_scenario.principal.length_range}", groups = {Created.class, Updated.class})
private String principal;
@Schema(title = "场景步骤总数", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "场景步骤总数", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{api_scenario.step_total.not_blank}", groups = {Created.class})
private Integer stepTotal;
@Schema(title = "通过率", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "通过率", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{api_scenario.pass_rate.not_blank}", groups = {Created.class})
private Long passRate;
@Schema(title = "最后一次执行的结果状态")
@Schema(description = "最后一次执行的结果状态")
private String reportStatus;
@Schema(title = "编号")
@Schema(description = "编号")
private Integer num;
@Schema(title = "自定义id")
@Schema(description = "自定义id")
private String customNum;
@Schema(title = "删除状态", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "删除状态", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{api_scenario.deleted.not_blank}", groups = {Created.class})
private Boolean deleted;
@Schema(title = "自定义排序", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "自定义排序", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{api_scenario.pos.not_blank}", groups = {Created.class})
private Long pos;
@Schema(title = "版本fk")
@Schema(description = "版本fk")
private String versionId;
@Schema(title = "引用资源fk")
@Schema(description = "引用资源fk")
private String refId;
@Schema(title = "是否为最新版本 0:否1:是")
@Schema(description = "是否为最新版本 0:否1:是")
private Boolean latest;
@Schema(title = "项目fk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "项目fk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario.project_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_scenario.project_id.length_range}", groups = {Created.class, Updated.class})
private String projectId;
@Schema(title = "场景模块fk")
@Schema(description = "场景模块fk")
private String apiScenarioModuleId;
@Schema(title = "最后一次执行的报告fk")
@Schema(description = "最后一次执行的报告fk")
private String reportId;
@Schema(title = "描述信息")
@Schema(description = "描述信息")
private String description;
@Schema(title = "模块全路径/用于导入模块创建")
@Schema(description = "模块全路径/用于导入模块创建")
private String modulePath;
@Schema(title = "标签")
@Schema(description = "标签")
private String tags;
@Schema(title = "是否为环境组", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "是否为环境组", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{api_scenario.grouped.not_blank}", groups = {Created.class})
private Boolean grouped;

View File

@ -8,12 +8,12 @@ import lombok.Data;
@Data
public class ApiScenarioBlob implements Serializable {
@Schema(title = "场景pk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "场景pk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario_blob.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{api_scenario_blob.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "场景步骤内容")
@Schema(description = "场景步骤内容")
private byte[] content;
private static final long serialVersionUID = 1L;

View File

@ -8,25 +8,25 @@ import lombok.Data;
@Data
public class ApiScenarioEnvironment implements Serializable {
@Schema(title = "场景环境pk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "场景环境pk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario_environment.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{api_scenario_environment.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "场景fk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "场景fk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario_environment.api_scenario_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_scenario_environment.api_scenario_id.length_range}", groups = {Created.class, Updated.class})
private String apiScenarioId;
@Schema(title = "项目fk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "项目fk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario_environment.project_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_scenario_environment.project_id.length_range}", groups = {Created.class, Updated.class})
private String projectId;
@Schema(title = "环境fk")
@Schema(description = "环境fk")
private String environmentId;
@Schema(title = "环境组fk")
@Schema(description = "环境组fk")
private String environmentGroupId;
private static final long serialVersionUID = 1L;

View File

@ -8,12 +8,12 @@ import lombok.Data;
@Data
public class ApiScenarioFollower implements Serializable {
@Schema(title = "场景fk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "场景fk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario_follower.api_scenario_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_scenario_follower.api_scenario_id.length_range}", groups = {Created.class, Updated.class})
private String apiScenarioId;
@Schema(title = "关注人/用户fk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "关注人/用户fk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario_follower.user_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_scenario_follower.user_id.length_range}", groups = {Created.class, Updated.class})
private String userId;

View File

@ -8,42 +8,42 @@ import lombok.Data;
@Data
public class ApiScenarioModule implements Serializable {
@Schema(title = "场景模块pk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "场景模块pk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario_module.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{api_scenario_module.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "模块名称", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "模块名称", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario_module.name.not_blank}", groups = {Created.class})
@Size(min = 1, max = 255, message = "{api_scenario_module.name.length_range}", groups = {Created.class, Updated.class})
private String name;
@Schema(title = "模块级别", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "模块级别", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{api_scenario_module.level.not_blank}", groups = {Created.class})
private Integer level;
@Schema(title = "排序", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{api_scenario_module.pos.not_blank}", groups = {Created.class})
private Integer pos;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "更新时间")
@Schema(description = "更新时间")
private Long updateTime;
@Schema(title = "更新人")
@Schema(description = "更新人")
private String updateUser;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
@Schema(title = "项目fk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "项目fk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario_module.project_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_scenario_module.project_id.length_range}", groups = {Created.class, Updated.class})
private String projectId;
@Schema(title = "父级fk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "父级fk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario_module.parent_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_scenario_module.parent_id.length_range}", groups = {Created.class, Updated.class})
private String parentId;

View File

@ -8,31 +8,31 @@ import lombok.Data;
@Data
public class ApiScenarioReference implements Serializable {
@Schema(title = "引用关系pk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "引用关系pk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario_reference.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{api_scenario_reference.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "场景fk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "场景fk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario_reference.api_scenario_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_scenario_reference.api_scenario_id.length_range}", groups = {Created.class, Updated.class})
private String apiScenarioId;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
@Schema(title = "引用步骤fk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "引用步骤fk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario_reference.reference_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_scenario_reference.reference_id.length_range}", groups = {Created.class, Updated.class})
private String referenceId;
@Schema(title = "引用步骤类型/REF/COPY")
@Schema(description = "引用步骤类型/REF/COPY")
private String referenceType;
@Schema(title = "步骤类型/CASE/API")
@Schema(description = "步骤类型/CASE/API")
private String dataType;
private static final long serialVersionUID = 1L;

View File

@ -8,74 +8,74 @@ import lombok.Data;
@Data
public class ApiScenarioReport implements Serializable {
@Schema(title = "场景报告pk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "场景报告pk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario_report.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{api_scenario_report.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "报告名称", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "报告名称", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario_report.name.not_blank}", groups = {Created.class})
@Size(min = 1, max = 255, message = "{api_scenario_report.name.length_range}", groups = {Created.class, Updated.class})
private String name;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
@Schema(title = "删除时间")
@Schema(description = "删除时间")
private Long deleteTime;
@Schema(title = "删除人")
@Schema(description = "删除人")
private String deleteUser;
@Schema(title = "删除标识", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "删除标识", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{api_scenario_report.deleted.not_blank}", groups = {Created.class})
private Boolean deleted;
@Schema(title = "修改人")
@Schema(description = "修改人")
private String updateUser;
@Schema(title = "更新时间")
@Schema(description = "更新时间")
private Long updateTime;
@Schema(title = "通过率")
@Schema(description = "通过率")
private Long passRate;
@Schema(title = "报告状态/SUCCESS/ERROR", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "报告状态/SUCCESS/ERROR", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario_report.status.not_blank}", groups = {Created.class})
@Size(min = 1, max = 20, message = "{api_scenario_report.status.length_range}", groups = {Created.class, Updated.class})
private String status;
@Schema(title = "触发方式", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "触发方式", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario_report.trigger_mode.not_blank}", groups = {Created.class})
@Size(min = 1, max = 20, message = "{api_scenario_report.trigger_mode.length_range}", groups = {Created.class, Updated.class})
private String triggerMode;
@Schema(title = "执行模式", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "执行模式", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario_report.run_mode.not_blank}", groups = {Created.class})
@Size(min = 1, max = 20, message = "{api_scenario_report.run_mode.length_range}", groups = {Created.class, Updated.class})
private String runMode;
@Schema(title = "资源池", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "资源池", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario_report.pool_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_scenario_report.pool_id.length_range}", groups = {Created.class, Updated.class})
private String poolId;
@Schema(title = "版本fk")
@Schema(description = "版本fk")
private String versionId;
@Schema(title = "是否是集成报告", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "是否是集成报告", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{api_scenario_report.integrated.not_blank}", groups = {Created.class})
private Boolean integrated;
@Schema(title = "项目fk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "项目fk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario_report.project_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_scenario_report.project_id.length_range}", groups = {Created.class, Updated.class})
private String projectId;
@Schema(title = "场景fk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "场景fk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario_report.scenario_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_scenario_report.scenario_id.length_range}", groups = {Created.class, Updated.class})
private String scenarioId;

View File

@ -8,55 +8,55 @@ import lombok.Data;
@Data
public class ApiScenarioReportDetail implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario_report_detail.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{api_scenario_report_detail.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "报告fk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "报告fk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario_report_detail.report_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_scenario_report_detail.report_id.length_range}", groups = {Created.class, Updated.class})
private String reportId;
@Schema(title = "场景中各个步骤请求唯一标识", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "场景中各个步骤请求唯一标识", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario_report_detail.resource_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_scenario_report_detail.resource_id.length_range}", groups = {Created.class, Updated.class})
private String resourceId;
@Schema(title = "开始时间")
@Schema(description = "开始时间")
private Long startTime;
@Schema(title = "结果状态")
@Schema(description = "结果状态")
private String status;
@Schema(title = "单个请求步骤时间")
@Schema(description = "单个请求步骤时间")
private Long requestTime;
@Schema(title = "总断言数")
@Schema(description = "总断言数")
private Long assertionsTotal;
@Schema(title = "失败断言数")
@Schema(description = "失败断言数")
private Long passAssertionsTotal;
@Schema(title = "误报编号")
@Schema(description = "误报编号")
private String fakeCode;
@Schema(title = "请求名称")
@Schema(description = "请求名称")
private String requestName;
@Schema(title = "环境fk")
@Schema(description = "环境fk")
private String environmentId;
@Schema(title = "项目fk")
@Schema(description = "项目fk")
private String projectId;
@Schema(title = "失败总数")
@Schema(description = "失败总数")
private Integer errorTotal;
@Schema(title = "请求响应码")
@Schema(description = "请求响应码")
private String code;
@Schema(title = "执行结果")
@Schema(description = "执行结果")
private byte[] content;
private static final long serialVersionUID = 1L;

View File

@ -8,12 +8,12 @@ import lombok.Data;
@Data
public class ApiScenarioReportLog implements Serializable {
@Schema(title = "请求资源 id", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "请求资源 id", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario_report_log.report_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_scenario_report_log.report_id.length_range}", groups = {Created.class, Updated.class})
private String reportId;
@Schema(title = "执行日志")
@Schema(description = "执行日志")
private byte[] console;
private static final long serialVersionUID = 1L;

View File

@ -8,12 +8,12 @@ import lombok.Data;
@Data
public class ApiScenarioReportStructure implements Serializable {
@Schema(title = "请求资源 id", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "请求资源 id", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_scenario_report_structure.report_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_scenario_report_structure.report_id.length_range}", groups = {Created.class, Updated.class})
private String reportId;
@Schema(title = "资源步骤结构树")
@Schema(description = "资源步骤结构树")
private byte[] resourceTree;
private static final long serialVersionUID = 1L;

View File

@ -8,40 +8,40 @@ import lombok.Data;
@Data
public class ApiSyncConfig implements Serializable {
@Schema(title = "", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_sync_config.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{api_sync_config.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "API/CASE 来源fk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "API/CASE 来源fk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_sync_config.resource_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_sync_config.resource_id.length_range}", groups = {Created.class, Updated.class})
private String resourceId;
@Schema(title = "来源类型/API/CASE", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "来源类型/API/CASE", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_sync_config.resource_type.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_sync_config.resource_type.length_range}", groups = {Created.class, Updated.class})
private String resourceType;
@Schema(title = "是否隐藏")
@Schema(description = "是否隐藏")
private Boolean hide;
@Schema(title = "是否通知用例创建人", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "是否通知用例创建人", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{api_sync_config.notify_case_creator.not_blank}", groups = {Created.class})
private Boolean notifyCaseCreator;
@Schema(title = "是否通知场景创建人", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "是否通知场景创建人", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{api_sync_config.notify_scenario_creator.not_blank}", groups = {Created.class})
private Boolean notifyScenarioCreator;
@Schema(title = "是否同步用例", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "是否同步用例", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{api_sync_config.sync_enable.not_blank}", groups = {Created.class})
private Boolean syncEnable;
@Schema(title = "是否发送通知")
@Schema(description = "是否发送通知")
private Boolean noticeEnable;
@Schema(title = "同步规则")
@Schema(description = "同步规则")
private String ruleConfig;
private static final long serialVersionUID = 1L;

View File

@ -8,90 +8,90 @@ import lombok.Data;
@Data
public class ApiTestCase implements Serializable {
@Schema(title = "接口用例pk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "接口用例pk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_test_case.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{api_test_case.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "接口用例名称", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "接口用例名称", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_test_case.name.not_blank}", groups = {Created.class})
@Size(min = 1, max = 255, message = "{api_test_case.name.length_range}", groups = {Created.class, Updated.class})
private String name;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
@Schema(title = "更新时间")
@Schema(description = "更新时间")
private Long updateTime;
@Schema(title = "更新人")
@Schema(description = "更新人")
private String updateUser;
@Schema(title = "删除时间")
@Schema(description = "删除时间")
private Long deleteTime;
@Schema(title = "删除人")
@Schema(description = "删除人")
private String deleteUser;
@Schema(title = "删除标识", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "删除标识", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{api_test_case.deleted.not_blank}", groups = {Created.class})
private Boolean deleted;
@Schema(title = "用例等级", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "用例等级", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_test_case.priority.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_test_case.priority.length_range}", groups = {Created.class, Updated.class})
private String priority;
@Schema(title = "接口用例编号id")
@Schema(description = "接口用例编号id")
private Integer num;
@Schema(title = "标签")
@Schema(description = "标签")
private String tags;
@Schema(title = "用例状态", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "用例状态", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_test_case.status.not_blank}", groups = {Created.class})
@Size(min = 1, max = 20, message = "{api_test_case.status.length_range}", groups = {Created.class, Updated.class})
private String status;
@Schema(title = "最新执行结果状态")
@Schema(description = "最新执行结果状态")
private String apiReportStatus;
@Schema(title = "最后执行结果报告fk")
@Schema(description = "最后执行结果报告fk")
private String apiReportId;
@Schema(title = "自定义排序", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "自定义排序", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{api_test_case.pos.not_blank}", groups = {Created.class})
private Long pos;
@Schema(title = "是否开启同步", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "是否开启同步", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{api_test_case.sync_enable.not_blank}", groups = {Created.class})
private Boolean syncEnable;
@Schema(title = "需要同步的开始时间")
@Schema(description = "需要同步的开始时间")
private Long syncTime;
@Schema(title = "项目fk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "项目fk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_test_case.project_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_test_case.project_id.length_range}", groups = {Created.class, Updated.class})
private String projectId;
@Schema(title = "接口fk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "接口fk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_test_case.api_definition_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_test_case.api_definition_id.length_range}", groups = {Created.class, Updated.class})
private String apiDefinitionId;
@Schema(title = "版本fk")
@Schema(description = "版本fk")
private String versionId;
@Schema(title = "责任人", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "责任人", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_test_case.principal.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_test_case.principal.length_range}", groups = {Created.class, Updated.class})
private String principal;
@Schema(title = "环境fk")
@Schema(description = "环境fk")
private String environmentId;
private static final long serialVersionUID = 1L;

View File

@ -8,12 +8,12 @@ import lombok.Data;
@Data
public class ApiTestCaseBlob implements Serializable {
@Schema(title = "接口用例pk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "接口用例pk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_test_case_blob.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{api_test_case_blob.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "请求内容")
@Schema(description = "请求内容")
private byte[] request;
private static final long serialVersionUID = 1L;

View File

@ -8,12 +8,12 @@ import lombok.Data;
@Data
public class ApiTestCaseFollower implements Serializable {
@Schema(title = "用例fk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "用例fk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_test_case_follower.case_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_test_case_follower.case_id.length_range}", groups = {Created.class, Updated.class})
private String caseId;
@Schema(title = "关注人/用户fk", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "关注人/用户fk", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_test_case_follower.user_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_test_case_follower.user_id.length_range}", groups = {Created.class, Updated.class})
private String userId;

View File

@ -10,45 +10,45 @@ import lombok.Data;
@Data
public class Bug implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{bug.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{bug.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "业务ID")
@Schema(description = "业务ID")
private Integer num;
@Schema(title = "缺陷标题", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "缺陷标题", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{bug.title.not_blank}", groups = {Created.class})
@Size(min = 1, max = 300, message = "{bug.title.length_range}", groups = {Created.class, Updated.class})
private String title;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "更新时间")
@Schema(description = "更新时间")
private Long updateTime;
@Schema(title = "缺陷平台", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "缺陷平台", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{bug.platform.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{bug.platform.length_range}", groups = {Created.class, Updated.class})
private String platform;
@Schema(title = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{bug.project_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{bug.project_id.length_range}", groups = {Created.class, Updated.class})
private String projectId;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
@Schema(title = "缺陷来源记录创建该缺陷的测试计划的ID")
@Schema(description = "缺陷来源记录创建该缺陷的测试计划的ID")
private String sourceId;
@Schema(title = "第三方平台状态")
@Schema(description = "第三方平台状态")
private String platformStatus;
@Schema(title = "第三方平台缺陷ID")
@Schema(description = "第三方平台缺陷ID")
private String platformId;
private static final long serialVersionUID = 1L;

View File

@ -8,12 +8,12 @@ import lombok.Data;
@Data
public class BugAttachment implements Serializable {
@Schema(title = "缺陷ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "缺陷ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{bug_attachment.bug_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{bug_attachment.bug_id.length_range}", groups = {Created.class, Updated.class})
private String bugId;
@Schema(title = "文件的ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "文件的ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{bug_attachment.file_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{bug_attachment.file_id.length_range}", groups = {Created.class, Updated.class})
private String fileId;

View File

@ -8,12 +8,12 @@ import lombok.Data;
@Data
public class BugBlob implements Serializable {
@Schema(title = "缺陷ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "缺陷ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{bug_blob.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{bug_blob.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "缺陷描述")
@Schema(description = "缺陷描述")
private String description;
private static final long serialVersionUID = 1L;

View File

@ -8,26 +8,26 @@ import lombok.Data;
@Data
public class BugComment implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{bug_comment.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 64, message = "{bug_comment.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "缺陷ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "缺陷ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{bug_comment.bug_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 64, message = "{bug_comment.bug_id.length_range}", groups = {Created.class, Updated.class})
private String bugId;
@Schema(title = "评论人")
@Schema(description = "评论人")
private String createUser;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "更新时间")
@Schema(description = "更新时间")
private Long updateTime;
@Schema(title = "内容", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "内容", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{bug_comment.description.not_blank}", groups = {Created.class})
@Size(min = 1, max = 65535, message = "{bug_comment.description.length_range}", groups = {Created.class, Updated.class})
private String description;

View File

@ -8,20 +8,20 @@ import lombok.Data;
@Data
public class BugCustomField implements Serializable {
@Schema(title = "资源ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "资源ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{bug_custom_field.bug_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{bug_custom_field.bug_id.length_range}", groups = {Created.class, Updated.class})
private String bugId;
@Schema(title = "字段ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "字段ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{bug_custom_field.field_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{bug_custom_field.field_id.length_range}", groups = {Created.class, Updated.class})
private String fieldId;
@Schema(title = "字段值")
@Schema(description = "字段值")
private String value;
@Schema(title = "文本类型字段值")
@Schema(description = "文本类型字段值")
private byte[] textValue;
private static final long serialVersionUID = 1L;

View File

@ -8,12 +8,12 @@ import lombok.Data;
@Data
public class BugFollower implements Serializable {
@Schema(title = "缺陷ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "缺陷ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{bug_follower.bug_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{bug_follower.bug_id.length_range}", groups = {Created.class, Updated.class})
private String bugId;
@Schema(title = "关注人ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "关注人ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{bug_follower.user_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{bug_follower.user_id.length_range}", groups = {Created.class, Updated.class})
private String userId;

View File

@ -8,35 +8,35 @@ import lombok.Data;
@Data
public class BugFunctionalCase implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{bug_functional_case.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{bug_functional_case.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "功能用例或测试计划功能用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "功能用例或测试计划功能用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{bug_functional_case.resource_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{bug_functional_case.resource_id.length_range}", groups = {Created.class, Updated.class})
private String resourceId;
@Schema(title = "缺陷ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "缺陷ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{bug_functional_case.bug_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{bug_functional_case.bug_id.length_range}", groups = {Created.class, Updated.class})
private String bugId;
@Schema(title = "关联的类型:关联功能用例/关联测试计划功能用例", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "关联的类型:关联功能用例/关联测试计划功能用例", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{bug_functional_case.ref_type.not_blank}", groups = {Created.class})
@Size(min = 1, max = 64, message = "{bug_functional_case.ref_type.length_range}", groups = {Created.class, Updated.class})
private String refType;
@Schema(title = "测试计划的用例所指向的用例的id", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试计划的用例所指向的用例的id", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{bug_functional_case.ref_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{bug_functional_case.ref_id.length_range}", groups = {Created.class, Updated.class})
private String refId;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "更新时间")
@Schema(description = "更新时间")
private Long updateTime;
private static final long serialVersionUID = 1L;

View File

@ -10,44 +10,44 @@ import lombok.Data;
@Data
public class CaseReview implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{case_review.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{case_review.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "名称", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{case_review.name.not_blank}", groups = {Created.class})
@Size(min = 1, max = 200, message = "{case_review.name.length_range}", groups = {Created.class, Updated.class})
private String name;
@Schema(title = "评审状态:未开始/进行中/已完成/已结束/已归档")
@Schema(description = "评审状态:未开始/进行中/已完成/已结束/已归档")
private String status;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "更新时间")
@Schema(description = "更新时间")
private Long updateTime;
@Schema(title = "评审结束时间", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "评审结束时间", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{case_review.end_time.not_blank}", groups = {Created.class})
private Long endTime;
@Schema(title = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{case_review.project_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{case_review.project_id.length_range}", groups = {Created.class, Updated.class})
private String projectId;
@Schema(title = "标签")
@Schema(description = "标签")
private String tags;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
@Schema(title = "评审规则:单人通过/全部通过")
@Schema(description = "评审规则:单人通过/全部通过")
private String reviewPassRule;
@Schema(title = "描述")
@Schema(description = "描述")
private String description;
private static final long serialVersionUID = 1L;

View File

@ -8,12 +8,12 @@ import lombok.Data;
@Data
public class CaseReviewFollower implements Serializable {
@Schema(title = "评审ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "评审ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{case_review_follower.review_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{case_review_follower.review_id.length_range}", groups = {Created.class, Updated.class})
private String reviewId;
@Schema(title = "关注人", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "关注人", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{case_review_follower.user_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{case_review_follower.user_id.length_range}", groups = {Created.class, Updated.class})
private String userId;

View File

@ -8,40 +8,40 @@ import lombok.Data;
@Data
public class CaseReviewFunctionalCase implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{case_review_functional_case.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{case_review_functional_case.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "评审ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "评审ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{case_review_functional_case.review_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{case_review_functional_case.review_id.length_range}", groups = {Created.class, Updated.class})
private String reviewId;
@Schema(title = "用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{case_review_functional_case.case_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{case_review_functional_case.case_id.length_range}", groups = {Created.class, Updated.class})
private String caseId;
@Schema(title = "评审状态:进行中/通过/不通过/重新提审", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "评审状态:进行中/通过/不通过/重新提审", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{case_review_functional_case.status.not_blank}", groups = {Created.class})
@Size(min = 1, max = 64, message = "{case_review_functional_case.status.length_range}", groups = {Created.class, Updated.class})
private String status;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "更新时间")
@Schema(description = "更新时间")
private Long updateTime;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
@Schema(title = "自定义排序间隔5000", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "自定义排序间隔5000", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{case_review_functional_case.pos.not_blank}", groups = {Created.class})
private Long pos;
@Schema(title = "关联的用例是否放入回收站", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "关联的用例是否放入回收站", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{case_review_functional_case.deleted.not_blank}", groups = {Created.class})
private Boolean deleted;

View File

@ -8,17 +8,17 @@ import lombok.Data;
@Data
public class CaseReviewFunctionalCaseUser implements Serializable {
@Schema(title = "功能用例和评审中间表的ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "功能用例和评审中间表的ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{case_review_functional_case_user.case_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{case_review_functional_case_user.case_id.length_range}", groups = {Created.class, Updated.class})
private String caseId;
@Schema(title = "评审ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "评审ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{case_review_functional_case_user.review_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{case_review_functional_case_user.review_id.length_range}", groups = {Created.class, Updated.class})
private String reviewId;
@Schema(title = "评审人ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "评审人ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{case_review_functional_case_user.user_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{case_review_functional_case_user.user_id.length_range}", groups = {Created.class, Updated.class})
private String userId;

View File

@ -8,12 +8,12 @@ import lombok.Data;
@Data
public class CaseReviewUser implements Serializable {
@Schema(title = "评审ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "评审ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{case_review_user.review_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{case_review_user.review_id.length_range}", groups = {Created.class, Updated.class})
private String reviewId;
@Schema(title = "评审人ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "评审人ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{case_review_user.user_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{case_review_user.user_id.length_range}", groups = {Created.class, Updated.class})
private String userId;

View File

@ -8,92 +8,92 @@ import lombok.Data;
@Data
public class FunctionalCase implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{functional_case.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "业务ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "业务ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{functional_case.num.not_blank}", groups = {Created.class})
private Integer num;
@Schema(title = "自定义业务ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "自定义业务ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case.custom_num.not_blank}", groups = {Created.class})
@Size(min = 1, max = 64, message = "{functional_case.custom_num.length_range}", groups = {Created.class, Updated.class})
private String customNum;
@Schema(title = "模块ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "模块ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case.module_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{functional_case.module_id.length_range}", groups = {Created.class, Updated.class})
private String moduleId;
@Schema(title = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case.project_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{functional_case.project_id.length_range}", groups = {Created.class, Updated.class})
private String projectId;
@Schema(title = "名称", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case.name.not_blank}", groups = {Created.class})
@Size(min = 1, max = 255, message = "{functional_case.name.length_range}", groups = {Created.class, Updated.class})
private String name;
@Schema(title = "评审状态:未开始/进行中/已完成/已结束", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "评审状态:未开始/进行中/已完成/已结束", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case.review_status.not_blank}", groups = {Created.class})
@Size(min = 1, max = 64, message = "{functional_case.review_status.length_range}", groups = {Created.class, Updated.class})
private String reviewStatus;
@Schema(title = "标签JSON)")
@Schema(description = "标签JSON)")
private String tags;
@Schema(title = "编辑模式:步骤模式/文本模式", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "编辑模式:步骤模式/文本模式", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case.step_model.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{functional_case.step_model.length_range}", groups = {Created.class, Updated.class})
private String stepModel;
@Schema(title = "自定义排序间隔5000", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "自定义排序间隔5000", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{functional_case.pos.not_blank}", groups = {Created.class})
private Long pos;
@Schema(title = "版本ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "版本ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case.version_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{functional_case.version_id.length_range}", groups = {Created.class, Updated.class})
private String versionId;
@Schema(title = "指向初始版本ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "指向初始版本ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case.ref_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{functional_case.ref_id.length_range}", groups = {Created.class, Updated.class})
private String refId;
@Schema(title = "最近的执行结果:未执行/通过/失败/阻塞/跳过", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "最近的执行结果:未执行/通过/失败/阻塞/跳过", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case.last_execute_result.not_blank}", groups = {Created.class})
@Size(min = 1, max = 64, message = "{functional_case.last_execute_result.length_range}", groups = {Created.class, Updated.class})
private String lastExecuteResult;
@Schema(title = "是否在回收站0-否1-是", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "是否在回收站0-否1-是", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{functional_case.deleted.not_blank}", groups = {Created.class})
private Boolean deleted;
@Schema(title = "是否是公共用例0-否1-是", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "是否是公共用例0-否1-是", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{functional_case.public_case.not_blank}", groups = {Created.class})
private Boolean publicCase;
@Schema(title = "是否为最新版本0-否1-是", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "是否为最新版本0-否1-是", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{functional_case.latest.not_blank}", groups = {Created.class})
private Boolean latest;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
@Schema(title = "删除人")
@Schema(description = "删除人")
private String deleteUser;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "更新时间")
@Schema(description = "更新时间")
private Long updateTime;
@Schema(title = "删除时间")
@Schema(description = "删除时间")
private Long deleteTime;
private static final long serialVersionUID = 1L;

View File

@ -8,12 +8,12 @@ import lombok.Data;
@Data
public class FunctionalCaseAttachment implements Serializable {
@Schema(title = "功能用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "功能用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case_attachment.functional_case_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{functional_case_attachment.functional_case_id.length_range}", groups = {Created.class, Updated.class})
private String functionalCaseId;
@Schema(title = "文件的ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "文件的ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case_attachment.file_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{functional_case_attachment.file_id.length_range}", groups = {Created.class, Updated.class})
private String fileId;

View File

@ -8,24 +8,24 @@ import lombok.Data;
@Data
public class FunctionalCaseBlob implements Serializable {
@Schema(title = "功能用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "功能用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case_blob.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{functional_case_blob.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "用例步骤JSON)step_model 为 Step 时启用")
@Schema(description = "用例步骤JSON)step_model 为 Step 时启用")
private String steps;
@Schema(title = "步骤描述step_model 为 Text 时启用")
@Schema(description = "步骤描述step_model 为 Text 时启用")
private String stepDescription;
@Schema(title = "预期结果step_model 为 Text 时启用")
@Schema(description = "预期结果step_model 为 Text 时启用")
private String expectedResult;
@Schema(title = "前置条件")
@Schema(description = "前置条件")
private String prerequisite;
@Schema(title = "备注")
@Schema(description = "备注")
private String description;
private static final long serialVersionUID = 1L;

View File

@ -8,37 +8,37 @@ import lombok.Data;
@Data
public class FunctionalCaseComment implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case_comment.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{functional_case_comment.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "功能用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "功能用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case_comment.case_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{functional_case_comment.case_id.length_range}", groups = {Created.class, Updated.class})
private String caseId;
@Schema(title = "评论人")
@Schema(description = "评论人")
private String createUser;
@Schema(title = "评论时添加的状态:通过/不通过/重新提审/通过标准变更标记/强制通过标记/强制不通过标记/状态变更标记")
@Schema(description = "评论时添加的状态:通过/不通过/重新提审/通过标准变更标记/强制通过标记/强制不通过标记/状态变更标记")
private String status;
@Schema(title = "评论类型:用例评论/测试计划用例评论/评审用例评论", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "评论类型:用例评论/测试计划用例评论/评审用例评论", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case_comment.type.not_blank}", groups = {Created.class})
@Size(min = 1, max = 64, message = "{functional_case_comment.type.length_range}", groups = {Created.class, Updated.class})
private String type;
@Schema(title = "当前评审所属的测试计划ID或评审ID")
@Schema(description = "当前评审所属的测试计划ID或评审ID")
private String belongId;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "更新时间")
@Schema(description = "更新时间")
private Long updateTime;
@Schema(title = "描述")
@Schema(description = "描述")
private String description;
private static final long serialVersionUID = 1L;

View File

@ -8,20 +8,20 @@ import lombok.Data;
@Data
public class FunctionalCaseCustomField implements Serializable {
@Schema(title = "资源ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "资源ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case_custom_field.case_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{functional_case_custom_field.case_id.length_range}", groups = {Created.class, Updated.class})
private String caseId;
@Schema(title = "字段ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "字段ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case_custom_field.field_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{functional_case_custom_field.field_id.length_range}", groups = {Created.class, Updated.class})
private String fieldId;
@Schema(title = "字段值")
@Schema(description = "字段值")
private String value;
@Schema(title = "")
@Schema(description = "")
private String textValue;
private static final long serialVersionUID = 1L;

View File

@ -8,12 +8,12 @@ import lombok.Data;
@Data
public class FunctionalCaseFollower implements Serializable {
@Schema(title = "功能用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "功能用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case_follower.case_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{functional_case_follower.case_id.length_range}", groups = {Created.class, Updated.class})
private String caseId;
@Schema(title = "关注人ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "关注人ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case_follower.user_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{functional_case_follower.user_id.length_range}", groups = {Created.class, Updated.class})
private String userId;

View File

@ -8,39 +8,39 @@ import lombok.Data;
@Data
public class FunctionalCaseModule implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case_module.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{functional_case_module.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case_module.project_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{functional_case_module.project_id.length_range}", groups = {Created.class, Updated.class})
private String projectId;
@Schema(title = "名称", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case_module.name.not_blank}", groups = {Created.class})
@Size(min = 1, max = 100, message = "{functional_case_module.name.length_range}", groups = {Created.class, Updated.class})
private String name;
@Schema(title = "父节点ID")
@Schema(description = "父节点ID")
private String parentId;
@Schema(title = "节点的层级", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "节点的层级", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{functional_case_module.level.not_blank}", groups = {Created.class})
private Integer level;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "更新时间")
@Schema(description = "更新时间")
private Long updateTime;
@Schema(title = "同一节点下的顺序", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "同一节点下的顺序", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{functional_case_module.pos.not_blank}", groups = {Created.class})
private Long pos;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
private static final long serialVersionUID = 1L;

View File

@ -8,33 +8,33 @@ import lombok.Data;
@Data
public class FunctionalCaseRelationshipEdge implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case_relationship_edge.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{functional_case_relationship_edge.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "源节点的ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "源节点的ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case_relationship_edge.source_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{functional_case_relationship_edge.source_id.length_range}", groups = {Created.class, Updated.class})
private String sourceId;
@Schema(title = "目标节点的ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "目标节点的ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case_relationship_edge.target_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{functional_case_relationship_edge.target_id.length_range}", groups = {Created.class, Updated.class})
private String targetId;
@Schema(title = "所属关系图的ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "所属关系图的ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case_relationship_edge.graph_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{functional_case_relationship_edge.graph_id.length_range}", groups = {Created.class, Updated.class})
private String graphId;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
@Schema(title = "更新时间")
@Schema(description = "更新时间")
private Long updateTime;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
private static final long serialVersionUID = 1L;

View File

@ -8,30 +8,30 @@ import lombok.Data;
@Data
public class FunctionalCaseTest implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case_test.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{functional_case_test.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "功能用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "功能用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case_test.functional_case_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{functional_case_test.functional_case_id.length_range}", groups = {Created.class, Updated.class})
private String functionalCaseId;
@Schema(title = "其他类型用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "其他类型用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case_test.test_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{functional_case_test.test_id.length_range}", groups = {Created.class, Updated.class})
private String testId;
@Schema(title = "用例类型:接口用例/场景用例/性能用例/UI用例", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "用例类型:接口用例/场景用例/性能用例/UI用例", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case_test.test_type.not_blank}", groups = {Created.class})
@Size(min = 1, max = 64, message = "{functional_case_test.test_type.length_range}", groups = {Created.class, Updated.class})
private String testType;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "更新时间")
@Schema(description = "更新时间")
private Long updateTime;
private static final long serialVersionUID = 1L;

View File

@ -8,22 +8,22 @@ import lombok.Data;
@Data
public class FunctionalMinderExtraNode implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_minder_extra_node.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{functional_minder_extra_node.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "父节点的ID即模块ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "父节点的ID即模块ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_minder_extra_node.parent_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{functional_minder_extra_node.parent_id.length_range}", groups = {Created.class, Updated.class})
private String parentId;
@Schema(title = "项目ID可扩展为其他资源ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "项目ID可扩展为其他资源ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_minder_extra_node.group_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{functional_minder_extra_node.group_id.length_range}", groups = {Created.class, Updated.class})
private String groupId;
@Schema(title = "存储脑图节点额外信息", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "存储脑图节点额外信息", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_minder_extra_node.node_data.not_blank}", groups = {Created.class})
@Size(min = 1, max = 2147483647, message = "{functional_minder_extra_node.node_data.length_range}", groups = {Created.class, Updated.class})
private String nodeData;

View File

@ -8,62 +8,62 @@ import lombok.Data;
@Data
public class LoadTest implements Serializable {
@Schema(title = "测试ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{load_test.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test.project_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{load_test.project_id.length_range}", groups = {Created.class, Updated.class})
private String projectId;
@Schema(title = "测试名称", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试名称", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test.name.not_blank}", groups = {Created.class})
@Size(min = 1, max = 255, message = "{load_test.name.length_range}", groups = {Created.class, Updated.class})
private String name;
@Schema(title = "状态为Error时表示错误信息")
@Schema(description = "状态为Error时表示错误信息")
private String description;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "更新时间")
@Schema(description = "更新时间")
private Long updateTime;
@Schema(title = "状态: Starting, Running, Completed, Error, etc.", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "状态: Starting, Running, Completed, Error, etc.", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test.status.not_blank}", groups = {Created.class})
@Size(min = 1, max = 64, message = "{load_test.status.length_range}", groups = {Created.class, Updated.class})
private String status;
@Schema(title = "资源池ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "资源池ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test.test_resource_pool_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{load_test.test_resource_pool_id.length_range}", groups = {Created.class, Updated.class})
private String testResourcePoolId;
@Schema(title = "测试数字ID例如: 100001", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试数字ID例如: 100001", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{load_test.num.not_blank}", groups = {Created.class})
private Integer num;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
@Schema(title = "自定义排序间隔5000", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "自定义排序间隔5000", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{load_test.pos.not_blank}", groups = {Created.class})
private Long pos;
@Schema(title = "版本ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "版本ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test.version_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{load_test.version_id.length_range}", groups = {Created.class, Updated.class})
private String versionId;
@Schema(title = "基版本数据ID首条测试和测试ID相同", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "基版本数据ID首条测试和测试ID相同", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test.ref_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{load_test.ref_id.length_range}", groups = {Created.class, Updated.class})
private String refId;
@Schema(title = "是否为最新版本 0:否1:是", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "是否为最新版本 0:否1:是", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{load_test.latest.not_blank}", groups = {Created.class})
private Boolean latest;

View File

@ -8,30 +8,30 @@ import lombok.Data;
@Data
public class LoadTestApi implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test_api.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{load_test_api.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "接口场景或用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "接口场景或用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test_api.api_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{load_test_api.api_id.length_range}", groups = {Created.class, Updated.class})
private String apiId;
@Schema(title = "性能测试ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "性能测试ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test_api.load_test_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{load_test_api.load_test_id.length_range}", groups = {Created.class, Updated.class})
private String loadTestId;
@Schema(title = "环境ID")
@Schema(description = "环境ID")
private String envId;
@Schema(title = "类型: SCENARIO, CASE", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "类型: SCENARIO, CASE", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test_api.type.not_blank}", groups = {Created.class})
@Size(min = 1, max = 20, message = "{load_test_api.type.length_range}", groups = {Created.class, Updated.class})
private String type;
@Schema(title = "关联版本")
@Schema(description = "关联版本")
private Integer apiVersion;
private static final long serialVersionUID = 1L;

View File

@ -8,18 +8,18 @@ import lombok.Data;
@Data
public class LoadTestBlob implements Serializable {
@Schema(title = "测试ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test_blob.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{load_test_blob.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "压力配置")
@Schema(description = "压力配置")
private byte[] loadConfiguration;
@Schema(title = "高级配置")
@Schema(description = "高级配置")
private byte[] advancedConfiguration;
@Schema(title = "环境信息 (JSON format)")
@Schema(description = "环境信息 (JSON format)")
private byte[] envInfo;
private static final long serialVersionUID = 1L;

View File

@ -8,17 +8,17 @@ import lombok.Data;
@Data
public class LoadTestFile implements Serializable {
@Schema(title = "测试ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test_file.test_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{load_test_file.test_id.length_range}", groups = {Created.class, Updated.class})
private String testId;
@Schema(title = "文件ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "文件ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test_file.file_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{load_test_file.file_id.length_range}", groups = {Created.class, Updated.class})
private String fileId;
@Schema(title = "文件排序", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "文件排序", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{load_test_file.sort.not_blank}", groups = {Created.class})
private Integer sort;

View File

@ -8,12 +8,12 @@ import lombok.Data;
@Data
public class LoadTestFollower implements Serializable {
@Schema(title = "测试ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test_follower.test_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{load_test_follower.test_id.length_range}", groups = {Created.class, Updated.class})
private String testId;
@Schema(title = "关注人ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "关注人ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test_follower.user_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{load_test_follower.user_id.length_range}", groups = {Created.class, Updated.class})
private String userId;

View File

@ -8,82 +8,82 @@ import lombok.Data;
@Data
public class LoadTestReport implements Serializable {
@Schema(title = "报告ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "报告ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test_report.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{load_test_report.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "测试ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test_report.test_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{load_test_report.test_id.length_range}", groups = {Created.class, Updated.class})
private String testId;
@Schema(title = "报告名称", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "报告名称", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test_report.name.not_blank}", groups = {Created.class})
@Size(min = 1, max = 255, message = "{load_test_report.name.length_range}", groups = {Created.class, Updated.class})
private String name;
@Schema(title = "报告描述")
@Schema(description = "报告描述")
private String description;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "更新时间")
@Schema(description = "更新时间")
private Long updateTime;
@Schema(title = "状态: Starting, Running, Error,Completed etc.", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "状态: Starting, Running, Error,Completed etc.", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test_report.status.not_blank}", groups = {Created.class})
@Size(min = 1, max = 64, message = "{load_test_report.status.length_range}", groups = {Created.class, Updated.class})
private String status;
@Schema(title = "创建人(执行人)ID")
@Schema(description = "创建人(执行人)ID")
private String createUser;
@Schema(title = "触发方式", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "触发方式", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test_report.trigger_mode.not_blank}", groups = {Created.class})
@Size(min = 1, max = 64, message = "{load_test_report.trigger_mode.length_range}", groups = {Created.class, Updated.class})
private String triggerMode;
@Schema(title = "最大并发数")
@Schema(description = "最大并发数")
private String maxUsers;
@Schema(title = "平均响应时间")
@Schema(description = "平均响应时间")
private String avgResponseTime;
@Schema(title = "每秒事务数")
@Schema(description = "每秒事务数")
private String tps;
@Schema(title = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test_report.project_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{load_test_report.project_id.length_range}", groups = {Created.class, Updated.class})
private String projectId;
@Schema(title = "测试名称", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试名称", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test_report.test_name.not_blank}", groups = {Created.class})
@Size(min = 1, max = 255, message = "{load_test_report.test_name.length_range}", groups = {Created.class, Updated.class})
private String testName;
@Schema(title = "资源池ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "资源池ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test_report.test_resource_pool_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{load_test_report.test_resource_pool_id.length_range}", groups = {Created.class, Updated.class})
private String testResourcePoolId;
@Schema(title = "测试开始时间")
@Schema(description = "测试开始时间")
private Long testStartTime;
@Schema(title = "测试结束时间")
@Schema(description = "测试结束时间")
private Long testEndTime;
@Schema(title = "执行时长")
@Schema(description = "执行时长")
private Long testDuration;
@Schema(title = "版本ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "版本ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test_report.version_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{load_test_report.version_id.length_range}", groups = {Created.class, Updated.class})
private String versionId;
@Schema(title = "关联的测试计划报告ID可以为空)")
@Schema(description = "关联的测试计划报告ID可以为空)")
private String relevanceTestPlanReportId;
private static final long serialVersionUID = 1L;

View File

@ -8,21 +8,21 @@ import lombok.Data;
@Data
public class LoadTestReportBlob implements Serializable {
@Schema(title = "报告ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "报告ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test_report_blob.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{load_test_report_blob.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "压力配置")
@Schema(description = "压力配置")
private byte[] loadConfiguration;
@Schema(title = "JMX内容")
@Schema(description = "JMX内容")
private byte[] jmxContent;
@Schema(title = "高级配置")
@Schema(description = "高级配置")
private byte[] advancedConfiguration;
@Schema(title = "环境信息 (JSON format)")
@Schema(description = "环境信息 (JSON format)")
private byte[] envInfo;
private static final long serialVersionUID = 1L;

View File

@ -8,17 +8,17 @@ import lombok.Data;
@Data
public class LoadTestReportFile implements Serializable {
@Schema(title = "报告ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "报告ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test_report_file.report_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{load_test_report_file.report_id.length_range}", groups = {Created.class, Updated.class})
private String reportId;
@Schema(title = "文件ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "文件ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test_report_file.file_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{load_test_report_file.file_id.length_range}", groups = {Created.class, Updated.class})
private String fileId;
@Schema(title = "文件排序", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "文件排序", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{load_test_report_file.sort.not_blank}", groups = {Created.class})
private Integer sort;

View File

@ -8,25 +8,25 @@ import lombok.Data;
@Data
public class LoadTestReportLog implements Serializable {
@Schema(title = "主键无实际意义", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "主键无实际意义", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test_report_log.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{load_test_report_log.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "报告ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "报告ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test_report_log.report_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{load_test_report_log.report_id.length_range}", groups = {Created.class, Updated.class})
private String reportId;
@Schema(title = "资源节点ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "资源节点ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test_report_log.resource_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{load_test_report_log.resource_id.length_range}", groups = {Created.class, Updated.class})
private String resourceId;
@Schema(title = "日志内容分段")
@Schema(description = "日志内容分段")
private Long part;
@Schema(title = "jmeter.log 内容")
@Schema(description = "jmeter.log 内容")
private byte[] content;
private static final long serialVersionUID = 1L;

View File

@ -8,20 +8,20 @@ import lombok.Data;
@Data
public class LoadTestReportResult implements Serializable {
@Schema(title = "主键无实际意义", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "主键无实际意义", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test_report_result.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{load_test_report_result.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "报告ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "报告ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test_report_result.report_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{load_test_report_result.report_id.length_range}", groups = {Created.class, Updated.class})
private String reportId;
@Schema(title = "报告项目key")
@Schema(description = "报告项目key")
private String reportKey;
@Schema(title = "报告项目内容")
@Schema(description = "报告项目内容")
private byte[] reportValue;
private static final long serialVersionUID = 1L;

View File

@ -8,21 +8,21 @@ import lombok.Data;
@Data
public class LoadTestReportResultPart implements Serializable {
@Schema(title = "报告ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "报告ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test_report_result_part.report_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{load_test_report_result_part.report_id.length_range}", groups = {Created.class, Updated.class})
private String reportId;
@Schema(title = "报告项目key", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "报告项目key", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test_report_result_part.report_key.not_blank}", groups = {Created.class})
@Size(min = 1, max = 64, message = "{load_test_report_result_part.report_key.length_range}", groups = {Created.class, Updated.class})
private String reportKey;
@Schema(title = "资源节点索引号", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "资源节点索引号", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{load_test_report_result_part.resource_index.not_blank}", groups = {Created.class})
private Integer resourceIndex;
@Schema(title = "报告项目内容")
@Schema(description = "报告项目内容")
private byte[] reportValue;
private static final long serialVersionUID = 1L;

View File

@ -8,25 +8,25 @@ import lombok.Data;
@Data
public class LoadTestReportResultRealtime implements Serializable {
@Schema(title = "报告ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "报告ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test_report_result_realtime.report_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{load_test_report_result_realtime.report_id.length_range}", groups = {Created.class, Updated.class})
private String reportId;
@Schema(title = "报告项目key", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "报告项目key", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test_report_result_realtime.report_key.not_blank}", groups = {Created.class})
@Size(min = 1, max = 64, message = "{load_test_report_result_realtime.report_key.length_range}", groups = {Created.class, Updated.class})
private String reportKey;
@Schema(title = "资源节点索引号", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "资源节点索引号", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{load_test_report_result_realtime.resource_index.not_blank}", groups = {Created.class})
private Integer resourceIndex;
@Schema(title = "报告项目内容排序", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "报告项目内容排序", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{load_test_report_result_realtime.sort.not_blank}", groups = {Created.class})
private Integer sort;
@Schema(title = "报告项目内容")
@Schema(description = "报告项目内容")
private byte[] reportValue;
private static final long serialVersionUID = 1L;

View File

@ -11,64 +11,64 @@ import java.io.Serializable;
@Data
public class TestPlan implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{test_plan.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "测试计划所属项目", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试计划所属项目", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan.project_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan.project_id.length_range}", groups = {Created.class, Updated.class})
private String projectId;
@Schema(title = "测试计划父ID;测试计划要改为树结构。最上层的为root其余则是父节点ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试计划父ID;测试计划要改为树结构。最上层的为root其余则是父节点ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan.parent_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan.parent_id.length_range}", groups = {Created.class, Updated.class})
private String parentId;
@Schema(title = "测试计划名称", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试计划名称", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan.name.not_blank}", groups = {Created.class})
@Size(min = 1, max = 255, message = "{test_plan.name.length_range}", groups = {Created.class, Updated.class})
private String name;
@Schema(title = "测试计划状态;进行中/未开始/已完成/已结束/已归档", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试计划状态;进行中/未开始/已完成/已结束/已归档", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan.status.not_blank}", groups = {Created.class})
@Size(min = 1, max = 20, message = "{test_plan.status.length_range}", groups = {Created.class, Updated.class})
private String status;
@Schema(title = "测试阶段", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试阶段", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan.stage.not_blank}", groups = {Created.class})
@Size(min = 1, max = 30, message = "{test_plan.stage.length_range}", groups = {Created.class, Updated.class})
private String stage;
@Schema(title = "标签")
@Schema(description = "标签")
private String tags;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
@Schema(title = "更新时间")
@Schema(description = "更新时间")
private Long updateTime;
@Schema(title = "更新人")
@Schema(description = "更新人")
private String updateUser;
@Schema(title = "计划开始时间")
@Schema(description = "计划开始时间")
private Long plannedStartTime;
@Schema(title = "计划结束时间")
@Schema(description = "计划结束时间")
private Long plannedEndTime;
@Schema(title = "实际开始时间")
@Schema(description = "实际开始时间")
private Long actualStartTime;
@Schema(title = "实际结束时间")
@Schema(description = "实际结束时间")
private Long actualEndTime;
@Schema(title = "描述")
@Schema(description = "描述")
private String description;
private static final long serialVersionUID = 1L;

View File

@ -12,38 +12,38 @@ import java.io.Serializable;
@Data
public class TestPlanApiCase implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_api_case.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{test_plan_api_case.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "测试计划ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试计划ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_api_case.test_plan_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_api_case.test_plan_id.length_range}", groups = {Created.class, Updated.class})
private String testPlanId;
@Schema(title = "接口用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "接口用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_api_case.api_case_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_api_case.api_case_id.length_range}", groups = {Created.class, Updated.class})
private String apiCaseId;
@Schema(title = "环境类型")
@Schema(description = "环境类型")
private String environmentType;
@Schema(title = "环境组ID")
@Schema(description = "环境组ID")
private String environmentGroupId;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
@Schema(title = "自定义排序间隔5000", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "自定义排序间隔5000", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{test_plan_api_case.pos.not_blank}", groups = {Created.class})
private Long pos;
@Schema(title = "所属环境")
@Schema(description = "所属环境")
private String environment;
private static final long serialVersionUID = 1L;

View File

@ -12,36 +12,36 @@ import java.io.Serializable;
@Data
public class TestPlanApiScenario implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_api_scenario.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{test_plan_api_scenario.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "测试计划ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试计划ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_api_scenario.test_plan_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_api_scenario.test_plan_id.length_range}", groups = {Created.class, Updated.class})
private String testPlanId;
@Schema(title = "场景ID")
@Schema(description = "场景ID")
private String apiScenarioId;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
private String createUser;
@Schema(title = "自定义排序间隔5000", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "自定义排序间隔5000", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{test_plan_api_scenario.pos.not_blank}", groups = {Created.class})
private Long pos;
@Schema(title = "环境类型")
@Schema(description = "环境类型")
private String environmentType;
@Schema(title = "环境组ID")
@Schema(description = "环境组ID")
private String environmentGroupId;
@Schema(title = "所属环境")
@Schema(description = "所属环境")
private String environment;
private static final long serialVersionUID = 1L;

View File

@ -12,24 +12,24 @@ import java.io.Serializable;
@Data
public class TestPlanConfig implements Serializable {
@Schema(title = "测试计划ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试计划ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_config.test_plan_id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{test_plan_config.test_plan_id.length_range}", groups = {Created.class, Updated.class})
private String testPlanId;
@Schema(title = "是否自定更新功能用例状态", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "是否自定更新功能用例状态", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_config.automatic_status_update.not_blank}", groups = {Created.class})
private Boolean automaticStatusUpdate;
@Schema(title = "是否允许重复添加用例", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "是否允许重复添加用例", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_config.repeat_case.not_blank}", groups = {Created.class})
private Boolean repeatCase;
@Schema(title = "测试计划通过阈值;0-100", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试计划通过阈值;0-100", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{test_plan_config.pass_threshold.not_blank}", groups = {Created.class})
private Integer passThreshold;
@Schema(title = "运行模式", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "运行模式", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_config.run_mode_config.not_blank}", groups = {Created.class})
@Size(min = 1, max = 65535, message = "{test_plan_config.run_mode_config.length_range}", groups = {Created.class, Updated.class})
private String runModeConfig;

View File

@ -11,48 +11,48 @@ import java.io.Serializable;
@Data
public class TestPlanExecuteRecord implements Serializable {
@Schema(title = "测试计划执行记录ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试计划执行记录ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_execute_record.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{test_plan_execute_record.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "测试计划ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试计划ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_execute_record.test_plan_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_execute_record.test_plan_id.length_range}", groups = {Created.class, Updated.class})
private String testPlanId;
@Schema(title = "执行记录名称", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "执行记录名称", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_execute_record.name.not_blank}", groups = {Created.class})
@Size(min = 1, max = 255, message = "{test_plan_execute_record.name.length_range}", groups = {Created.class, Updated.class})
private String name;
@Schema(title = "执行状态;RUNNING/SUCCESS/ERROR/UNEXECUTE", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "执行状态;RUNNING/SUCCESS/ERROR/UNEXECUTE", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_execute_record.status.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_execute_record.status.length_range}", groups = {Created.class, Updated.class})
private String status;
@Schema(title = "触发类型;触发类型SINGLE/BATCH/SCHEDULE/JENKINS")
@Schema(description = "触发类型;触发类型SINGLE/BATCH/SCHEDULE/JENKINS")
private String triggerMode;
@Schema(title = "创建人(执行人/触发人)")
@Schema(description = "创建人(执行人/触发人)")
private String createUser;
@Schema(title = "创建时间(开始时间)")
@Schema(description = "创建时间(开始时间)")
private Long createTime;
@Schema(title = "结束时间")
@Schema(description = "结束时间")
private Long endTime;
@Schema(title = "用例总数量")
@Schema(description = "用例总数量")
private Integer caseCount;
@Schema(title = "执行率")
@Schema(description = "执行率")
private Double executeRate;
@Schema(title = "通过率")
@Schema(description = "通过率")
private Double passRate;
@Schema(title = "执行配置")
@Schema(description = "执行配置")
private String runConfig;
private static final long serialVersionUID = 1L;

View File

@ -11,35 +11,35 @@ import java.io.Serializable;
@Data
public class TestPlanExecutionQueue implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_execution_queue.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{test_plan_execution_queue.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "执行批次;随机生成UUID作为执行批次", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "执行批次;随机生成UUID作为执行批次", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_execution_queue.execute_batch.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_execution_queue.execute_batch.length_range}", groups = {Created.class, Updated.class})
private String executeBatch;
@Schema(title = "testPlanId", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "testPlanId", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_execution_queue.test_plan_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_execution_queue.test_plan_id.length_range}", groups = {Created.class, Updated.class})
private String testPlanId;
@Schema(title = "测试计划执行记录ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试计划执行记录ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_execution_queue.test_plan_execute_record_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_execution_queue.test_plan_execute_record_id.length_range}", groups = {Created.class, Updated.class})
private String testPlanExecuteRecordId;
@Schema(title = "执行模式;并行/串行", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "执行模式;并行/串行", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_execution_queue.run_mode.not_blank}", groups = {Created.class})
@Size(min = 1, max = 20, message = "{test_plan_execution_queue.run_mode.length_range}", groups = {Created.class, Updated.class})
private String runMode;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "排序")
@Schema(description = "排序")
private Integer pos;
private static final long serialVersionUID = 1L;

View File

@ -10,12 +10,12 @@ import lombok.Data;
@Data
public class TestPlanFollower implements Serializable {
@Schema(title = "测试计划ID;联合主键", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试计划ID;联合主键", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_follower.test_plan_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_follower.test_plan_id.length_range}", groups = {Created.class, Updated.class})
private String testPlanId;
@Schema(title = "用户ID;联合主键", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "用户ID;联合主键", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_follower.user_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_follower.user_id.length_range}", groups = {Created.class, Updated.class})
private String userId;

View File

@ -12,28 +12,28 @@ import java.io.Serializable;
@Data
public class TestPlanFunctionCase implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_function_case.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{test_plan_function_case.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "测试计划ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试计划ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_function_case.test_plan_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_function_case.test_plan_id.length_range}", groups = {Created.class, Updated.class})
private String testPlanId;
@Schema(title = "功能用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "功能用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_function_case.function_case_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_function_case.function_case_id.length_range}", groups = {Created.class, Updated.class})
private String functionCaseId;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
@Schema(title = "自定义排序间隔5000", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "自定义排序间隔5000", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{test_plan_function_case.pos.not_blank}", groups = {Created.class})
private Long pos;

View File

@ -11,36 +11,36 @@ import java.io.Serializable;
@Data
public class TestPlanFunctionCaseResult implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_function_case_result.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{test_plan_function_case_result.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "测试计划功能用例关联表ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试计划功能用例关联表ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_function_case_result.test_plan_function_case_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_function_case_result.test_plan_function_case_id.length_range}", groups = {Created.class, Updated.class})
private String testPlanFunctionCaseId;
@Schema(title = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_function_case_result.project_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_function_case_result.project_id.length_range}", groups = {Created.class, Updated.class})
private String projectId;
@Schema(title = "执行结果", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "执行结果", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_function_case_result.result.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_function_case_result.result.length_range}", groups = {Created.class, Updated.class})
private String result;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "评论")
@Schema(description = "评论")
private String comment;
@Schema(title = "所属版本", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "所属版本", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_function_case_result.version.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_function_case_result.version.length_range}", groups = {Created.class, Updated.class})
private String version;

View File

@ -12,38 +12,38 @@ import java.io.Serializable;
@Data
public class TestPlanLoadCase implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_load_case.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{test_plan_load_case.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "测试计划ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试计划ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_load_case.test_plan_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_load_case.test_plan_id.length_range}", groups = {Created.class, Updated.class})
private String testPlanId;
@Schema(title = "性能用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "性能用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_load_case.load_case_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_load_case.load_case_id.length_range}", groups = {Created.class, Updated.class})
private String loadCaseId;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
@Schema(title = "所用测试资源池ID")
@Schema(description = "所用测试资源池ID")
private String testResourcePoolId;
@Schema(title = "自定义排序间隔5000", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "自定义排序间隔5000", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{test_plan_load_case.pos.not_blank}", groups = {Created.class})
private Long pos;
@Schema(title = "压力配置")
@Schema(description = "压力配置")
private String loadConfiguration;
@Schema(title = "高级配置")
@Schema(description = "高级配置")
private String advancedConfiguration;
private static final long serialVersionUID = 1L;

View File

@ -10,12 +10,12 @@ import lombok.Data;
@Data
public class TestPlanPrincipal implements Serializable {
@Schema(title = "测试计划ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试计划ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_principal.test_plan_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_principal.test_plan_id.length_range}", groups = {Created.class, Updated.class})
private String testPlanId;
@Schema(title = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_principal.user_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_principal.user_id.length_range}", groups = {Created.class, Updated.class})
private String userId;

View File

@ -11,22 +11,22 @@ import java.io.Serializable;
@Data
public class TestPlanRecordApiCaseInfo implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_record_api_case_info.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{test_plan_record_api_case_info.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "测试计划执行记录ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试计划执行记录ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_record_api_case_info.test_plan_execute_record_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_record_api_case_info.test_plan_execute_record_id.length_range}", groups = {Created.class, Updated.class})
private String testPlanExecuteRecordId;
@Schema(title = "测试计划接口用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试计划接口用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_record_api_case_info.test_plan_api_case_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_record_api_case_info.test_plan_api_case_id.length_range}", groups = {Created.class, Updated.class})
private String testPlanApiCaseId;
@Schema(title = "报告ID;报告ID(预生成)", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "报告ID;报告ID(预生成)", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_record_api_case_info.report_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_record_api_case_info.report_id.length_range}", groups = {Created.class, Updated.class})
private String reportId;

View File

@ -11,22 +11,22 @@ import java.io.Serializable;
@Data
public class TestPlanRecordApiScenarioInfo implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_record_api_scenario_info.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{test_plan_record_api_scenario_info.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "测试计划执行记录ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试计划执行记录ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_record_api_scenario_info.test_plan_execute_record_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_record_api_scenario_info.test_plan_execute_record_id.length_range}", groups = {Created.class, Updated.class})
private String testPlanExecuteRecordId;
@Schema(title = "测试计划接口场景ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试计划接口场景ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_record_api_scenario_info.test_plan_api_scenario_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_record_api_scenario_info.test_plan_api_scenario_id.length_range}", groups = {Created.class, Updated.class})
private String testPlanApiScenarioId;
@Schema(title = "报告ID;报告ID(预生成)", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "报告ID;报告ID(预生成)", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_record_api_scenario_info.report_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_record_api_scenario_info.report_id.length_range}", groups = {Created.class, Updated.class})
private String reportId;

View File

@ -11,22 +11,22 @@ import java.io.Serializable;
@Data
public class TestPlanRecordLoadCaseInfo implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_record_load_case_info.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{test_plan_record_load_case_info.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "测试计划执行记录ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试计划执行记录ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_record_load_case_info.test_plan_execute_record_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_record_load_case_info.test_plan_execute_record_id.length_range}", groups = {Created.class, Updated.class})
private String testPlanExecuteRecordId;
@Schema(title = "测试计划性能用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试计划性能用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_record_load_case_info.test_plan_load_case_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_record_load_case_info.test_plan_load_case_id.length_range}", groups = {Created.class, Updated.class})
private String testPlanLoadCaseId;
@Schema(title = "报告ID;报告ID(预生成)", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "报告ID;报告ID(预生成)", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_record_load_case_info.report_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_record_load_case_info.report_id.length_range}", groups = {Created.class, Updated.class})
private String reportId;

View File

@ -11,22 +11,22 @@ import java.io.Serializable;
@Data
public class TestPlanRecordUiScenarioInfo implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_record_ui_scenario_info.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{test_plan_record_ui_scenario_info.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "测试计划执行记录ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试计划执行记录ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_record_ui_scenario_info.test_plan_execute_record_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_record_ui_scenario_info.test_plan_execute_record_id.length_range}", groups = {Created.class, Updated.class})
private String testPlanExecuteRecordId;
@Schema(title = "测试计划UI场景ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试计划UI场景ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_record_ui_scenario_info.test_plan_ui_scenario_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_record_ui_scenario_info.test_plan_ui_scenario_id.length_range}", groups = {Created.class, Updated.class})
private String testPlanUiScenarioId;
@Schema(title = "报告ID;报告ID(预生成)", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "报告ID;报告ID(预生成)", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_record_ui_scenario_info.report_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_record_ui_scenario_info.report_id.length_range}", groups = {Created.class, Updated.class})
private String reportId;

View File

@ -11,46 +11,46 @@ import java.io.Serializable;
@Data
public class TestPlanReport implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_report.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{test_plan_report.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "测试计划ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试计划ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_report.test_plan_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_report.test_plan_id.length_range}", groups = {Created.class, Updated.class})
private String testPlanId;
@Schema(title = "报告名称", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "报告名称", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_report.name.not_blank}", groups = {Created.class})
@Size(min = 1, max = 255, message = "{test_plan_report.name.length_range}", groups = {Created.class, Updated.class})
private String name;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "修改人")
@Schema(description = "修改人")
private String updateUser;
@Schema(title = "更新时间")
@Schema(description = "更新时间")
private Long updateTime;
@Schema(title = "开始时间")
@Schema(description = "开始时间")
private Long startTime;
@Schema(title = "结束时间")
@Schema(description = "结束时间")
private Long endTime;
@Schema(title = "用例数量")
@Schema(description = "用例数量")
private Long caseCount;
@Schema(title = "执行率")
@Schema(description = "执行率")
private Double executeRate;
@Schema(title = "通过率")
@Schema(description = "通过率")
private Double passRate;
private static final long serialVersionUID = 1L;

View File

@ -11,20 +11,20 @@ import java.io.Serializable;
@Data
public class TestPlanReportContent implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_report_content.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{test_plan_report_content.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "测试计划报告ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试计划报告ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_report_content.test_plan_report_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_report_content.test_plan_report_id.length_range}", groups = {Created.class, Updated.class})
private String testPlanReportId;
@Schema(title = "总结")
@Schema(description = "总结")
private String summary;
@Schema(title = "报告内容")
@Schema(description = "报告内容")
private byte[] content;
private static final long serialVersionUID = 1L;

View File

@ -12,38 +12,38 @@ import java.io.Serializable;
@Data
public class TestPlanUiScenario implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_ui_scenario.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{test_plan_ui_scenario.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "测试计划ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "测试计划ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_ui_scenario.test_plan_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_ui_scenario.test_plan_id.length_range}", groups = {Created.class, Updated.class})
private String testPlanId;
@Schema(title = "UI场景ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "UI场景ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{test_plan_ui_scenario.ui_scenario_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{test_plan_ui_scenario.ui_scenario_id.length_range}", groups = {Created.class, Updated.class})
private String uiScenarioId;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "排序默认值5000", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "排序默认值5000", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{test_plan_ui_scenario.pos.not_blank}", groups = {Created.class})
private Long pos;
@Schema(title = "环境类型")
@Schema(description = "环境类型")
private String environmentType;
@Schema(title = "环境组ID")
@Schema(description = "环境组ID")
private String environmentGroupId;
@Schema(title = "所属环境")
@Schema(description = "所属环境")
private String environment;
private static final long serialVersionUID = 1L;

View File

@ -10,29 +10,29 @@ import lombok.Data;
@Data
public class ApiTemplate implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_template.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{api_template.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "名称", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_template.name.not_blank}", groups = {Created.class})
@Size(min = 1, max = 255, message = "{api_template.name.length_range}", groups = {Created.class, Updated.class})
private String name;
@Schema(title = "描述")
@Schema(description = "描述")
private String description;
@Schema(title = "是否是内置模板")
@Schema(description = "是否是内置模板")
private Boolean internal;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
@Schema(title = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{api_template.project_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{api_template.project_id.length_range}", groups = {Created.class, Updated.class})
private String projectId;

View File

@ -10,29 +10,29 @@ import lombok.Data;
@Data
public class BugTemplate implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{bug_template.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{bug_template.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "名称", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{bug_template.name.not_blank}", groups = {Created.class})
@Size(min = 1, max = 255, message = "{bug_template.name.length_range}", groups = {Created.class, Updated.class})
private String name;
@Schema(title = "描述")
@Schema(description = "描述")
private String description;
@Schema(title = "是否是内置模板")
@Schema(description = "是否是内置模板")
private Boolean internal;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
@Schema(title = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{bug_template.project_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{bug_template.project_id.length_range}", groups = {Created.class, Updated.class})
private String projectId;

View File

@ -10,15 +10,15 @@ import lombok.Data;
@Data
public class BugTemplateExtend implements Serializable {
@Schema(title = "缺陷模板ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "缺陷模板ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{bug_template_extend.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{bug_template_extend.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "缺陷标题模板")
@Schema(description = "缺陷标题模板")
private String title;
@Schema(title = "缺陷内容模板")
@Schema(description = "缺陷内容模板")
private String content;
private static final long serialVersionUID = 1L;

View File

@ -10,51 +10,51 @@ import lombok.Data;
@Data
public class CustomField implements Serializable {
@Schema(title = "自定义字段ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "自定义字段ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{custom_field.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{custom_field.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "自定义字段名称", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "自定义字段名称", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{custom_field.name.not_blank}", groups = {Created.class})
@Size(min = 1, max = 255, message = "{custom_field.name.length_range}", groups = {Created.class, Updated.class})
private String name;
@Schema(title = "使用场景", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "使用场景", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{custom_field.scene.not_blank}", groups = {Created.class})
@Size(min = 1, max = 30, message = "{custom_field.scene.length_range}", groups = {Created.class, Updated.class})
private String scene;
@Schema(title = "自定义字段类型", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "自定义字段类型", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{custom_field.type.not_blank}", groups = {Created.class})
@Size(min = 1, max = 30, message = "{custom_field.type.length_range}", groups = {Created.class, Updated.class})
private String type;
@Schema(title = "自定义字段备注")
@Schema(description = "自定义字段备注")
private String remark;
@Schema(title = "是否是系统字段")
@Schema(description = "是否是系统字段")
private Boolean system;
@Schema(title = "是否是全局字段")
@Schema(description = "是否是全局字段")
private Boolean global;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "更新时间")
@Schema(description = "更新时间")
private Long updateTime;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
@Schema(title = "项目ID")
@Schema(description = "项目ID")
private String projectId;
@Schema(title = "是否关联第三方")
@Schema(description = "是否关联第三方")
private Boolean thirdPart;
@Schema(title = "自定义字段选项")
@Schema(description = "自定义字段选项")
private String options;
private static final long serialVersionUID = 1L;

View File

@ -10,39 +10,39 @@ import lombok.Data;
@Data
public class CustomFieldTemplate implements Serializable {
@Schema(title = "自定义模版ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "自定义模版ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{custom_field_template.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{custom_field_template.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "自定义字段ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "自定义字段ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{custom_field_template.field_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{custom_field_template.field_id.length_range}", groups = {Created.class, Updated.class})
private String fieldId;
@Schema(title = "模版ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "模版ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{custom_field_template.template_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{custom_field_template.template_id.length_range}", groups = {Created.class, Updated.class})
private String templateId;
@Schema(title = "使用场景", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "使用场景", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{custom_field_template.scene.not_blank}", groups = {Created.class})
@Size(min = 1, max = 30, message = "{custom_field_template.scene.length_range}", groups = {Created.class, Updated.class})
private String scene;
@Schema(title = "是否必填")
@Schema(description = "是否必填")
private Boolean required;
@Schema(title = "排序字段")
@Schema(description = "排序字段")
private Integer pos;
@Schema(title = "自定义数据")
@Schema(description = "自定义数据")
private String customData;
@Schema(title = "自定义表头")
@Schema(description = "自定义表头")
private String key;
@Schema(title = "默认值")
@Schema(description = "默认值")
private byte[] defaultValue;
private static final long serialVersionUID = 1L;

View File

@ -10,20 +10,20 @@ import lombok.Data;
@Data
public class CustomFunction implements Serializable {
@Schema(title = "", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{custom_function.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{custom_function.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "函数名", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "函数名", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{custom_function.name.not_blank}", groups = {Created.class})
@Size(min = 1, max = 255, message = "{custom_function.name.length_range}", groups = {Created.class, Updated.class})
private String name;
@Schema(title = "标签")
@Schema(description = "标签")
private String tags;
@Schema(title = "函数描述")
@Schema(description = "函数描述")
private String description;
private static final long serialVersionUID = 1L;

View File

@ -10,18 +10,18 @@ import lombok.Data;
@Data
public class CustomFunctionBlob implements Serializable {
@Schema(title = "", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{custom_function_blob.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{custom_function_blob.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "参数列表")
@Schema(description = "参数列表")
private byte[] params;
@Schema(title = "函数体")
@Schema(description = "函数体")
private byte[] script;
@Schema(title = "执行结果")
@Schema(description = "执行结果")
private byte[] result;
private static final long serialVersionUID = 1L;

View File

@ -10,39 +10,39 @@ import lombok.Data;
@Data
public class FakeError implements Serializable {
@Schema(title = "误报ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "误报ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{fake_error.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{fake_error.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{fake_error.project_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{fake_error.project_id.length_range}", groups = {Created.class, Updated.class})
private String projectId;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "更新时间")
@Schema(description = "更新时间")
private Long updateTime;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
@Schema(title = "更新人")
@Schema(description = "更新人")
private String updateUser;
@Schema(title = "错误码", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "错误码", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{fake_error.error_code.not_blank}", groups = {Created.class})
@Size(min = 1, max = 255, message = "{fake_error.error_code.length_range}", groups = {Created.class, Updated.class})
private String errorCode;
@Schema(title = "匹配类型", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "匹配类型", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{fake_error.match_type.not_blank}", groups = {Created.class})
@Size(min = 1, max = 255, message = "{fake_error.match_type.length_range}", groups = {Created.class, Updated.class})
private String matchType;
@Schema(title = "状态")
@Schema(description = "状态")
private Boolean status;
private static final long serialVersionUID = 1L;

View File

@ -10,15 +10,15 @@ import lombok.Data;
@Data
public class FakeErrorBlob implements Serializable {
@Schema(title = "Test ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "Test ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{fake_error_blob.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{fake_error_blob.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "内容")
@Schema(description = "内容")
private byte[] content;
@Schema(title = "报告内容")
@Schema(description = "报告内容")
private byte[] description;
private static final long serialVersionUID = 1L;

View File

@ -10,65 +10,65 @@ import lombok.Data;
@Data
public class FileMetadata implements Serializable {
@Schema(title = "文件ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "文件ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{file_metadata.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{file_metadata.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "文件名", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "文件名", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{file_metadata.name.not_blank}", groups = {Created.class})
@Size(min = 1, max = 255, message = "{file_metadata.name.length_range}", groups = {Created.class, Updated.class})
private String name;
@Schema(title = "文件类型")
@Schema(description = "文件类型")
private String type;
@Schema(title = "文件大小", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "文件大小", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{file_metadata.size.not_blank}", groups = {Created.class})
private Long size;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "更新时间")
@Schema(description = "更新时间")
private Long updateTime;
@Schema(title = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{file_metadata.project_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{file_metadata.project_id.length_range}", groups = {Created.class, Updated.class})
private String projectId;
@Schema(title = "文件存储方式")
@Schema(description = "文件存储方式")
private String storage;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
@Schema(title = "修改人")
@Schema(description = "修改人")
private String updateUser;
@Schema(title = "标签")
@Schema(description = "标签")
private String tags;
@Schema(title = "描述")
@Schema(description = "描述")
private String description;
@Schema(title = "文件所属模块")
@Schema(description = "文件所属模块")
private String moduleId;
@Schema(title = "是否加载jar开启后用于接口测试执行时使用")
@Schema(description = "是否加载jar开启后用于接口测试执行时使用")
private Boolean loadJar;
@Schema(title = "文件存储路径")
@Schema(description = "文件存储路径")
private String path;
@Schema(title = "资源作用范围主要兼容2.1版本前的历史数据,后续版本不再产生数据")
@Schema(description = "资源作用范围主要兼容2.1版本前的历史数据,后续版本不再产生数据")
private String resourceType;
@Schema(title = "是否是最新版")
@Schema(description = "是否是最新版")
private Boolean latest;
@Schema(title = "同版本数据关联的ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "同版本数据关联的ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{file_metadata.ref_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{file_metadata.ref_id.length_range}", groups = {Created.class, Updated.class})
private String refId;

View File

@ -10,12 +10,12 @@ import lombok.Data;
@Data
public class FileMetadataBlob implements Serializable {
@Schema(title = "文件ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "文件ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{file_metadata_blob.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{file_metadata_blob.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "储存库")
@Schema(description = "储存库")
private byte[] gitInfo;
private static final long serialVersionUID = 1L;

View File

@ -10,40 +10,40 @@ import lombok.Data;
@Data
public class FileModule implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{file_module.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{file_module.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{file_module.project_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{file_module.project_id.length_range}", groups = {Created.class, Updated.class})
private String projectId;
@Schema(title = "模块名称", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "模块名称", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{file_module.name.not_blank}", groups = {Created.class})
@Size(min = 1, max = 64, message = "{file_module.name.length_range}", groups = {Created.class, Updated.class})
private String name;
@Schema(title = "父级ID")
@Schema(description = "父级ID")
private String parentId;
@Schema(title = "层数")
@Schema(description = "层数")
private Integer level;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "更新时间")
@Schema(description = "更新时间")
private Long updateTime;
@Schema(title = "排序用的标识")
@Schema(description = "排序用的标识")
private Double pos;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
@Schema(title = "模块类型: module/repository")
@Schema(description = "模块类型: module/repository")
private String moduleType;
private static final long serialVersionUID = 1L;

View File

@ -10,21 +10,21 @@ import lombok.Data;
@Data
public class FileModuleBlob implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{file_module_blob.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{file_module_blob.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "存储库路径")
@Schema(description = "存储库路径")
private String repositoryPath;
@Schema(title = "存储库Token")
@Schema(description = "存储库Token")
private String repositoryUserName;
@Schema(title = "存储库Token")
@Schema(description = "存储库Token")
private String repositoryToken;
@Schema(title = "存储库描述")
@Schema(description = "存储库描述")
private byte[] repositoryDesc;
private static final long serialVersionUID = 1L;

View File

@ -10,29 +10,29 @@ import lombok.Data;
@Data
public class FunctionalCaseTemplate implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case_template.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{functional_case_template.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "名称", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case_template.name.not_blank}", groups = {Created.class})
@Size(min = 1, max = 255, message = "{functional_case_template.name.length_range}", groups = {Created.class, Updated.class})
private String name;
@Schema(title = "描述")
@Schema(description = "描述")
private String description;
@Schema(title = "是否是内置模板")
@Schema(description = "是否是内置模板")
private Boolean internal;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
@Schema(title = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case_template.project_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{functional_case_template.project_id.length_range}", groups = {Created.class, Updated.class})
private String projectId;

View File

@ -10,30 +10,30 @@ import lombok.Data;
@Data
public class FunctionalCaseTemplateExtend implements Serializable {
@Schema(title = "模板ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "模板ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{functional_case_template_extend.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{functional_case_template_extend.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "用例名称模板")
@Schema(description = "用例名称模板")
private String caseName;
@Schema(title = "编辑模式模板:步骤模式/文本模式")
@Schema(description = "编辑模式模板:步骤模式/文本模式")
private String stepModel;
@Schema(title = "前置条件模板")
@Schema(description = "前置条件模板")
private String prerequisite;
@Schema(title = "步骤描述模板")
@Schema(description = "步骤描述模板")
private String stepDescription;
@Schema(title = "预期结果模板")
@Schema(description = "预期结果模板")
private String expectedResult;
@Schema(title = "实际结果模板")
@Schema(description = "实际结果模板")
private String actualResult;
@Schema(title = "用例步骤")
@Schema(description = "用例步骤")
private String steps;
private static final long serialVersionUID = 1L;

View File

@ -10,49 +10,49 @@ import lombok.Data;
@Data
public class Project implements Serializable {
@Schema(title = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{project.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{project.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "项目编号")
@Schema(description = "项目编号")
private Long num;
@Schema(title = "组织ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "组织ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{project.organization_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{project.organization_id.length_range}", groups = {Created.class, Updated.class})
private String organizationId;
@Schema(title = "项目名称", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "项目名称", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{project.name.not_blank}", groups = {Created.class})
@Size(min = 1, max = 255, message = "{project.name.length_range}", groups = {Created.class, Updated.class})
private String name;
@Schema(title = "项目描述")
@Schema(description = "项目描述")
private String description;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "更新时间")
@Schema(description = "更新时间")
private Long updateTime;
@Schema(title = "修改人")
@Schema(description = "修改人")
private String updateUser;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
@Schema(title = "删除时间")
@Schema(description = "删除时间")
private Long deleteTime;
@Schema(title = "是否删除")
@Schema(description = "是否删除")
private Boolean deleted;
@Schema(title = "删除人")
@Schema(description = "删除人")
private String deleteUser;
@Schema(title = "是否启用")
@Schema(description = "是否启用")
private Boolean enable;
private static final long serialVersionUID = 1L;

View File

@ -10,17 +10,17 @@ import lombok.Data;
@Data
public class ProjectApplication implements Serializable {
@Schema(title = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{project_application.project_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{project_application.project_id.length_range}", groups = {Created.class, Updated.class})
private String projectId;
@Schema(title = "配置项", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "配置项", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{project_application.type.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{project_application.type.length_range}", groups = {Created.class, Updated.class})
private String type;
@Schema(title = "配置值")
@Schema(description = "配置值")
private String typeValue;
private static final long serialVersionUID = 1L;

View File

@ -10,42 +10,42 @@ import lombok.Data;
@Data
public class ProjectExtend implements Serializable {
@Schema(title = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{project_extend.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{project_extend.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "")
@Schema(description = "")
private String tapdId;
@Schema(title = "")
@Schema(description = "")
private String jiraKey;
@Schema(title = "")
@Schema(description = "")
private String zentaoId;
@Schema(title = "")
@Schema(description = "")
private String azureDevopsId;
@Schema(title = "用例模版ID")
@Schema(description = "用例模版ID")
private String caseTemplateId;
@Schema(title = "azure 过滤需求的 parent workItem ID")
@Schema(description = "azure 过滤需求的 parent workItem ID")
private String azureFilterId;
@Schema(title = "项目使用哪个平台的模板")
@Schema(description = "项目使用哪个平台的模板")
private String platform;
@Schema(title = "是否使用第三方平台缺陷模板")
@Schema(description = "是否使用第三方平台缺陷模板")
private Boolean thirdPartTemplate;
@Schema(title = "是否开启版本管理")
@Schema(description = "是否开启版本管理")
private Boolean versionEnable;
@Schema(title = "")
@Schema(description = "")
private String issueConfig;
@Schema(title = "")
@Schema(description = "")
private String apiTemplateId;
private static final long serialVersionUID = 1L;

View File

@ -10,44 +10,44 @@ import lombok.Data;
@Data
public class ProjectVersion implements Serializable {
@Schema(title = "版本ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "版本ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{project_version.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{project_version.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{project_version.project_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{project_version.project_id.length_range}", groups = {Created.class, Updated.class})
private String projectId;
@Schema(title = "版本名称", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "版本名称", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{project_version.name.not_blank}", groups = {Created.class})
@Size(min = 1, max = 255, message = "{project_version.name.length_range}", groups = {Created.class, Updated.class})
private String name;
@Schema(title = "描述")
@Schema(description = "描述")
private String description;
@Schema(title = "状态")
@Schema(description = "状态")
private String status;
@Schema(title = "是否是最新版", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "是否是最新版", requiredMode = Schema.RequiredMode.REQUIRED)
@NotNull(message = "{project_version.latest.not_blank}", groups = {Created.class})
private Boolean latest;
@Schema(title = "发布时间")
@Schema(description = "发布时间")
private Long publishTime;
@Schema(title = "开始时间")
@Schema(description = "开始时间")
private Long startTime;
@Schema(title = "结束时间")
@Schema(description = "结束时间")
private Long endTime;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
private static final long serialVersionUID = 1L;

View File

@ -8,52 +8,52 @@ import lombok.Data;
@Data
public class Environment implements Serializable {
@Schema(title = "环境ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "环境ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{environment.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{environment.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "环境名称", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "环境名称", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{environment.name.not_blank}", groups = {Created.class})
@Size(min = 1, max = 255, message = "{environment.name.length_range}", groups = {Created.class, Updated.class})
private String name;
@Schema(title = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{environment.project_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{environment.project_id.length_range}", groups = {Created.class, Updated.class})
private String projectId;
@Schema(title = "协议")
@Schema(description = "协议")
private String protocol;
@Schema(title = "")
@Schema(description = "")
private String socket;
@Schema(title = "域名/IP")
@Schema(description = "域名/IP")
private String domain;
@Schema(title = "端口")
@Schema(description = "端口")
private Integer port;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "更新时间")
@Schema(description = "更新时间")
private Long updateTime;
@Schema(title = "全局变量")
@Schema(description = "全局变量")
private String variables;
@Schema(title = "请求头")
@Schema(description = "请求头")
private String headers;
@Schema(title = "Config Data (JSON format)")
@Schema(description = "Config Data (JSON format)")
private String config;
@Schema(title = "hosts")
@Schema(description = "hosts")
private String hosts;
private static final long serialVersionUID = 1L;

View File

@ -8,31 +8,31 @@ import lombok.Data;
@Data
public class EnvironmentGroup implements Serializable {
@Schema(title = "环境组id", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "环境组id", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{environment_group.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{environment_group.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "环境组名", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "环境组名", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{environment_group.name.not_blank}", groups = {Created.class})
@Size(min = 1, max = 255, message = "{environment_group.name.length_range}", groups = {Created.class, Updated.class})
private String name;
@Schema(title = "所属组织", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "所属组织", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{environment_group.organization_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{environment_group.organization_id.length_range}", groups = {Created.class, Updated.class})
private String organizationId;
@Schema(title = "环境组描述")
@Schema(description = "环境组描述")
private String description;
@Schema(title = "创建人")
@Schema(description = "创建人")
private String createUser;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "更新时间")
@Schema(description = "更新时间")
private Long updateTime;
private static final long serialVersionUID = 1L;

View File

@ -8,18 +8,18 @@ import lombok.Data;
@Data
public class EnvironmentGroupProject implements Serializable {
@Schema(title = "", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{environment_group_project.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{environment_group_project.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "环境组id")
@Schema(description = "环境组id")
private String environmentGroupId;
@Schema(title = "环境ID")
@Schema(description = "环境ID")
private String environmentId;
@Schema(title = "项目id")
@Schema(description = "项目id")
private String projectId;
private static final long serialVersionUID = 1L;

View File

@ -8,35 +8,35 @@ import lombok.Data;
@Data
public class ExecutionQueue implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{execution_queue.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{execution_queue.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "集合报告/测试计划报告", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "集合报告/测试计划报告", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{execution_queue.report_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{execution_queue.report_id.length_range}", groups = {Created.class, Updated.class})
private String reportId;
@Schema(title = "报告类型/计划报告/单独报告", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "报告类型/计划报告/单独报告", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{execution_queue.report_type.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{execution_queue.report_type.length_range}", groups = {Created.class, Updated.class})
private String reportType;
@Schema(title = "执行模式/scenario/api/test_paln_api/test_pan_scenario", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "执行模式/scenario/api/test_paln_api/test_pan_scenario", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{execution_queue.run_mode.not_blank}", groups = {Created.class})
@Size(min = 1, max = 100, message = "{execution_queue.run_mode.length_range}", groups = {Created.class, Updated.class})
private String runMode;
@Schema(title = "执行资源池", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "执行资源池", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{execution_queue.pool_id.not_blank}", groups = {Created.class})
@Size(min = 1, max = 50, message = "{execution_queue.pool_id.length_range}", groups = {Created.class, Updated.class})
private String poolId;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "")
@Schema(description = "")
private Boolean failure;
private static final long serialVersionUID = 1L;

View File

@ -8,39 +8,39 @@ import lombok.Data;
@Data
public class ExecutionQueueDetail implements Serializable {
@Schema(title = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{execution_queue_detail.id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 50, message = "{execution_queue_detail.id.length_range}", groups = {Created.class, Updated.class})
private String id;
@Schema(title = "队列id")
@Schema(description = "队列id")
private String queueId;
@Schema(title = "排序")
@Schema(description = "排序")
private Integer sort;
@Schema(title = "报告id")
@Schema(description = "报告id")
private String reportId;
@Schema(title = "资源id")
@Schema(description = "资源id")
private String testId;
@Schema(title = "资源类型")
@Schema(description = "资源类型")
private String type;
@Schema(title = "创建时间")
@Schema(description = "创建时间")
private Long createTime;
@Schema(title = "是否开启失败重试")
@Schema(description = "是否开启失败重试")
private Boolean retryEnable;
@Schema(title = "失败重试次数")
@Schema(description = "失败重试次数")
private Long retryNumber;
@Schema(title = "项目ID集合")
@Schema(description = "项目ID集合")
private String projectIds;
@Schema(title = "环境")
@Schema(description = "环境")
private String evnMap;
private static final long serialVersionUID = 1L;

Some files were not shown because too many files have changed in this diff Show More