Browse Source

add serialVersionUID

zhouhao 7 years ago
parent
commit
df1c8a8734

+ 2 - 0
hsweb-commons/hsweb-commons-entity/src/main/java/org/hswebframework/web/commons/entity/param/DeleteParamEntity.java

@@ -14,6 +14,8 @@ import org.hswebframework.web.commons.entity.Entity;
  * @since 3.0
  */
 public class DeleteParamEntity extends Param implements Entity {
+    private static final long serialVersionUID = 6120598637420234301L;
+
     /**
      * 创建一个无条件的删除条件实体
      * 创建后需自行指定条件({@link DeleteParamEntity#where(String, Object)})

+ 2 - 0
hsweb-commons/hsweb-commons-entity/src/main/java/org/hswebframework/web/commons/entity/param/QueryParamEntity.java

@@ -21,6 +21,8 @@ import org.hswebframework.web.commons.entity.QueryEntity;
  */
 public class QueryParamEntity extends QueryParam implements QueryEntity {
 
+    private static final long serialVersionUID = 8097500947924037523L;
+
     /**
      * 创建一个空的查询参数实体,该实体无任何参数.
      *

+ 2 - 0
hsweb-commons/hsweb-commons-entity/src/main/java/org/hswebframework/web/commons/entity/param/UpdateParamEntity.java

@@ -12,6 +12,8 @@ import org.hswebframework.web.commons.entity.Entity;
  * @since 3.0
  */
 public class UpdateParamEntity<T> extends UpdateParam<T> implements Entity {
+    private static final long serialVersionUID = -4074863219482678510L;
+
     public UpdateParamEntity() {
     }