2017-09-27 14:18:09 +09:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2018-05-10 16:02:49 +09:00
|
|
|
|
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
|
|
|
|
|
{
|
2018-05-10 16:02:49 +09:00
|
|
|
|
[Display(Name = "Requires a confirmation mail for registering")]
|
2017-10-27 17:53:04 +09:00
|
|
|
|
public bool RequiresConfirmedEmail
|
|
|
|
|
{
|
|
|
|
|
get; set;
|
|
|
|
|
}
|
2017-12-04 00:55:39 +09:00
|
|
|
|
|
|
|
|
|
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Populate)]
|
2018-05-10 16:02:49 +09:00
|
|
|
|
[Display(Name = "Disable registration")]
|
2017-12-04 00:55:39 +09:00
|
|
|
|
public bool LockSubscription { get; set; }
|
2017-10-27 17:53:04 +09:00
|
|
|
|
}
|
2017-09-27 14:18:09 +09:00
|
|
|
|
}
|