12 lines
427 B
C#
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();
|
|
} |