2018-02-26 00:48:12 +09:00
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
namespace BTCPayServer.Models.StoreViewModels
|
|
|
|
{
|
2021-03-31 13:23:36 +02:00
|
|
|
public enum LightningNodeType
|
|
|
|
{
|
|
|
|
Internal,
|
|
|
|
Custom
|
|
|
|
}
|
|
|
|
|
2018-02-26 00:48:12 +09:00
|
|
|
public class LightningNodeViewModel
|
|
|
|
{
|
2021-03-31 13:23:36 +02:00
|
|
|
public LightningNodeType LightningNodeType { get; set; }
|
2021-10-29 08:25:43 +02:00
|
|
|
public string StoreId { get; set; }
|
2021-03-31 13:23:36 +02:00
|
|
|
public string CryptoCode { get; set; }
|
2021-03-02 11:11:58 +09:00
|
|
|
public bool CanUseInternalNode { get; set; }
|
2018-04-09 16:25:31 +09:00
|
|
|
public bool SkipPortTest { get; set; }
|
2024-10-25 15:48:53 +02:00
|
|
|
|
|
|
|
[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
|
|
|
|
2021-10-29 08:25:43 +02:00
|
|
|
[Display(Name = "Connection string")]
|
|
|
|
public string ConnectionString { get; set; }
|
2018-02-26 00:48:12 +09:00
|
|
|
}
|
|
|
|
}
|