mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 02:28:31 +01:00
ed497cab99
* UI: Hide pagination and page size when not necessary * UI: Use pager component for notifications list * UI: Use pager component for wallet transactions list * UI: Improve pager component * Fix from code review
17 lines
525 B
C#
17 lines
525 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; }
|
|
}
|
|
}
|