btcpayserver/BTCPayServer/Models/BasePagingViewModel.cs

15 lines
419 B
C#
Raw Normal View History

using System.ComponentModel.DataAnnotations;
2020-07-19 17:04:29 -05:00
namespace BTCPayServer.Models
{
public abstract class BasePagingViewModel
2020-07-19 17:04:29 -05:00
{
public int Skip { get; set; } = 0;
public int Count { get; set; } = 50;
2020-07-19 17:04:29 -05:00
public int Total { get; set; }
[DisplayFormat(ConvertEmptyStringToNull = false)]
2020-07-19 17:04:29 -05:00
public string SearchTerm { get; set; }
public int? TimezoneOffset { get; set; }
}
}