build: spring data jdbc
This commit is contained in:
parent
f2c51e0feb
commit
4dd20be507
|
@ -1,6 +1,5 @@
|
||||||
package io.metersphere;
|
package io.metersphere;
|
||||||
|
|
||||||
import org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration;
|
|
||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
import org.springframework.boot.autoconfigure.ldap.LdapAutoConfiguration;
|
import org.springframework.boot.autoconfigure.ldap.LdapAutoConfiguration;
|
||||||
|
@ -12,8 +11,7 @@ import org.springframework.context.annotation.PropertySource;
|
||||||
@SpringBootApplication(exclude = {
|
@SpringBootApplication(exclude = {
|
||||||
QuartzAutoConfiguration.class,
|
QuartzAutoConfiguration.class,
|
||||||
LdapAutoConfiguration.class,
|
LdapAutoConfiguration.class,
|
||||||
Neo4jAutoConfiguration.class,
|
Neo4jAutoConfiguration.class
|
||||||
MybatisAutoConfiguration.class
|
|
||||||
})
|
})
|
||||||
@PropertySource(value = {
|
@PropertySource(value = {
|
||||||
"classpath:commons.properties",
|
"classpath:commons.properties",
|
||||||
|
|
|
@ -14,14 +14,13 @@
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<artifactId>mybatis-plus-annotation</artifactId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<groupId>com.baomidou</groupId>
|
<artifactId>spring-boot-starter-validation</artifactId>
|
||||||
<version>${mybatis-plus-starter.version}</version>
|
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.data</groupId>
|
||||||
<artifactId>spring-boot-starter-validation</artifactId>
|
<artifactId>spring-data-jdbc</artifactId>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.api.domain;
|
package io.metersphere.api.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,12 +13,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "接口定义")
|
@ApiModel(value = "接口定义")
|
||||||
@TableName("api_definition")
|
@Table("api_definition")
|
||||||
@Data
|
@Data
|
||||||
public class ApiDefinition implements Serializable {
|
public class ApiDefinition implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{api_definition.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{api_definition.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "接口pk", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "接口pk", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
package io.metersphere.api.domain;
|
package io.metersphere.api.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
@ -13,13 +13,13 @@ import lombok.EqualsAndHashCode;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "接口定义详情内容")
|
@ApiModel(value = "接口定义详情内容")
|
||||||
@TableName("api_definition_blob")
|
@Table("api_definition_blob")
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper=false)
|
@EqualsAndHashCode(callSuper=false)
|
||||||
public class ApiDefinitionBlob extends ApiDefinition implements Serializable {
|
public class ApiDefinitionBlob extends ApiDefinition implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{api_definition_blob.api_definition_id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{api_definition_blob.api_definition_id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "接口fk/ 一对一关系", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "接口fk/ 一对一关系", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
|
|
||||||
package io.metersphere.api.domain;
|
package io.metersphere.api.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -9,11 +8,12 @@ import io.swagger.annotations.ApiModelProperty;
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import jakarta.validation.constraints.Size;
|
import jakarta.validation.constraints.Size;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "接口定义关注人")
|
@ApiModel(value = "接口定义关注人")
|
||||||
@TableName("api_definition_follow")
|
@Table("api_definition_follow")
|
||||||
@Data
|
@Data
|
||||||
public class ApiDefinitionFollow implements Serializable {
|
public class ApiDefinitionFollow implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
package io.metersphere.api.domain;
|
package io.metersphere.api.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -14,12 +14,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "mock 配置")
|
@ApiModel(value = "mock 配置")
|
||||||
@TableName("api_definition_mock")
|
@Table("api_definition_mock")
|
||||||
@Data
|
@Data
|
||||||
public class ApiDefinitionMock implements Serializable {
|
public class ApiDefinitionMock implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{api_definition_mock.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{api_definition_mock.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "mock pk", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "mock pk", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
package io.metersphere.api.domain;
|
package io.metersphere.api.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
@ -12,12 +12,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "mock期望值配置")
|
@ApiModel(value = "mock期望值配置")
|
||||||
@TableName("api_definition_mock_config")
|
@Table("api_definition_mock_config")
|
||||||
@Data
|
@Data
|
||||||
public class ApiDefinitionMockConfig extends ApiDefinitionMock implements Serializable {
|
public class ApiDefinitionMockConfig extends ApiDefinitionMock implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{api_definition_mock_config.api_definition_mock_id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{api_definition_mock_config.api_definition_mock_id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "接口mock pk", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "接口mock pk", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
package io.metersphere.api.domain;
|
package io.metersphere.api.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -14,12 +14,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "接口模块")
|
@ApiModel(value = "接口模块")
|
||||||
@TableName("api_definition_module")
|
@Table("api_definition_module")
|
||||||
@Data
|
@Data
|
||||||
public class ApiDefinitionModule implements Serializable {
|
public class ApiDefinitionModule implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{api_definition_module.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{api_definition_module.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "接口模块pk", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "接口模块pk", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
package io.metersphere.api.domain;
|
package io.metersphere.api.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -14,12 +14,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "定时同步配置")
|
@ApiModel(value = "定时同步配置")
|
||||||
@TableName("api_definition_swagger")
|
@Table("api_definition_swagger")
|
||||||
@Data
|
@Data
|
||||||
public class ApiDefinitionSwagger implements Serializable {
|
public class ApiDefinitionSwagger implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{api_definition_swagger.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{api_definition_swagger.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "主键", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "主键", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
package io.metersphere.api.domain;
|
package io.metersphere.api.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -14,12 +14,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "接口定义公共部分环境")
|
@ApiModel(value = "接口定义公共部分环境")
|
||||||
@TableName("api_environment_config")
|
@Table("api_environment_config")
|
||||||
@Data
|
@Data
|
||||||
public class ApiEnvironmentConfig implements Serializable {
|
public class ApiEnvironmentConfig implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{api_definition_env.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{api_definition_env.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
package io.metersphere.api.domain;
|
package io.metersphere.api.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -14,12 +14,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "误报库")
|
@ApiModel(value = "误报库")
|
||||||
@TableName("api_fake_error_config")
|
@Table("api_fake_error_config")
|
||||||
@Data
|
@Data
|
||||||
public class ApiFakeErrorConfig implements Serializable {
|
public class ApiFakeErrorConfig implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{api_fake_error_config.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{api_fake_error_config.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "误报pk", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "误报pk", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
package io.metersphere.api.domain;
|
package io.metersphere.api.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -14,12 +14,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "API/CASE执行结果")
|
@ApiModel(value = "API/CASE执行结果")
|
||||||
@TableName("api_report")
|
@Table("api_report")
|
||||||
@Data
|
@Data
|
||||||
public class ApiReport implements Serializable {
|
public class ApiReport implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{api_report.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{api_report.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "接口结果报告pk", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "接口结果报告pk", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
package io.metersphere.api.domain;
|
package io.metersphere.api.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
@ -13,13 +13,13 @@ import lombok.EqualsAndHashCode;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "API/CASE执行结果详情")
|
@ApiModel(value = "API/CASE执行结果详情")
|
||||||
@TableName("api_report_blob")
|
@Table("api_report_blob")
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper=false)
|
@EqualsAndHashCode(callSuper=false)
|
||||||
public class ApiReportBlob extends ApiReport implements Serializable {
|
public class ApiReportBlob extends ApiReport implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{api_report_blob.api_report_id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{api_report_blob.api_report_id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "接口报告fk", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "接口报告fk", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
package io.metersphere.api.domain;
|
package io.metersphere.api.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -14,12 +14,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "场景")
|
@ApiModel(value = "场景")
|
||||||
@TableName("api_scenario")
|
@Table("api_scenario")
|
||||||
@Data
|
@Data
|
||||||
public class ApiScenario implements Serializable {
|
public class ApiScenario implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{api_scenario.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{api_scenario.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
package io.metersphere.api.domain;
|
package io.metersphere.api.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
@ -13,13 +13,13 @@ import lombok.EqualsAndHashCode;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "场景步骤详情")
|
@ApiModel(value = "场景步骤详情")
|
||||||
@TableName("api_scenario_blob")
|
@Table("api_scenario_blob")
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper=false)
|
@EqualsAndHashCode(callSuper=false)
|
||||||
public class ApiScenarioBlob extends ApiScenario implements Serializable {
|
public class ApiScenarioBlob extends ApiScenario implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{api_scenario_blob.api_scenario_id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{api_scenario_blob.api_scenario_id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "场景pk", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "场景pk", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
package io.metersphere.api.domain;
|
package io.metersphere.api.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -14,12 +14,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "场景环境")
|
@ApiModel(value = "场景环境")
|
||||||
@TableName("api_scenario_environment")
|
@Table("api_scenario_environment")
|
||||||
@Data
|
@Data
|
||||||
public class ApiScenarioEnvironment implements Serializable {
|
public class ApiScenarioEnvironment implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{api_scenario_environment.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{api_scenario_environment.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "场景环境pk", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "场景环境pk", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
|
|
||||||
package io.metersphere.api.domain;
|
package io.metersphere.api.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -9,11 +8,12 @@ import io.swagger.annotations.ApiModelProperty;
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import jakarta.validation.constraints.Size;
|
import jakarta.validation.constraints.Size;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "关注记录")
|
@ApiModel(value = "关注记录")
|
||||||
@TableName("api_scenario_follow")
|
@Table("api_scenario_follow")
|
||||||
@Data
|
@Data
|
||||||
public class ApiScenarioFollow implements Serializable {
|
public class ApiScenarioFollow implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
package io.metersphere.api.domain;
|
package io.metersphere.api.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -14,12 +14,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "场景模块")
|
@ApiModel(value = "场景模块")
|
||||||
@TableName("api_scenario_module")
|
@Table("api_scenario_module")
|
||||||
@Data
|
@Data
|
||||||
public class ApiScenarioModule implements Serializable {
|
public class ApiScenarioModule implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{api_scenario_module.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{api_scenario_module.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "场景模块pk", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "场景模块pk", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
package io.metersphere.api.domain;
|
package io.metersphere.api.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -14,12 +14,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "场景步骤引用CASE关系记录")
|
@ApiModel(value = "场景步骤引用CASE关系记录")
|
||||||
@TableName("api_scenario_reference")
|
@Table("api_scenario_reference")
|
||||||
@Data
|
@Data
|
||||||
public class ApiScenarioReference implements Serializable {
|
public class ApiScenarioReference implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{api_scenario_reference.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{api_scenario_reference.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "引用关系pk", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "引用关系pk", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
package io.metersphere.api.domain;
|
package io.metersphere.api.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -14,12 +14,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "场景报告")
|
@ApiModel(value = "场景报告")
|
||||||
@TableName("api_scenario_report")
|
@Table("api_scenario_report")
|
||||||
@Data
|
@Data
|
||||||
public class ApiScenarioReport implements Serializable {
|
public class ApiScenarioReport implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{api_scenario_report.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{api_scenario_report.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "场景报告pk", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "场景报告pk", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
package io.metersphere.api.domain;
|
package io.metersphere.api.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -15,13 +15,13 @@ import lombok.EqualsAndHashCode;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "场景报告步骤结果")
|
@ApiModel(value = "场景报告步骤结果")
|
||||||
@TableName("api_scenario_report_detail")
|
@Table("api_scenario_report_detail")
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper=false)
|
@EqualsAndHashCode(callSuper=false)
|
||||||
public class ApiScenarioReportDetail extends ApiScenarioReport implements Serializable {
|
public class ApiScenarioReportDetail extends ApiScenarioReport implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{api_scenario_report_detail.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{api_scenario_report_detail.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
package io.metersphere.api.domain;
|
package io.metersphere.api.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
@ -12,12 +12,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "场景报告过程日志")
|
@ApiModel(value = "场景报告过程日志")
|
||||||
@TableName("api_scenario_report_log")
|
@Table("api_scenario_report_log")
|
||||||
@Data
|
@Data
|
||||||
public class ApiScenarioReportLog implements Serializable {
|
public class ApiScenarioReportLog implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{api_scenario_report_log.report_id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{api_scenario_report_log.report_id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "请求资源 id", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "请求资源 id", required = true, allowableValues = "range[1, 50]")
|
||||||
private String reportId;
|
private String reportId;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
package io.metersphere.api.domain;
|
package io.metersphere.api.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
@ -12,12 +12,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "场景报告结构")
|
@ApiModel(value = "场景报告结构")
|
||||||
@TableName("api_scenario_report_structure")
|
@Table("api_scenario_report_structure")
|
||||||
@Data
|
@Data
|
||||||
public class ApiScenarioReportStructure implements Serializable {
|
public class ApiScenarioReportStructure implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{api_scenario_report_structure.report_id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{api_scenario_report_structure.report_id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "请求资源 id", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "请求资源 id", required = true, allowableValues = "range[1, 50]")
|
||||||
private String reportId;
|
private String reportId;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
package io.metersphere.api.domain;
|
package io.metersphere.api.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -14,12 +14,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "接口同步用例配置")
|
@ApiModel(value = "接口同步用例配置")
|
||||||
@TableName("api_sync_config")
|
@Table("api_sync_config")
|
||||||
@Data
|
@Data
|
||||||
public class ApiSyncConfig implements Serializable {
|
public class ApiSyncConfig implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{api_sync_config.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{api_sync_config.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
package io.metersphere.api.domain;
|
package io.metersphere.api.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -14,12 +14,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "接口用例")
|
@ApiModel(value = "接口用例")
|
||||||
@TableName("api_test_case")
|
@Table("api_test_case")
|
||||||
@Data
|
@Data
|
||||||
public class ApiTestCase implements Serializable {
|
public class ApiTestCase implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{api_test_case.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{api_test_case.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "接口用例pk", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "接口用例pk", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
package io.metersphere.api.domain;
|
package io.metersphere.api.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
@ -13,13 +13,13 @@ import lombok.EqualsAndHashCode;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "接口用例详情")
|
@ApiModel(value = "接口用例详情")
|
||||||
@TableName("api_test_case_blob")
|
@Table("api_test_case_blob")
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper=false)
|
@EqualsAndHashCode(callSuper=false)
|
||||||
public class ApiTestCaseBlob extends ApiTestCase implements Serializable {
|
public class ApiTestCaseBlob extends ApiTestCase implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{api_test_case_blob.api_test_case_id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{api_test_case_blob.api_test_case_id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "接口用例pk", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "接口用例pk", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
|
|
||||||
package io.metersphere.api.domain;
|
package io.metersphere.api.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -9,11 +8,12 @@ import io.swagger.annotations.ApiModelProperty;
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import jakarta.validation.constraints.Size;
|
import jakarta.validation.constraints.Size;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "接口用例关注人")
|
@ApiModel(value = "接口用例关注人")
|
||||||
@TableName("api_test_case_follow")
|
@Table("api_test_case_follow")
|
||||||
@Data
|
@Data
|
||||||
public class ApiTestCaseFollow implements Serializable {
|
public class ApiTestCaseFollow implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.functional.domain;
|
package io.metersphere.functional.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,12 +13,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "用例评审")
|
@ApiModel(value = "用例评审")
|
||||||
@TableName("case_review")
|
@Table("case_review")
|
||||||
@Data
|
@Data
|
||||||
public class CaseReview implements Serializable {
|
public class CaseReview implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{case_review.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{case_review.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.functional.domain;
|
package io.metersphere.functional.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
@ -11,12 +11,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "用例评审关注人")
|
@ApiModel(value = "用例评审关注人")
|
||||||
@TableName("case_review_follow")
|
@Table("case_review_follow")
|
||||||
@Data
|
@Data
|
||||||
public class CaseReviewFollow implements Serializable {
|
public class CaseReviewFollow implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{case_review_follow.review_id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{case_review_follow.review_id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "评审ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "评审ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String reviewId;
|
private String reviewId;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.functional.domain;
|
package io.metersphere.functional.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,12 +13,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "用例评审和功能用例的中间表")
|
@ApiModel(value = "用例评审和功能用例的中间表")
|
||||||
@TableName("case_review_functional_case")
|
@Table("case_review_functional_case")
|
||||||
@Data
|
@Data
|
||||||
public class CaseReviewFunctionalCase implements Serializable {
|
public class CaseReviewFunctionalCase implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{case_review_functional_case.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{case_review_functional_case.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
package io.metersphere.functional.domain;
|
package io.metersphere.functional.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -8,11 +7,12 @@ import io.swagger.annotations.ApiModelProperty;
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import jakarta.validation.constraints.Size;
|
import jakarta.validation.constraints.Size;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "功能用例评审和评审人的中间表")
|
@ApiModel(value = "功能用例评审和评审人的中间表")
|
||||||
@TableName("case_review_functional_case_user")
|
@Table("case_review_functional_case_user")
|
||||||
@Data
|
@Data
|
||||||
public class CaseReviewFunctionalCaseUser implements Serializable {
|
public class CaseReviewFunctionalCaseUser implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
package io.metersphere.functional.domain;
|
package io.metersphere.functional.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "评审和评审人中间表")
|
@ApiModel(value = "评审和评审人中间表")
|
||||||
@TableName("case_review_user")
|
@Table("case_review_user")
|
||||||
@Data
|
@Data
|
||||||
public class CaseReviewUser implements Serializable {
|
public class CaseReviewUser implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
package io.metersphere.functional.domain;
|
package io.metersphere.functional.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "自定义字段功能用例关系")
|
@ApiModel(value = "自定义字段功能用例关系")
|
||||||
@TableName("custom_field_test_case")
|
@Table("custom_field_test_case")
|
||||||
@Data
|
@Data
|
||||||
public class CustomFieldTestCase implements Serializable {
|
public class CustomFieldTestCase implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package io.metersphere.functional.domain;
|
package io.metersphere.functional.domain;
|
||||||
|
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -14,13 +14,13 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "功能用例")
|
@ApiModel(value = "功能用例")
|
||||||
@TableName("functional_case")
|
@Table("functional_case")
|
||||||
@Data
|
@Data
|
||||||
public class FunctionalCase implements Serializable {
|
public class FunctionalCase implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{functional_case.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{functional_case.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
package io.metersphere.functional.domain;
|
package io.metersphere.functional.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "功能用例和附件的中间表")
|
@ApiModel(value = "功能用例和附件的中间表")
|
||||||
@TableName("functional_case_attachment")
|
@Table("functional_case_attachment")
|
||||||
@Data
|
@Data
|
||||||
public class FunctionalCaseAttachment implements Serializable {
|
public class FunctionalCaseAttachment implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
package io.metersphere.functional.domain;
|
package io.metersphere.functional.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "功能用例")
|
@ApiModel(value = "功能用例")
|
||||||
@TableName("functional_case_blob")
|
@Table("functional_case_blob")
|
||||||
@Data
|
@Data
|
||||||
public class FunctionalCaseBlob extends FunctionalCase implements Serializable {
|
public class FunctionalCaseBlob extends FunctionalCase implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
|
@ -2,8 +2,8 @@ package io.metersphere.functional.domain;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,12 +13,12 @@ import jakarta.validation.constraints.Size;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
@ApiModel(value = "功能用例评论")
|
@ApiModel(value = "功能用例评论")
|
||||||
@TableName("functional_case_comment")
|
@Table("functional_case_comment")
|
||||||
@Data
|
@Data
|
||||||
public class FunctionalCaseComment implements Serializable {
|
public class FunctionalCaseComment implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{functional_case_comment.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{functional_case_comment.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
package io.metersphere.functional.domain;
|
package io.metersphere.functional.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "功能用例和关注人的中间表")
|
@ApiModel(value = "功能用例和关注人的中间表")
|
||||||
@TableName("functional_case_follow")
|
@Table("functional_case_follow")
|
||||||
@Data
|
@Data
|
||||||
public class FunctionalCaseFollow implements Serializable {
|
public class FunctionalCaseFollow implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
|
@ -2,8 +2,8 @@ package io.metersphere.functional.domain;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,12 +13,12 @@ import jakarta.validation.constraints.Size;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
@ApiModel(value = "功能用例模块")
|
@ApiModel(value = "功能用例模块")
|
||||||
@TableName("functional_case_module")
|
@Table("functional_case_module")
|
||||||
@Data
|
@Data
|
||||||
public class FunctionalCaseModule implements Serializable {
|
public class FunctionalCaseModule implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{functional_case_module.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{functional_case_module.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.functional.domain;
|
package io.metersphere.functional.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,11 +13,11 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "功能用例的前后置关系")
|
@ApiModel(value = "功能用例的前后置关系")
|
||||||
@TableName("functional_case_relationship_edge")
|
@Table("functional_case_relationship_edge")
|
||||||
@Data
|
@Data
|
||||||
public class FunctionalCaseRelationshipEdge implements Serializable {
|
public class FunctionalCaseRelationshipEdge implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{functional_case_relationship_edge.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{functional_case_relationship_edge.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.functional.domain;
|
package io.metersphere.functional.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,12 +13,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "功能用例和其他用例的中间表")
|
@ApiModel(value = "功能用例和其他用例的中间表")
|
||||||
@TableName("functional_case_test")
|
@Table("functional_case_test")
|
||||||
@Data
|
@Data
|
||||||
public class FunctionalCaseTest implements Serializable {
|
public class FunctionalCaseTest implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{functional_case_test.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{functional_case_test.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.functional.domain;
|
package io.metersphere.functional.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -12,11 +12,11 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "脑图临时节点")
|
@ApiModel(value = "脑图临时节点")
|
||||||
@TableName("minder_extra_node")
|
@Table("minder_extra_node")
|
||||||
@Data
|
@Data
|
||||||
public class MinderExtraNode implements Serializable {
|
public class MinderExtraNode implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{minder_extra_node.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{minder_extra_node.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "ID", required = true, allowableValues="range[1, 50]")
|
@ApiModelProperty(name = "ID", required = true, allowableValues="range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.load.domain;
|
package io.metersphere.load.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,11 +13,11 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "性能测试用例")
|
@ApiModel(value = "性能测试用例")
|
||||||
@TableName("load_test")
|
@Table("load_test")
|
||||||
@Data
|
@Data
|
||||||
public class LoadTest implements Serializable {
|
public class LoadTest implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{load_test.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{load_test.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "测试ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "测试ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.load.domain;
|
package io.metersphere.load.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -12,11 +12,11 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "关联场景测试和性能测试")
|
@ApiModel(value = "关联场景测试和性能测试")
|
||||||
@TableName("load_test_api")
|
@Table("load_test_api")
|
||||||
@Data
|
@Data
|
||||||
public class LoadTestApi implements Serializable {
|
public class LoadTestApi implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{load_test_api.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{load_test_api.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "ID", required = true, allowableValues="range[1, 50]")
|
@ApiModelProperty(name = "ID", required = true, allowableValues="range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.load.domain;
|
package io.metersphere.load.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -14,12 +14,12 @@ import lombok.EqualsAndHashCode;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "性能测试用例大字段")
|
@ApiModel(value = "性能测试用例大字段")
|
||||||
@TableName("load_test_blob")
|
@Table("load_test_blob")
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper=false)
|
@EqualsAndHashCode(callSuper=false)
|
||||||
public class LoadTestBlob implements Serializable {
|
public class LoadTestBlob implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{load_test_blob.test_id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{load_test_blob.test_id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "测试ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "测试ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String testId;
|
private String testId;
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
package io.metersphere.load.domain;
|
package io.metersphere.load.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -8,11 +7,12 @@ import io.swagger.annotations.ApiModelProperty;
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import jakarta.validation.constraints.Size;
|
import jakarta.validation.constraints.Size;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "测试和文件的关联表")
|
@ApiModel(value = "测试和文件的关联表")
|
||||||
@TableName("load_test_file")
|
@Table("load_test_file")
|
||||||
@Data
|
@Data
|
||||||
public class LoadTestFile implements Serializable {
|
public class LoadTestFile implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
package io.metersphere.load.domain;
|
package io.metersphere.load.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -8,11 +7,12 @@ import io.swagger.annotations.ApiModelProperty;
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import jakarta.validation.constraints.Size;
|
import jakarta.validation.constraints.Size;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "性能用例关注人")
|
@ApiModel(value = "性能用例关注人")
|
||||||
@TableName("load_test_follow")
|
@Table("load_test_follow")
|
||||||
@Data
|
@Data
|
||||||
public class LoadTestFollow implements Serializable {
|
public class LoadTestFollow implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.load.domain;
|
package io.metersphere.load.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -12,11 +12,11 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "性能报告")
|
@ApiModel(value = "性能报告")
|
||||||
@TableName("load_test_report")
|
@Table("load_test_report")
|
||||||
@Data
|
@Data
|
||||||
public class LoadTestReport implements Serializable {
|
public class LoadTestReport implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{load_test_report.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{load_test_report.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "报告ID", required = true, allowableValues="range[1, 50]")
|
@ApiModelProperty(name = "报告ID", required = true, allowableValues="range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.load.domain;
|
package io.metersphere.load.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
@ -12,12 +12,12 @@ import lombok.EqualsAndHashCode;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "性能报告大字段")
|
@ApiModel(value = "性能报告大字段")
|
||||||
@TableName("load_test_report_blob")
|
@Table("load_test_report_blob")
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper=false)
|
@EqualsAndHashCode(callSuper=false)
|
||||||
public class LoadTestReportBlob implements Serializable {
|
public class LoadTestReportBlob implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{load_test_report_blob.report_id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{load_test_report_blob.report_id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "报告ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "报告ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String reportId;
|
private String reportId;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.load.domain;
|
package io.metersphere.load.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -12,7 +12,7 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "测试报告文件关联表")
|
@ApiModel(value = "测试报告文件关联表")
|
||||||
@TableName("load_test_report_file")
|
@Table("load_test_report_file")
|
||||||
@Data
|
@Data
|
||||||
public class LoadTestReportFile implements Serializable {
|
public class LoadTestReportFile implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.load.domain;
|
package io.metersphere.load.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -12,11 +12,11 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "报告日志jmeter.log")
|
@ApiModel(value = "报告日志jmeter.log")
|
||||||
@TableName("load_test_report_log")
|
@Table("load_test_report_log")
|
||||||
@Data
|
@Data
|
||||||
public class LoadTestReportLog implements Serializable {
|
public class LoadTestReportLog implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{load_test_report_log.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{load_test_report_log.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "主键无实际意义", required = true, allowableValues="range[1, 50]")
|
@ApiModelProperty(name = "主键无实际意义", required = true, allowableValues="range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.load.domain;
|
package io.metersphere.load.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,11 +13,11 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "报告结果")
|
@ApiModel(value = "报告结果")
|
||||||
@TableName("load_test_report_result")
|
@Table("load_test_report_result")
|
||||||
@Data
|
@Data
|
||||||
public class LoadTestReportResult implements Serializable {
|
public class LoadTestReportResult implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{load_test_report_result.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{load_test_report_result.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "主键无实际意义", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "主键无实际意义", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.load.domain;
|
package io.metersphere.load.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
@ -11,21 +11,21 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "部分报告结果")
|
@ApiModel(value = "部分报告结果")
|
||||||
@TableName("load_test_report_result_part")
|
@Table("load_test_report_result_part")
|
||||||
@Data
|
@Data
|
||||||
public class LoadTestReportResultPart implements Serializable {
|
public class LoadTestReportResultPart implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{load_test_report_result_part.report_id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{load_test_report_result_part.report_id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "报告ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "报告ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String reportId;
|
private String reportId;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{load_test_report_result_part.report_key.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{load_test_report_result_part.report_key.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "报告项目key", required = true, allowableValues = "range[1, 64]")
|
@ApiModelProperty(name = "报告项目key", required = true, allowableValues = "range[1, 64]")
|
||||||
private String reportKey;
|
private String reportKey;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{load_test_report_result_part.resource_index.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{load_test_report_result_part.resource_index.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "资源节点索引号", required = true, dataType = "Integer")
|
@ApiModelProperty(name = "资源节点索引号", required = true, dataType = "Integer")
|
||||||
private Integer resourceIndex;
|
private Integer resourceIndex;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.load.domain;
|
package io.metersphere.load.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -12,26 +12,26 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "即时报告结果")
|
@ApiModel(value = "即时报告结果")
|
||||||
@TableName("load_test_report_result_realtime")
|
@Table("load_test_report_result_realtime")
|
||||||
@Data
|
@Data
|
||||||
public class LoadTestReportResultRealtime implements Serializable {
|
public class LoadTestReportResultRealtime implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{load_test_report_result_realtime.report_id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{load_test_report_result_realtime.report_id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "报告ID", required = true, allowableValues="range[1, 50]")
|
@ApiModelProperty(name = "报告ID", required = true, allowableValues="range[1, 50]")
|
||||||
private String reportId;
|
private String reportId;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{load_test_report_result_realtime.report_key.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{load_test_report_result_realtime.report_key.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "报告项目key", required = true, allowableValues="range[1, 64]")
|
@ApiModelProperty(name = "报告项目key", required = true, allowableValues="range[1, 64]")
|
||||||
private String reportKey;
|
private String reportKey;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{load_test_report_result_realtime.resource_index.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{load_test_report_result_realtime.resource_index.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "资源节点索引号", required = true, dataType = "Integer")
|
@ApiModelProperty(name = "资源节点索引号", required = true, dataType = "Integer")
|
||||||
private Integer resourceIndex;
|
private Integer resourceIndex;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{load_test_report_result_realtime.sort.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{load_test_report_result_realtime.sort.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "报告项目内容排序", required = true, dataType = "Integer")
|
@ApiModelProperty(name = "报告项目内容排序", required = true, dataType = "Integer")
|
||||||
private Integer sort;
|
private Integer sort;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.project.domain;
|
package io.metersphere.project.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,12 +13,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "API模版表")
|
@ApiModel(value = "API模版表")
|
||||||
@TableName("api_template")
|
@Table("api_template")
|
||||||
@Data
|
@Data
|
||||||
public class ApiTemplate implements Serializable {
|
public class ApiTemplate implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{api_template.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{api_template.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "模版ID", required = true, allowableValues = "range[1, 100]")
|
@ApiModelProperty(name = "模版ID", required = true, allowableValues = "range[1, 100]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.project.domain;
|
package io.metersphere.project.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -12,12 +12,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "自定义字段")
|
@ApiModel(value = "自定义字段")
|
||||||
@TableName("custom_field")
|
@Table("custom_field")
|
||||||
@Data
|
@Data
|
||||||
public class CustomField implements Serializable {
|
public class CustomField implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{custom_field.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{custom_field.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "自定义字段ID", required = true, allowableValues="range[1, 100]")
|
@ApiModelProperty(name = "自定义字段ID", required = true, allowableValues="range[1, 100]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.project.domain;
|
package io.metersphere.project.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -12,12 +12,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "自定义模版")
|
@ApiModel(value = "自定义模版")
|
||||||
@TableName("custom_field_template")
|
@Table("custom_field_template")
|
||||||
@Data
|
@Data
|
||||||
public class CustomFieldTemplate implements Serializable {
|
public class CustomFieldTemplate implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{custom_field_template.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{custom_field_template.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "自定义模版ID", required = true, allowableValues="range[1, 50]")
|
@ApiModelProperty(name = "自定义模版ID", required = true, allowableValues="range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.project.domain;
|
package io.metersphere.project.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,12 +13,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "自定义函数-代码片段")
|
@ApiModel(value = "自定义函数-代码片段")
|
||||||
@TableName("custom_function")
|
@Table("custom_function")
|
||||||
@Data
|
@Data
|
||||||
public class CustomFunction implements Serializable {
|
public class CustomFunction implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{custom_function.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{custom_function.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.project.domain;
|
package io.metersphere.project.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
@ -12,13 +12,13 @@ import lombok.EqualsAndHashCode;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "自定义函数-代码片段大字段")
|
@ApiModel(value = "自定义函数-代码片段大字段")
|
||||||
@TableName("custom_function_blob")
|
@Table("custom_function_blob")
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper=false)
|
@EqualsAndHashCode(callSuper=false)
|
||||||
public class CustomFunctionBlob implements Serializable {
|
public class CustomFunctionBlob implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{custom_function_blob.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{custom_function_blob.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.project.domain;
|
package io.metersphere.project.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,12 +13,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "误报库")
|
@ApiModel(value = "误报库")
|
||||||
@TableName("fake_error")
|
@Table("fake_error")
|
||||||
@Data
|
@Data
|
||||||
public class FakeError implements Serializable {
|
public class FakeError implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{fake_error.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{fake_error.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "误报ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "误报ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.project.domain;
|
package io.metersphere.project.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -14,13 +14,13 @@ import lombok.EqualsAndHashCode;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "误报库大字段")
|
@ApiModel(value = "误报库大字段")
|
||||||
@TableName("fake_error_blob")
|
@Table("fake_error_blob")
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper=false)
|
@EqualsAndHashCode(callSuper=false)
|
||||||
public class FakeErrorBlob implements Serializable {
|
public class FakeErrorBlob implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{fake_error_blob.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{fake_error_blob.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "Test ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "Test ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.project.domain;
|
package io.metersphere.project.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,12 +13,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "文件基础信息")
|
@ApiModel(value = "文件基础信息")
|
||||||
@TableName("file_metadata")
|
@Table("file_metadata")
|
||||||
@Data
|
@Data
|
||||||
public class FileMetadata implements Serializable {
|
public class FileMetadata implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{file_metadata.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{file_metadata.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "文件ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "文件ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.project.domain;
|
package io.metersphere.project.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -14,13 +14,13 @@ import lombok.EqualsAndHashCode;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "文件基础信息大字段")
|
@ApiModel(value = "文件基础信息大字段")
|
||||||
@TableName("file_metadata_blob")
|
@Table("file_metadata_blob")
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper=false)
|
@EqualsAndHashCode(callSuper=false)
|
||||||
public class FileMetadataBlob implements Serializable {
|
public class FileMetadataBlob implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{file_metadata_blob.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{file_metadata_blob.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "文件ID", required = true, allowableValues = "range[1, 255]")
|
@ApiModelProperty(name = "文件ID", required = true, allowableValues = "range[1, 255]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.project.domain;
|
package io.metersphere.project.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,12 +13,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "文件管理模块")
|
@ApiModel(value = "文件管理模块")
|
||||||
@TableName("file_module")
|
@Table("file_module")
|
||||||
@Data
|
@Data
|
||||||
public class FileModule implements Serializable {
|
public class FileModule implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{file_module.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{file_module.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.project.domain;
|
package io.metersphere.project.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -14,13 +14,13 @@ import lombok.EqualsAndHashCode;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "文件管理模块大字段")
|
@ApiModel(value = "文件管理模块大字段")
|
||||||
@TableName("file_module_blob")
|
@Table("file_module_blob")
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper=false)
|
@EqualsAndHashCode(callSuper=false)
|
||||||
public class FileModuleBlob implements Serializable {
|
public class FileModuleBlob implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{file_module_blob.file_module_id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{file_module_blob.file_module_id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.project.domain;
|
package io.metersphere.project.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -12,12 +12,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "功能用例模版")
|
@ApiModel(value = "功能用例模版")
|
||||||
@TableName("functional_case_template")
|
@Table("functional_case_template")
|
||||||
@Data
|
@Data
|
||||||
public class FunctionalCaseTemplate implements Serializable {
|
public class FunctionalCaseTemplate implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{functional_case_template.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{functional_case_template.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "ID", required = true, allowableValues="range[1, 50]")
|
@ApiModelProperty(name = "ID", required = true, allowableValues="range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.project.domain;
|
package io.metersphere.project.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -14,13 +14,13 @@ import lombok.EqualsAndHashCode;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "功能用例模版扩展")
|
@ApiModel(value = "功能用例模版扩展")
|
||||||
@TableName("functional_case_template_extend")
|
@Table("functional_case_template_extend")
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper = false)
|
@EqualsAndHashCode(callSuper = false)
|
||||||
public class FunctionalCaseTemplateExtend implements Serializable {
|
public class FunctionalCaseTemplateExtend implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{functional_case_template_extend.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{functional_case_template_extend.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "模板ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "模板ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.project.domain;
|
package io.metersphere.project.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -12,12 +12,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "缺陷模版")
|
@ApiModel(value = "缺陷模版")
|
||||||
@TableName("issue_template")
|
@Table("issue_template")
|
||||||
@Data
|
@Data
|
||||||
public class IssueTemplate implements Serializable {
|
public class IssueTemplate implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{issue_template.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{issue_template.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "ID", required = true, allowableValues="range[1, 50]")
|
@ApiModelProperty(name = "ID", required = true, allowableValues="range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.project.domain;
|
package io.metersphere.project.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -14,13 +14,13 @@ import lombok.EqualsAndHashCode;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "缺陷模板扩展")
|
@ApiModel(value = "缺陷模板扩展")
|
||||||
@TableName("issue_template_extend")
|
@Table("issue_template_extend")
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper = false)
|
@EqualsAndHashCode(callSuper = false)
|
||||||
public class IssueTemplateExtend implements Serializable {
|
public class IssueTemplateExtend implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{issue_template_extend.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{issue_template_extend.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "缺陷模板ID", required = true, allowableValues = "range[1, 100]")
|
@ApiModelProperty(name = "缺陷模板ID", required = true, allowableValues = "range[1, 100]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.project.domain;
|
package io.metersphere.project.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,12 +13,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "项目")
|
@ApiModel(value = "项目")
|
||||||
@TableName("project")
|
@Table("project")
|
||||||
@Data
|
@Data
|
||||||
public class Project implements Serializable {
|
public class Project implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{project.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{project.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "项目ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "项目ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,34 +1,30 @@
|
||||||
package io.metersphere.project.domain;
|
package io.metersphere.project.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import io.metersphere.validation.groups.Created;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "项目应用")
|
@ApiModel(value = "项目应用")
|
||||||
@TableName("project_application")
|
@Table("project_application")
|
||||||
@Data
|
@Data
|
||||||
public class ProjectApplication implements Serializable {
|
public class ProjectApplication implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@NotBlank(message = "{project_application.project_id.not_blank}", groups = {Created.class, Updated.class})
|
||||||
@NotBlank(message = "{project_application.project_id.not_blank}", groups = {Updated.class})
|
|
||||||
@ApiModelProperty(name = "项目ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "项目ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String projectId;
|
private String projectId;
|
||||||
|
|
||||||
@TableId
|
@NotBlank(message = "{project_application.type.not_blank}", groups = {Created.class, Updated.class})
|
||||||
@NotBlank(message = "{project_application.type.not_blank}", groups = {Updated.class})
|
|
||||||
@ApiModelProperty(name = "配置项", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "配置项", required = true, allowableValues = "range[1, 50]")
|
||||||
private String type;
|
private String type;
|
||||||
|
|
||||||
|
|
||||||
@ApiModelProperty(name = "配置值", required = false, allowableValues = "range[1, 255]")
|
@ApiModelProperty(name = "配置值", required = false, allowableValues = "range[1, 255]")
|
||||||
private String typeValue;
|
private String typeValue;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.project.domain;
|
package io.metersphere.project.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -14,13 +14,13 @@ import lombok.EqualsAndHashCode;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "项目扩展")
|
@ApiModel(value = "项目扩展")
|
||||||
@TableName("project_extend")
|
@Table("project_extend")
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper = false)
|
@EqualsAndHashCode(callSuper = false)
|
||||||
public class ProjectExtend implements Serializable {
|
public class ProjectExtend implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{project_extend.project_id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{project_extend.project_id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "项目ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "项目ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.project.domain;
|
package io.metersphere.project.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,12 +13,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "版本管理")
|
@ApiModel(value = "版本管理")
|
||||||
@TableName("project_version")
|
@Table("project_version")
|
||||||
@Data
|
@Data
|
||||||
public class ProjectVersion implements Serializable {
|
public class ProjectVersion implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{project_version.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{project_version.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "版本ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "版本ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.sdk.domain;
|
package io.metersphere.sdk.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,12 +13,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "环境")
|
@ApiModel(value = "环境")
|
||||||
@TableName("environment")
|
@Table("environment")
|
||||||
@Data
|
@Data
|
||||||
public class Environment implements Serializable {
|
public class Environment implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{environment.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{environment.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "Api Test Environment ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "Api Test Environment ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.sdk.domain;
|
package io.metersphere.sdk.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,12 +13,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "环境组")
|
@ApiModel(value = "环境组")
|
||||||
@TableName("environment_group")
|
@Table("environment_group")
|
||||||
@Data
|
@Data
|
||||||
public class EnvironmentGroup implements Serializable {
|
public class EnvironmentGroup implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{environment_group.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{environment_group.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "环境组id", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "环境组id", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.sdk.domain;
|
package io.metersphere.sdk.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
@ -11,12 +11,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "环境组配置")
|
@ApiModel(value = "环境组配置")
|
||||||
@TableName("environment_group_project")
|
@Table("environment_group_project")
|
||||||
@Data
|
@Data
|
||||||
public class EnvironmentGroupProject implements Serializable {
|
public class EnvironmentGroupProject implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{environment_group_project.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{environment_group_project.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.sdk.domain;
|
package io.metersphere.sdk.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
@ -11,12 +11,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "执行链(接口/场景/UI/性能用例)")
|
@ApiModel(value = "执行链(接口/场景/UI/性能用例)")
|
||||||
@TableName("execution_queue")
|
@Table("execution_queue")
|
||||||
@Data
|
@Data
|
||||||
public class ExecutionQueue implements Serializable {
|
public class ExecutionQueue implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{execution_queue.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{execution_queue.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.sdk.domain;
|
package io.metersphere.sdk.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
@ -11,12 +11,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "执行链条目")
|
@ApiModel(value = "执行链条目")
|
||||||
@TableName("execution_queue_detail")
|
@Table("execution_queue_detail")
|
||||||
@Data
|
@Data
|
||||||
public class ExecutionQueueDetail implements Serializable {
|
public class ExecutionQueueDetail implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{execution_queue_detail.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{execution_queue_detail.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.sdk.domain;
|
package io.metersphere.sdk.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,17 +13,17 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "关系图")
|
@ApiModel(value = "关系图")
|
||||||
@TableName("relationship_edge")
|
@Table("relationship_edge")
|
||||||
@Data
|
@Data
|
||||||
public class RelationshipEdge implements Serializable {
|
public class RelationshipEdge implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{relationship_edge.source_id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{relationship_edge.source_id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "源节点的ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "源节点的ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String sourceId;
|
private String sourceId;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{relationship_edge.target_id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{relationship_edge.target_id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "目标节点的ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "目标节点的ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String targetId;
|
private String targetId;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.sdk.domain;
|
package io.metersphere.sdk.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
@ -11,12 +11,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "分享")
|
@ApiModel(value = "分享")
|
||||||
@TableName("share_info")
|
@Table("share_info")
|
||||||
@Data
|
@Data
|
||||||
public class ShareInfo implements Serializable {
|
public class ShareInfo implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{share_info.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{share_info.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "分享ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "分享ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.system.domain;
|
package io.metersphere.system.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,12 +13,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "三方认证源")
|
@ApiModel(value = "三方认证源")
|
||||||
@TableName("auth_source")
|
@Table("auth_source")
|
||||||
@Data
|
@Data
|
||||||
public class AuthSource implements Serializable {
|
public class AuthSource implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{auth_source.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{auth_source.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "认证源ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "认证源ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.system.domain;
|
package io.metersphere.system.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,12 +13,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "")
|
@ApiModel(value = "")
|
||||||
@TableName("license")
|
@Table("license")
|
||||||
@Data
|
@Data
|
||||||
public class License implements Serializable {
|
public class License implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{license.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{license.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.system.domain;
|
package io.metersphere.system.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,12 +13,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "消息通知任务")
|
@ApiModel(value = "消息通知任务")
|
||||||
@TableName("message_task")
|
@Table("message_task")
|
||||||
@Data
|
@Data
|
||||||
public class MessageTask implements Serializable {
|
public class MessageTask implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{message_task.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{message_task.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "", required = true, allowableValues = "range[1, 255]")
|
@ApiModelProperty(name = "", required = true, allowableValues = "range[1, 255]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.system.domain;
|
package io.metersphere.system.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -14,13 +14,13 @@ import lombok.EqualsAndHashCode;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "消息通知任务大字段")
|
@ApiModel(value = "消息通知任务大字段")
|
||||||
@TableName("message_task_blob")
|
@Table("message_task_blob")
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper=false)
|
@EqualsAndHashCode(callSuper=false)
|
||||||
public class MessageTaskBlob implements Serializable {
|
public class MessageTaskBlob implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{message_task_blob.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{message_task_blob.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.system.domain;
|
package io.metersphere.system.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,12 +13,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "消息通知")
|
@ApiModel(value = "消息通知")
|
||||||
@TableName("notification")
|
@Table("notification")
|
||||||
@Data
|
@Data
|
||||||
public class Notification implements Serializable {
|
public class Notification implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{notification.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{notification.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, ]")
|
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, ]")
|
||||||
private Long id;
|
private Long id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.system.domain;
|
package io.metersphere.system.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,12 +13,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "新手村")
|
@ApiModel(value = "新手村")
|
||||||
@TableName("novice_statistics")
|
@Table("novice_statistics")
|
||||||
@Data
|
@Data
|
||||||
public class NoviceStatistics implements Serializable {
|
public class NoviceStatistics implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{novice_statistics.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{novice_statistics.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.system.domain;
|
package io.metersphere.system.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,12 +13,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "操作日志")
|
@ApiModel(value = "操作日志")
|
||||||
@TableName("operating_log")
|
@Table("operating_log")
|
||||||
@Data
|
@Data
|
||||||
public class OperatingLog implements Serializable {
|
public class OperatingLog implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{operating_log.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{operating_log.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.system.domain;
|
package io.metersphere.system.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -12,12 +12,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "操作日志关系记录")
|
@ApiModel(value = "操作日志关系记录")
|
||||||
@TableName("operating_log_resource")
|
@Table("operating_log_resource")
|
||||||
@Data
|
@Data
|
||||||
public class OperatingLogResource implements Serializable {
|
public class OperatingLogResource implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{operating_log_resource.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{operating_log_resource.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "ID", required = true, allowableValues="range[1, 50]")
|
@ApiModelProperty(name = "ID", required = true, allowableValues="range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.system.domain;
|
package io.metersphere.system.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,12 +13,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "插件")
|
@ApiModel(value = "插件")
|
||||||
@TableName("plugin")
|
@Table("plugin")
|
||||||
@Data
|
@Data
|
||||||
public class Plugin implements Serializable {
|
public class Plugin implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{plugin.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{plugin.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.system.domain;
|
package io.metersphere.system.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,12 +13,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "插件大字段")
|
@ApiModel(value = "插件大字段")
|
||||||
@TableName("plugin_blob")
|
@Table("plugin_blob")
|
||||||
@Data
|
@Data
|
||||||
public class PluginBlob implements Serializable {
|
public class PluginBlob implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{plugin_blob.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{plugin_blob.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.system.domain;
|
package io.metersphere.system.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,12 +13,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "配额")
|
@ApiModel(value = "配额")
|
||||||
@TableName("quota")
|
@Table("quota")
|
||||||
@Data
|
@Data
|
||||||
public class Quota implements Serializable {
|
public class Quota implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{quota.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{quota.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.system.domain;
|
package io.metersphere.system.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,12 +13,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "定时任务")
|
@ApiModel(value = "定时任务")
|
||||||
@TableName("schedule")
|
@Table("schedule")
|
||||||
@Data
|
@Data
|
||||||
public class Schedule implements Serializable {
|
public class Schedule implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{schedule.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{schedule.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.system.domain;
|
package io.metersphere.system.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,12 +13,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "服务集成")
|
@ApiModel(value = "服务集成")
|
||||||
@TableName("service_integration")
|
@Table("service_integration")
|
||||||
@Data
|
@Data
|
||||||
public class ServiceIntegration implements Serializable {
|
public class ServiceIntegration implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{service_integration.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{service_integration.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.system.domain;
|
package io.metersphere.system.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,12 +13,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "系统参数")
|
@ApiModel(value = "系统参数")
|
||||||
@TableName("system_parameter")
|
@Table("system_parameter")
|
||||||
@Data
|
@Data
|
||||||
public class SystemParameter implements Serializable {
|
public class SystemParameter implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{system_parameter.param_key.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{system_parameter.param_key.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "参数名称", required = true, allowableValues = "range[1, 64]")
|
@ApiModelProperty(name = "参数名称", required = true, allowableValues = "range[1, 64]")
|
||||||
private String paramKey;
|
private String paramKey;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.system.domain;
|
package io.metersphere.system.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,12 +13,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "测试资源池节点")
|
@ApiModel(value = "测试资源池节点")
|
||||||
@TableName("test_resource")
|
@Table("test_resource")
|
||||||
@Data
|
@Data
|
||||||
public class TestResource implements Serializable {
|
public class TestResource implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{test_resource.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{test_resource.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "Test resource ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "Test resource ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.system.domain;
|
package io.metersphere.system.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,12 +13,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "测试资源池")
|
@ApiModel(value = "测试资源池")
|
||||||
@TableName("test_resource_pool")
|
@Table("test_resource_pool")
|
||||||
@Data
|
@Data
|
||||||
public class TestResourcePool implements Serializable {
|
public class TestResourcePool implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{test_resource_pool.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{test_resource_pool.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "资源池ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "资源池ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
package io.metersphere.system.domain;
|
package io.metersphere.system.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -9,16 +7,18 @@ import io.swagger.annotations.ApiModelProperty;
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import jakarta.validation.constraints.Size;
|
import jakarta.validation.constraints.Size;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
import org.springframework.data.annotation.Id;
|
||||||
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "用户")
|
@ApiModel(value = "用户")
|
||||||
@TableName("user")
|
@Table("user")
|
||||||
@Data
|
@Data
|
||||||
public class User implements Serializable {
|
public class User implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{user.id.not_blank}", groups = {Created.class, Updated.class})
|
@NotBlank(message = "{user.id.not_blank}", groups = {Created.class, Updated.class})
|
||||||
@ApiModelProperty(name = "用户ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "用户ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.system.domain;
|
package io.metersphere.system.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
@ -11,12 +11,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "用户扩展")
|
@ApiModel(value = "用户扩展")
|
||||||
@TableName("user_extend")
|
@Table("user_extend")
|
||||||
@Data
|
@Data
|
||||||
public class UserExtend implements Serializable {
|
public class UserExtend implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{user_extend.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{user_extend.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "用户ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "用户ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.system.domain;
|
package io.metersphere.system.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,12 +13,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "用户api key")
|
@ApiModel(value = "用户api key")
|
||||||
@TableName("user_key")
|
@Table("user_key")
|
||||||
@Data
|
@Data
|
||||||
public class UserKey implements Serializable {
|
public class UserKey implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{user_key.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{user_key.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "user_key ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "user_key ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package io.metersphere.system.domain;
|
package io.metersphere.system.domain;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import org.springframework.data.annotation.Id;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
||||||
import io.metersphere.validation.groups.Updated;
|
import io.metersphere.validation.groups.Updated;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
|
@ -13,12 +13,12 @@ import lombok.Data;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
@ApiModel(value = "用户组")
|
@ApiModel(value = "用户组")
|
||||||
@TableName("user_role")
|
@Table("user_role")
|
||||||
@Data
|
@Data
|
||||||
public class UserRole implements Serializable {
|
public class UserRole implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
@Id
|
||||||
@NotBlank(message = "{user_role.id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{user_role.id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "组ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "组ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue