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;
|
2019-04-12 00:13:14 -05:00
|
|
|
|
using BTCPayServer.Services.Apps;
|
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")]
|
2019-04-11 16:30:23 -05: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; }
|
2019-04-11 16:30:23 -05:00
|
|
|
|
|
2019-03-06 12:33:48 +01:00
|
|
|
|
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Populate)]
|
|
|
|
|
[Display(Name = "Discourage search engines from indexing this site")]
|
|
|
|
|
public bool DiscourageSearchEngines { get; set; }
|
2019-04-11 16:30:23 -05:00
|
|
|
|
|
|
|
|
|
[Display(Name = "Display app on website root")]
|
2019-04-12 00:13:14 -05:00
|
|
|
|
public string RootAppId { get; set; }
|
|
|
|
|
|
|
|
|
|
public AppType? RootAppType { get; set; }
|
2017-10-27 17:53:04 +09:00
|
|
|
|
}
|
2017-09-27 14:18:09 +09:00
|
|
|
|
}
|