mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 18:11:36 +01:00
cc9c63c33e
I think it's fair to assume that the user wants to set this as a preference and it fixes #4592.
29 lines
890 B
C#
29 lines
890 B
C#
namespace BTCPayServer
|
|
{
|
|
public class UserPrefsCookie
|
|
{
|
|
public ListQueryDataHolder InvoicesQuery { get; set; }
|
|
public ListQueryDataHolder PaymentRequestsQuery { get; set; }
|
|
public ListQueryDataHolder UsersQuery { get; set; }
|
|
public ListQueryDataHolder PayoutsQuery { get; set; }
|
|
public ListQueryDataHolder PullPaymentsQuery { get; set; }
|
|
public string CurrentStoreId { get; set; }
|
|
}
|
|
|
|
public class ListQueryDataHolder
|
|
{
|
|
public ListQueryDataHolder() { }
|
|
|
|
public ListQueryDataHolder(string searchTerm, int? timezoneOffset, int? count)
|
|
{
|
|
SearchTerm = searchTerm;
|
|
TimezoneOffset = timezoneOffset;
|
|
Count = count;
|
|
}
|
|
|
|
public int? TimezoneOffset { get; set; }
|
|
public string SearchTerm { get; set; }
|
|
public int? Count { get; set; }
|
|
}
|
|
}
|