using System.Runtime.Serialization;

namespace Umbraco.Cms.Core.Models.ContentEditing
{
    [DataContract(Name = "notification", Namespace = "")]
    public class BackOfficeNotification
    {
        public BackOfficeNotification()
        {

        }

        public BackOfficeNotification(string header, string message, NotificationStyle notificationType)
        {
            Header = header;
            Message = message;
            NotificationType = notificationType;
        }

        [DataMember(Name = "header")]
        public string? Header { get; set; }

        [DataMember(Name = "message")]
        public string? Message { get; set; }

        [DataMember(Name = "type")]
        public NotificationStyle NotificationType { get; set; }
    }
}
