btcpayserver/BTCPayServer/Models/StoreViewModels/LightningNodeViewModel.cs
Nicolas Dorier aeb90a3674
Merge pull request #1706 from dennisreimann/store-lightning
Improve information structure on Lightning page
2020-06-30 11:06:07 +09:00

27 lines
629 B
C#

using System.ComponentModel.DataAnnotations;
namespace BTCPayServer.Models.StoreViewModels
{
public class LightningNodeViewModel
{
[Display(Name = "Connection string")]
public string ConnectionString
{
get;
set;
}
public string CryptoCode
{
get;
set;
}
public string InternalLightningNode { get; internal set; }
public bool SkipPortTest { get; set; }
[Display(Name="Lightning enabled")]
public bool Enabled { get; set; } = true;
public string StoreId { get; set; }
}
}