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();
}