From 9452c3e74cf41c8f7642bff2291930df15a703a0 Mon Sep 17 00:00:00 2001 From: Athou Date: Mon, 27 Apr 2026 17:58:38 +0200 Subject: [PATCH] remove warning --- .../main/java/com/commafeed/backend/model/UserSettings.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/commafeed-server/src/main/java/com/commafeed/backend/model/UserSettings.java b/commafeed-server/src/main/java/com/commafeed/backend/model/UserSettings.java index f0f7628f..ea44f42e 100644 --- a/commafeed-server/src/main/java/com/commafeed/backend/model/UserSettings.java +++ b/commafeed-server/src/main/java/com/commafeed/backend/model/UserSettings.java @@ -1,5 +1,6 @@ package com.commafeed.backend.model; +import java.io.Serializable; import java.sql.Types; import jakarta.persistence.Column; @@ -159,9 +160,10 @@ public class UserSettings extends AbstractModel { private PushNotificationUserSettings pushNotifications = new PushNotificationUserSettings(); @Embeddable + @SuppressWarnings("serial") @Getter @Setter - public static class PushNotificationUserSettings { + public static class PushNotificationUserSettings implements Serializable { @Enumerated(EnumType.STRING) @Column(name = "push_notification_type", length = 16) private PushNotificationType type;