btcpayserver/BTCPayServer/Models/StoreViewModels/LightningNodeViewModel.cs

26 lines
671 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; }
public string StoreId { 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; }
[Display(Name = "Enabled")]
2018-07-27 13:37:16 +02:00
public bool Enabled { get; set; } = true;
2021-12-31 16:59:02 +09:00
[Display(Name = "Connection string")]
public string ConnectionString { get; set; }
}
}