btcpayserver/BTCPayServer/Models/BasePagingViewModel.cs
2022-05-02 16:35:28 +09:00

19 lines
581 B
C#

using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace BTCPayServer.Models
{
public abstract class BasePagingViewModel
{
public int Skip { get; set; } = 0;
public int Count { get; set; } = 50;
public int? Total { get; set; }
[DisplayFormat(ConvertEmptyStringToNull = false)]
public string SearchTerm { get; set; }
public int? TimezoneOffset { get; set; }
public Dictionary<string, object> PaginationQuery { get; set; }
public abstract int CurrentPageCount { get; }
}
}