X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=portal-BE%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fportal%2Fdomain%2Fdb%2Ffn%2FFnLuAlertMethod.java;h=740f052b3c906e74fc2560f7304f4c460f0e7ddf;hb=0dd6f1189815079526c3f5211f01650bbe5e665b;hp=bc3ef6821d47a8a1465580367ccfad7fbf0152ba;hpb=6137cef448e7c52ad73bb20f3dad63a6fa37782c;p=portal.git diff --git a/portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnLuAlertMethod.java b/portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnLuAlertMethod.java index bc3ef682..740f052b 100644 --- a/portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnLuAlertMethod.java +++ b/portal-BE/src/main/java/org/onap/portal/domain/db/fn/FnLuAlertMethod.java @@ -40,8 +40,8 @@ package org.onap.portal.domain.db.fn; -import java.util.ArrayList; -import java.util.List; +import java.io.Serializable; +import java.util.Set; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; @@ -71,7 +71,7 @@ CREATE TABLE `fn_lu_alert_method` ( @Getter @Setter @Entity -public class FnLuAlertMethod { +public class FnLuAlertMethod implements Serializable { @Id @Column(name = "alert_method_cd", length = 10, nullable = false) @Size(max = 50) @@ -89,5 +89,5 @@ public class FnLuAlertMethod { cascade = CascadeType.ALL, fetch = FetchType.LAZY ) - private List fnUsers = new ArrayList<>(); + private Set fnUsers; }