Files
TaskHybrid/salesbook.Shared/Core/Dto/PageState/NotificationState.cs
2025-09-11 16:06:19 +02:00

12 lines
427 B
C#

using salesbook.Shared.Core.Entity;
namespace salesbook.Shared.Core.Dto.PageState;
public class NotificationState
{
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();
}