Files
WCS/Cowain.Base/Models/NotificationModel.cs

34 lines
886 B
C#
Raw Normal View History

using Avalonia.Controls.Notifications;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cowain.Base.Models;
public class NotificationModel
{
public NotificationModel(string message)
{
Message = message;
}
public NotificationModel(NotificationType notificationType, string message)
{
NotificationType = notificationType;
Message = message;
}
public NotificationModel(NotificationType notificationType, string message, string classes)
{
NotificationType = notificationType;
Message = message;
Classes = classes;
}
public NotificationType NotificationType { get; set; } = NotificationType.Information;
public string Message { get; set; } = "This is message";
public string Classes { get; set; } = "Light";
}