diff --git a/cloud-common/src/main/java/com/cm/common/pojo/bos/PositionBO.java b/cloud-common/src/main/java/com/cm/common/pojo/bos/PositionBO.java index 3dfb944..89ab119 100644 --- a/cloud-common/src/main/java/com/cm/common/pojo/bos/PositionBO.java +++ b/cloud-common/src/main/java/com/cm/common/pojo/bos/PositionBO.java @@ -1,5 +1,7 @@ package com.cm.common.pojo.bos; +import java.io.Serializable; + /** * When you feel like quitting. Think about why you started * 当你想要放弃的时候,想想当初你为何开始 @@ -10,8 +12,9 @@ package com.cm.common.pojo.bos; * @Date: 2019-08-10 13:27 * @Version: 1.0 **/ -public class PositionBO { +public class PositionBO implements Serializable { + private static final long serialVersionUID = -7228959403262849245L; private String positionId; private String positionName; private String positionSummary; diff --git a/cloud-common/src/main/java/com/cm/common/pojo/bos/RoleBO.java b/cloud-common/src/main/java/com/cm/common/pojo/bos/RoleBO.java index 0cf0075..24f394d 100644 --- a/cloud-common/src/main/java/com/cm/common/pojo/bos/RoleBO.java +++ b/cloud-common/src/main/java/com/cm/common/pojo/bos/RoleBO.java @@ -1,5 +1,6 @@ package com.cm.common.pojo.bos; +import java.io.Serializable; import java.util.ArrayList; import java.util.List; @@ -10,8 +11,9 @@ import java.util.List; * @Date: 2019/3/14 9:29 PM * @Version: 1.0 **/ -public class RoleBO { +public class RoleBO implements Serializable { + private static final long serialVersionUID = 3106644672498095887L; private String roleId; private String roleName; private String roleSummary; diff --git a/cloud-common/src/main/java/com/cm/common/pojo/dtos/ZTreeDTO.java b/cloud-common/src/main/java/com/cm/common/pojo/dtos/ZTreeDTO.java index dfe32bc..bd63554 100644 --- a/cloud-common/src/main/java/com/cm/common/pojo/dtos/ZTreeDTO.java +++ b/cloud-common/src/main/java/com/cm/common/pojo/dtos/ZTreeDTO.java @@ -15,6 +15,7 @@ import java.io.Serializable; @ApiModel public class ZTreeDTO implements Serializable { + private static final long serialVersionUID = 1972916766961693525L; @ApiModelProperty(name = "id", value = "ID") private String id; @ApiModelProperty(name = "pId", value = "父ID")