btcpayserver/BTCPayServer/Models/StoreViewModels/LightningNodeViewModel.cs

23 lines
633 B
C#
Raw Normal View History

using System.ComponentModel.DataAnnotations;
namespace BTCPayServer.Models.StoreViewModels
{
public enum LightningNodeType
{
Internal,
Custom
}
public class LightningNodeViewModel
{
public LightningNodeType LightningNodeType { get; set; }
[Display(Name = "Connection string")]
public string ConnectionString { get; set; }
public string CryptoCode { get; set; }
public bool CanUseInternalNode { get; set; }
2018-04-09 16:25:31 +09:00
public bool SkipPortTest { get; set; }
2018-07-27 13:37:16 +02:00
public bool Enabled { get; set; } = true;
2019-01-07 09:52:27 +01:00
public string StoreId { get; set; }
}
}