mirror of
https://github.com/Athou/commafeed.git
synced 2026-10-09 05:45:51 +00:00
remove warning
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
package com.commafeed.backend.model;
|
package com.commafeed.backend.model;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
import java.sql.Types;
|
import java.sql.Types;
|
||||||
|
|
||||||
import jakarta.persistence.Column;
|
import jakarta.persistence.Column;
|
||||||
@@ -159,9 +160,10 @@ public class UserSettings extends AbstractModel {
|
|||||||
private PushNotificationUserSettings pushNotifications = new PushNotificationUserSettings();
|
private PushNotificationUserSettings pushNotifications = new PushNotificationUserSettings();
|
||||||
|
|
||||||
@Embeddable
|
@Embeddable
|
||||||
|
@SuppressWarnings("serial")
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
public static class PushNotificationUserSettings {
|
public static class PushNotificationUserSettings implements Serializable {
|
||||||
@Enumerated(EnumType.STRING)
|
@Enumerated(EnumType.STRING)
|
||||||
@Column(name = "push_notification_type", length = 16)
|
@Column(name = "push_notification_type", length = 16)
|
||||||
private PushNotificationType type;
|
private PushNotificationType type;
|
||||||
|
|||||||
Reference in New Issue
Block a user