btcpayserver/BTCPayServer/Models/NotificationViewModels/IndexViewModel.cs

28 lines
815 B
C#
Raw Normal View History

2020-05-03 17:42:01 -06:00
using System.Collections.Generic;
using BTCPayServer.Abstractions.Contracts;
using BTCPayServer.Data;
2020-05-03 17:42:01 -06:00
namespace BTCPayServer.Models.NotificationViewModels
2020-05-03 17:42:01 -06:00
{
public class IndexViewModel : BasePagingViewModel
2020-05-03 17:42:01 -06:00
{
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; }
}
2020-05-03 17:42:01 -06:00
}