2020-05-03 17:42:01 -06:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
2020-06-11 01:00:41 -05:00
|
|
|
|
using System.Reflection;
|
2020-05-03 17:42:01 -06:00
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
2020-05-28 16:19:02 -05:00
|
|
|
|
using BTCPayServer.Data;
|
|
|
|
|
using BTCPayServer.Events;
|
2020-06-14 23:47:11 -05:00
|
|
|
|
using BTCPayServer.Services.Notifications.Blobs;
|
2020-05-28 16:19:02 -05:00
|
|
|
|
using Newtonsoft.Json;
|
2020-05-03 17:42:01 -06:00
|
|
|
|
|
2020-05-27 18:35:25 -05:00
|
|
|
|
namespace BTCPayServer.Models.NotificationViewModels
|
2020-05-03 17:42:01 -06:00
|
|
|
|
{
|
|
|
|
|
public class IndexViewModel
|
|
|
|
|
{
|
2020-06-15 00:00:56 -05:00
|
|
|
|
public int Skip { get; set; }
|
|
|
|
|
public int Count { get; set; }
|
|
|
|
|
public int Total { get; set; }
|
2020-05-28 16:19:02 -05:00
|
|
|
|
public List<NotificationViewModel> Items { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class NotificationViewModel
|
|
|
|
|
{
|
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
public DateTimeOffset Created { get; set; }
|
|
|
|
|
public string Body { get; set; }
|
|
|
|
|
public string ActionLink { get; set; }
|
2020-05-28 22:57:18 -05:00
|
|
|
|
public bool Seen { get; set; }
|
2020-05-28 16:19:02 -05:00
|
|
|
|
}
|
2020-05-03 17:42:01 -06:00
|
|
|
|
}
|