btcpayserver/BTCPayServer/Models/StoreViewModels/LightningNodeViewModel.cs
d11n a962e60de9
More Translations (#6318)
* Store selector

* Footer

* Notifications

* Checkout Appearance

* Users list

* Forms

* Emails

* Pay Button

* Edit Dictionary

* Remove newlines, fix typos

* Forms

* Pull payments and payouts

* Various pages

* Use local docs link

* Fix

* Even more translations

* Fixes #6325

* Account pages

* Notifications

* Placeholders

* Various pages and components

* Add more
2024-10-25 22:48:53 +09:00

25 lines
671 B
C#

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; }
public bool SkipPortTest { get; set; }
[Display(Name = "Enabled")]
public bool Enabled { get; set; } = true;
[Display(Name = "Connection string")]
public string ConnectionString { get; set; }
}
}