فهرست منبع

Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object.

lvxianyun 3 سال پیش
والد
کامیت
2ac352873c

+ 2 - 4
src/main/java/com/persagy/proxy/adm/model/relation/ShContainSpBaseList.java

@@ -1,9 +1,6 @@
 package com.persagy.proxy.adm.model.relation;
 
-import lombok.AllArgsConstructor;
-import lombok.Data;
-import lombok.NoArgsConstructor;
-import lombok.ToString;
+import lombok.*;
 
 import java.util.List;
 
@@ -15,6 +12,7 @@ import java.util.List;
 @NoArgsConstructor
 @AllArgsConstructor
 @Data
+@EqualsAndHashCode(callSuper = true)
 public class ShContainSpBaseList extends BaseEntity{
 
     /** 竖井id */

+ 2 - 4
src/main/java/com/persagy/proxy/adm/model/relation/SiInSpBaseList.java

@@ -1,9 +1,6 @@
 package com.persagy.proxy.adm.model.relation;
 
-import lombok.AllArgsConstructor;
-import lombok.Data;
-import lombok.NoArgsConstructor;
-import lombok.ToString;
+import lombok.*;
 
 import java.util.List;
 
@@ -15,6 +12,7 @@ import java.util.List;
 @NoArgsConstructor
 @AllArgsConstructor
 @Data
+@EqualsAndHashCode(callSuper = true)
 public class SiInSpBaseList extends BaseEntity{
 
     /** 元空间id列表 */

+ 2 - 4
src/main/java/com/persagy/proxy/adm/model/relation/SpForSyBaseList.java

@@ -1,9 +1,6 @@
 package com.persagy.proxy.adm.model.relation;
 
-import lombok.AllArgsConstructor;
-import lombok.Data;
-import lombok.NoArgsConstructor;
-import lombok.ToString;
+import lombok.*;
 
 import java.util.List;
 
@@ -15,6 +12,7 @@ import java.util.List;
 @AllArgsConstructor
 @NoArgsConstructor
 @ToString
+@EqualsAndHashCode(callSuper = true)
 public class SpForSyBaseList extends BaseEntity{
 
     /** 业务空间id */

+ 2 - 4
src/main/java/com/persagy/proxy/adm/model/relation/SpInSyBaseList.java

@@ -1,9 +1,6 @@
 package com.persagy.proxy.adm.model.relation;
 
-import lombok.AllArgsConstructor;
-import lombok.Data;
-import lombok.NoArgsConstructor;
-import lombok.ToString;
+import lombok.*;
 
 import java.util.List;
 
@@ -16,6 +13,7 @@ import java.util.List;
 @AllArgsConstructor
 @NoArgsConstructor
 @ToString
+@EqualsAndHashCode(callSuper = true)
 public class SpInSyBaseList extends BaseEntity {
 
     /**

+ 2 - 4
src/main/java/com/persagy/proxy/adm/model/relation/SyForSpBaseList.java

@@ -1,9 +1,6 @@
 package com.persagy.proxy.adm.model.relation;
 
-import lombok.AllArgsConstructor;
-import lombok.Data;
-import lombok.NoArgsConstructor;
-import lombok.ToString;
+import lombok.*;
 
 import java.util.List;
 
@@ -15,6 +12,7 @@ import java.util.List;
 @AllArgsConstructor
 @NoArgsConstructor
 @ToString
+@EqualsAndHashCode(callSuper = true)
 public class SyForSpBaseList extends BaseEntity{
 
     /**

+ 2 - 4
src/main/java/com/persagy/proxy/adm/model/relation/SyInSpBaseList.java

@@ -1,10 +1,7 @@
 package com.persagy.proxy.adm.model.relation;
 
 
-import lombok.AllArgsConstructor;
-import lombok.Data;
-import lombok.NoArgsConstructor;
-import lombok.ToString;
+import lombok.*;
 
 import java.util.List;
 
@@ -18,6 +15,7 @@ import java.util.List;
 @AllArgsConstructor
 @NoArgsConstructor
 @ToString
+@EqualsAndHashCode(callSuper = true)
 public class SyInSpBaseList extends BaseEntity{
     /** 系统id */
     private String sysId;

+ 2 - 1
src/main/java/com/persagy/proxy/adm/model/relation/UpDataFloorAndBuilding.java

@@ -3,8 +3,8 @@ package com.persagy.proxy.adm.model.relation;
 
 import lombok.AllArgsConstructor;
 import lombok.Data;
+import lombok.EqualsAndHashCode;
 import lombok.NoArgsConstructor;
-import lombok.ToString;
 
 /**
  * @author zhangwencheng
@@ -13,6 +13,7 @@ import lombok.ToString;
 @Data
 @AllArgsConstructor
 @NoArgsConstructor
+@EqualsAndHashCode(callSuper = true)
 public class UpDataFloorAndBuilding extends BaseEntity{
 
     /** 业务空间id */