mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 22:46:49 +01:00
* BTCPay Server Extensions  * cleanup * fix * Polish UI a bit,detect when docker deployment
20 lines
539 B
C#
20 lines
539 B
C#
using System;
|
|
|
|
namespace BTCPayServer.Contracts
|
|
{
|
|
public interface INotificationHandler
|
|
{
|
|
string NotificationType { get; }
|
|
Type NotificationBlobType { get; }
|
|
void FillViewModel(object notification, NotificationViewModel vm);
|
|
}
|
|
|
|
public class NotificationViewModel
|
|
{
|
|
public string Id { get; set; }
|
|
public DateTimeOffset Created { get; set; }
|
|
public string Body { get; set; }
|
|
public string ActionLink { get; set; }
|
|
public bool Seen { get; set; }
|
|
}
|
|
}
|