2021-12-31 08:36:38 +01:00
|
|
|
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() { }
|
|
|
|
|
2023-02-15 03:04:17 +01:00
|
|
|
public ListQueryDataHolder(string searchTerm, int? timezoneOffset, int? count)
|
2021-12-31 08:36:38 +01:00
|
|
|
{
|
|
|
|
SearchTerm = searchTerm;
|
|
|
|
TimezoneOffset = timezoneOffset;
|
2023-02-15 03:04:17 +01:00
|
|
|
Count = count;
|
2021-12-31 08:36:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public int? TimezoneOffset { get; set; }
|
|
|
|
public string SearchTerm { get; set; }
|
2023-02-15 03:04:17 +01:00
|
|
|
public int? Count { get; set; }
|
2021-12-31 08:36:38 +01:00
|
|
|
}
|
|
|
|
}
|