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;
@Getter
@Setter
@Entity
-public class FnLuActivity {
+public class FnLuActivity implements Serializable {
@Id
@Column(name = "activity_cd", length = 50, nullable = false)
@Size(max = 50)
cascade = CascadeType.ALL,
fetch = FetchType.LAZY
)
- private List<FnAuditLog> fnAuditLogs = new ArrayList<>();
+ private Set<FnAuditLog> fnAuditLogs;
}