Files
btcpayserver/BTCPayServer/Models/StoreViewModels/LightningNodeViewModel.cs
2020-06-29 16:54:07 +02:00

33 lines
771 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Rendering;
namespace BTCPayServer.Models.StoreViewModels
{
public class LightningNodeViewModel
{
[Display(Name = "Connection string")]
public string ConnectionString
{
get;
set;
}
public string CryptoCode
{
get;
set;
}
public string InternalLightningNode { get; internal set; }
public bool SkipPortTest { get; set; }
[Display(Name="Lightning enabled")]
public bool Enabled { get; set; } = true;
public string StoreId { get; set; }
}
}