btcpayserver/BTCPayServer/Components/StoreSelector/StoreSelectorViewModel.cs
d11n 57bc90ad03
Archive stores and apps (#5296)
* Add flags and migration

* Archive store

* Archive apps
2023-09-11 09:59:17 +09:00

23 lines
679 B
C#

using System.Collections.Generic;
namespace BTCPayServer.Components.StoreSelector
{
public class StoreSelectorViewModel
{
public List<StoreSelectorOption> Options { get; set; }
public string CurrentStoreId { get; set; }
public string CurrentStoreLogoFileId { get; set; }
public string CurrentDisplayName { get; set; }
public int ArchivedCount { get; set; }
}
public class StoreSelectorOption
{
public bool Selected { get; set; }
public bool IsOwner { get; set; }
public string Text { get; set; }
public string Value { get; set; }
public WalletId WalletId { get; set; }
}
}