btcpayserver/BTCPayServer/Models/NotificationViewModels/IndexViewModel.cs

31 lines
819 B
C#
Raw Normal View History

2020-05-03 17:42:01 -06:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
2020-05-03 17:42:01 -06:00
using System.Text;
using System.Threading.Tasks;
using BTCPayServer.Data;
using BTCPayServer.Events;
using BTCPayServer.Services.Notifications.Blobs;
using Newtonsoft.Json;
2020-05-03 17:42:01 -06: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; }
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-03 17:42:01 -06:00
}