feat(notification-outbox): add Type field to NotificationList

This commit is contained in:
Joseph Doherty
2026-05-19 00:52:23 -04:00
parent ed7fddb0b5
commit 87ac9b8a4d
3 changed files with 20 additions and 0 deletions

View File

@@ -1,9 +1,12 @@
using ScadaLink.Commons.Types.Enums;
namespace ScadaLink.Commons.Entities.Notifications;
public class NotificationList
{
public int Id { get; set; }
public string Name { get; set; }
public NotificationType Type { get; set; } = NotificationType.Email;
public ICollection<NotificationRecipient> Recipients { get; set; } = new List<NotificationRecipient>();
public NotificationList(string name)