// Copyright © Selmo Technology GmbH. All Rights Reserved

using Microsoft.AspNetCore.Components;
using SelmoStudio.Hmi.Server.SelmoHmi.Notification.Service;

namespace SelmoStudio.Hmi.Server.SelmoHmi.Notification.Model
{
    public class NotificationMessage
    {
        public NotificationSeverity Severity { get; set; }
        public string Style { get; set; }
        public double Duration { get; set; }
        public bool CloseOnClick { get; set; }
        public object Payload { get; set; }
        public NotificationRenderFragment DetailContent { get; set; }

        public delegate RenderFragment NotificationRenderFragment(INotificationImplementation notificationImplementation);
    }
}