diff options
author | hetengjiao <hetengjiao@chinamobile.com> | 2020-11-17 17:33:14 +0800 |
---|---|---|
committer | hetengjiao <hetengjiao@chinamobile.com> | 2020-11-18 12:33:27 +0800 |
commit | 496da345c914211fdc58a5d0ef15360456c1bd42 (patch) | |
tree | 76411d8ece2ee1d580a2c1ff93941c94dbe6ca5a /common/src/main | |
parent | 75a86282d2ec71f53ca4e078762f0fae25dac8cd (diff) |
fixed allotecate nssi
Issue-ID: SO-2963
Signed-off-by: hetengjiao <hetengjiao@chinamobile.com>
Change-Id: I4abfa9e2842e901bbfb1b7e38af08ff7a22794e8
Diffstat (limited to 'common/src/main')
-rw-r--r-- | common/src/main/java/org/onap/so/beans/nsmf/CnSliceProfile.java | 5 | ||||
-rw-r--r-- | common/src/main/java/org/onap/so/beans/nsmf/TnSliceProfile.java | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/common/src/main/java/org/onap/so/beans/nsmf/CnSliceProfile.java b/common/src/main/java/org/onap/so/beans/nsmf/CnSliceProfile.java index d68a374cf0..1fa84eee59 100644 --- a/common/src/main/java/org/onap/so/beans/nsmf/CnSliceProfile.java +++ b/common/src/main/java/org/onap/so/beans/nsmf/CnSliceProfile.java @@ -23,11 +23,14 @@ package org.onap.so.beans.nsmf; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Data; +import java.io.Serializable; import java.util.List; @JsonInclude(JsonInclude.Include.NON_NULL) @Data -public class CnSliceProfile { +public class CnSliceProfile implements Serializable { + + private static final long serialVersionUID = 6627071735572539536L; @JsonProperty(value = "sNSSAIList", required = true) private List<String> snssaiList; diff --git a/common/src/main/java/org/onap/so/beans/nsmf/TnSliceProfile.java b/common/src/main/java/org/onap/so/beans/nsmf/TnSliceProfile.java index 1effb4e972..3f0da1bf21 100644 --- a/common/src/main/java/org/onap/so/beans/nsmf/TnSliceProfile.java +++ b/common/src/main/java/org/onap/so/beans/nsmf/TnSliceProfile.java @@ -23,11 +23,14 @@ package org.onap.so.beans.nsmf; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Data; +import java.io.Serializable; import java.util.List; @JsonInclude(JsonInclude.Include.NON_NULL) @Data -public class TnSliceProfile { +public class TnSliceProfile implements Serializable { + + private static final long serialVersionUID = 3767943556195823439L; private String sliceProfileId; |