Gestita pagina notifiche
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
using salesbook.Shared.Core.Dto.Notification;
|
||||
using salesbook.Shared.Core.Entity;
|
||||
|
||||
namespace salesbook.Shared.Core.Dto.PageState;
|
||||
|
||||
public class NotificationState
|
||||
{
|
||||
public List<PushNotificationDTO> UnreadNotifications { get; set; } = [];
|
||||
public List<WtbNotification> ReceivedNotifications { get; set; } = [];
|
||||
public List<WtbNotification> UnreadNotifications { get; set; } = [];
|
||||
public List<WtbNotification> NotificationsRead { get; set; } = [];
|
||||
|
||||
public int Count => ReceivedNotifications.Count() + UnreadNotifications.Count();
|
||||
}
|
||||
Reference in New Issue
Block a user