using salesbook.Shared.Core.Entity; namespace salesbook.Shared.Core.Dto.PageState; public class NotificationState { public List ReceivedNotifications { get; set; } = []; public List UnreadNotifications { get; set; } = []; public List NotificationsRead { get; set; } = []; public int Count => ReceivedNotifications.Count() + UnreadNotifications.Count(); }