mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 10:40:29 +01:00
23 lines
633 B
C#
23 lines
633 B
C#
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; }
|
|
public bool SkipPortTest { get; set; }
|
|
public bool Enabled { get; set; } = true;
|
|
public string StoreId { get; set; }
|
|
}
|
|
}
|