mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
* 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
25 lines
671 B
C#
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; }
|
|
}
|
|
}
|