From 9acc8cf70464b58b1eee4d45ca978561233e540e Mon Sep 17 00:00:00 2001 From: wenc000 <450292408@qq.com> Date: Wed, 22 Jul 2020 17:43:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=BA=8F=E5=88=97=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/cm/common/pojo/bos/PositionBO.java | 5 ++++- .../src/main/java/com/cm/common/pojo/bos/RoleBO.java | 4 +++- .../src/main/java/com/cm/common/pojo/dtos/ZTreeDTO.java | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) 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")