basic firebase notification sending + token registration logic
This commit is contained in:
@@ -26,6 +26,7 @@ public class Notification {
|
||||
private User user;
|
||||
|
||||
@Column(nullable = false)
|
||||
@Enumerated(EnumType.STRING)
|
||||
private NotificationType type;
|
||||
|
||||
@Column(columnDefinition = "TEXT")
|
||||
@@ -40,6 +41,7 @@ public class Notification {
|
||||
private LocalTime earliestTimeOfDayToSend;
|
||||
|
||||
@Column(nullable = false)
|
||||
@Enumerated(EnumType.STRING)
|
||||
private NotificationStatus status;
|
||||
|
||||
@Column(nullable = false)
|
||||
|
||||
Reference in New Issue
Block a user