2016-05-30 13:53:56 +02:00
|
|
|
|
namespace Yavsc
|
2016-05-17 18:22:18 +02:00
|
|
|
|
{
|
|
|
|
|
|
public class SiteSettings
|
|
|
|
|
|
{
|
|
|
|
|
|
public string Title { get; set; }
|
|
|
|
|
|
public string Slogan { get; set; }
|
2017-02-21 12:02:12 +01:00
|
|
|
|
|
|
|
|
|
|
public string Banner { get; set; }
|
2017-10-10 20:50:05 +02:00
|
|
|
|
public string FavIcon { get; set; }
|
|
|
|
|
|
public string Icon { get; set; }
|
2016-05-29 22:35:45 +02:00
|
|
|
|
/// <summary>
|
2017-05-28 01:52:33 +02:00
|
|
|
|
/// Conceptually,
|
|
|
|
|
|
/// This authorisation server only has this present site as unique audience.
|
2016-05-29 22:35:45 +02:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <returns></returns>
|
2016-05-17 18:22:18 +02:00
|
|
|
|
public string Audience { get; set; }
|
2016-05-29 22:35:45 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// it's a very small company, with one domaine name only,
|
|
|
|
|
|
/// so let it be the same as in the Audience field.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <returns></returns>
|
2016-05-17 18:22:18 +02:00
|
|
|
|
public string Authority { get; set; }
|
2016-11-07 19:34:56 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Owner's email
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <returns></returns>
|
2017-06-08 17:09:06 +02:00
|
|
|
|
public Contact Owner { get; set; }
|
2016-11-07 19:34:56 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Administrator's email
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <returns></returns>
|
2017-06-08 17:09:06 +02:00
|
|
|
|
public Contact Admin { get; set; }
|
2017-07-03 20:30:00 +02:00
|
|
|
|
|
|
|
|
|
|
public string DataDir { get; set; }
|
2018-06-10 20:40:11 +02:00
|
|
|
|
public string Avatars { get; set; }
|
|
|
|
|
|
public long Quota { get; set; }
|
|
|
|
|
|
public string Blog { get; set; }
|
|
|
|
|
|
public string Bills { get; set; }
|
2018-06-11 13:27:12 +02:00
|
|
|
|
public string GitRepository { get; set; } = "sources";
|
2016-05-17 18:22:18 +02:00
|
|
|
|
|
2017-05-28 01:52:33 +02:00
|
|
|
|
public string BusinessName { get; set; }
|
|
|
|
|
|
public string Street { get; set; }
|
|
|
|
|
|
public string PostalCode { get; set; }
|
|
|
|
|
|
public string CountryCode { get; set; }
|
2017-05-30 23:42:04 +02:00
|
|
|
|
|
|
|
|
|
|
public string HomeViewName { get; set; }
|
2016-11-07 19:34:56 +01:00
|
|
|
|
/// <summary>
|
2017-05-28 01:52:33 +02:00
|
|
|
|
/// Specifies the directory where should be
|
2016-11-07 19:34:56 +01:00
|
|
|
|
/// generated pdf files using pandoc
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <returns>The temporary directory to use</returns>
|
|
|
|
|
|
public string TempDir { get; set; } = "Temp";
|
2016-10-07 12:50:23 +02:00
|
|
|
|
|
2017-05-28 01:52:33 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Only one performer will capture payments
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <returns>user capturing payments id</returns>
|
|
|
|
|
|
public string OnlyOnePerformerId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Only one activity will be supported
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <returns>the supported activity code</returns>
|
|
|
|
|
|
public string OnlyOneActivityCode { get; set; }
|
|
|
|
|
|
|
2016-05-17 18:22:18 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|