btcpayserver/BTCPayServer/Services/PoliciesSettings.cs

23 lines
587 B
C#
Raw Normal View History

2017-09-27 14:18:09 +09:00
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
2017-09-27 14:18:09 +09:00
using System.Linq;
using System.Threading.Tasks;
2017-12-04 00:55:39 +09:00
using Newtonsoft.Json;
2017-09-27 14:18:09 +09:00
namespace BTCPayServer.Services
{
public class PoliciesSettings
{
[Display(Name = "Requires a confirmation mail for registering")]
public bool RequiresConfirmedEmail
{
get; set;
}
2017-12-04 00:55:39 +09:00
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Populate)]
[Display(Name = "Disable registration")]
2017-12-04 00:55:39 +09:00
public bool LockSubscription { get; set; }
}
2017-09-27 14:18:09 +09:00
}