mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-10 09:19:24 +01:00
27 lines
815 B
C#
27 lines
815 B
C#
using System.Collections.Generic;
|
|
using BTCPayServer.Abstractions.Contracts;
|
|
using BTCPayServer.Data;
|
|
|
|
namespace BTCPayServer.Models.NotificationViewModels
|
|
{
|
|
public class IndexViewModel : BasePagingViewModel
|
|
{
|
|
public List<NotificationViewModel> Items { get; set; } = [];
|
|
public string SearchText { get; set; }
|
|
public string Status { get; set; }
|
|
public SearchString Search { get; set; }
|
|
public override int CurrentPageCount => Items.Count;
|
|
}
|
|
|
|
public class NotificationIndexViewModel : IndexViewModel
|
|
{
|
|
public List<StoreFilterOption> StoreFilterOptions { get; set; }
|
|
}
|
|
|
|
public class StoreFilterOption
|
|
{
|
|
public bool Selected { get; set; }
|
|
public string Text { get; set; }
|
|
public string Value { get; set; }
|
|
}
|
|
}
|