build: warning call super

This commit is contained in:
CaptainB 2023-05-21 13:21:02 +08:00
parent 6096f682b3
commit 66e18db02c
6 changed files with 12 additions and 0 deletions

View File

@ -8,12 +8,14 @@ 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 lombok.EqualsAndHashCode;
import java.io.Serializable; import java.io.Serializable;
@ApiModel(value = "接口定义详情内容") @ApiModel(value = "接口定义详情内容")
@TableName("api_definition_blob") @TableName("api_definition_blob")
@Data @Data
@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;

View File

@ -8,12 +8,14 @@ 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 lombok.EqualsAndHashCode;
import java.io.Serializable; import java.io.Serializable;
@ApiModel(value = "API/CASE执行结果详情") @ApiModel(value = "API/CASE执行结果详情")
@TableName("api_report_blob") @TableName("api_report_blob")
@Data @Data
@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;

View File

@ -8,12 +8,14 @@ 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 lombok.EqualsAndHashCode;
import java.io.Serializable; import java.io.Serializable;
@ApiModel(value = "场景步骤详情") @ApiModel(value = "场景步骤详情")
@TableName("api_scenario_blob") @TableName("api_scenario_blob")
@Data @Data
@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;

View File

@ -10,12 +10,14 @@ 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 lombok.EqualsAndHashCode;
import java.io.Serializable; import java.io.Serializable;
@ApiModel(value = "场景报告步骤结果") @ApiModel(value = "场景报告步骤结果")
@TableName("api_scenario_report_detail") @TableName("api_scenario_report_detail")
@Data @Data
@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;

View File

@ -8,12 +8,14 @@ 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 lombok.EqualsAndHashCode;
import java.io.Serializable; import java.io.Serializable;
@ApiModel(value = "接口用例详情") @ApiModel(value = "接口用例详情")
@TableName("api_test_case_blob") @TableName("api_test_case_blob")
@Data @Data
@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;

View File

@ -1,8 +1,10 @@
package io.metersphere.plugin.platform.dto; package io.metersphere.plugin.platform.dto;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode;
@Data @Data
@EqualsAndHashCode(callSuper=false)
public class PlatformCustomFieldItemDTO extends CustomFieldDTO { public class PlatformCustomFieldItemDTO extends CustomFieldDTO {
private Object value; private Object value;
private String key; private String key;