btcpayserver/BTCPayServer/Models/StoreViewModels/LightningNodeViewModel.cs
2024-07-10 18:06:22 +02:00

24 lines
653 B
C#

using System.ComponentModel.DataAnnotations;
namespace BTCPayServer.Models.StoreViewModels
{
public enum LightningNodeType
{
Internal,
Custom,
BTCPayApp
}
public class LightningNodeViewModel
{
public LightningNodeType LightningNodeType { get; set; }
public string StoreId { get; set; }
public string CryptoCode { get; set; }
public bool CanUseInternalNode { get; set; }
public bool SkipPortTest { get; set; }
public bool Enabled { get; set; } = true;
[Display(Name = "Connection string")]
public string ConnectionString { get; set; }
}
}