build: domain warning

This commit is contained in:
CaptainB 2023-05-24 21:49:07 +08:00
parent 6b6bb02c8f
commit a0090bbdd3
2 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,7 @@
package io.metersphere.api.domain; package io.metersphere.api.domain;
import lombok.EqualsAndHashCode;
import org.springframework.data.annotation.Id; import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table; import org.springframework.data.relational.core.mapping.Table;
import io.metersphere.validation.groups.Updated; import io.metersphere.validation.groups.Updated;
@ -14,6 +15,7 @@ import java.io.Serializable;
@ApiModel(value = "mock期望值配置") @ApiModel(value = "mock期望值配置")
@Table("api_definition_mock_config") @Table("api_definition_mock_config")
@Data @Data
@EqualsAndHashCode(callSuper = false)
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;

View File

@ -3,6 +3,7 @@ package io.metersphere.functional.domain;
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 lombok.EqualsAndHashCode;
import org.springframework.data.relational.core.mapping.Table; import org.springframework.data.relational.core.mapping.Table;
import java.io.Serializable; import java.io.Serializable;
@ -10,6 +11,7 @@ import java.io.Serializable;
@ApiModel(value = "功能用例") @ApiModel(value = "功能用例")
@Table("functional_case_blob") @Table("functional_case_blob")
@Data @Data
@EqualsAndHashCode(callSuper = false)
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;