mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +01:00
* Redesign Lightning setup page * Improve Lightning setup page Closes #1811. * Test fix * Fix LightningNetworkPaymentMethodAPITests * Bootstrap customization fix
24 lines
647 B
C#
24 lines
647 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace BTCPayServer.Models.StoreViewModels
|
|
{
|
|
public enum LightningNodeType
|
|
{
|
|
None,
|
|
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; }
|
|
public bool SkipPortTest { get; set; }
|
|
public bool Enabled { get; set; } = true;
|
|
public string StoreId { get; set; }
|
|
}
|
|
}
|