SocialPub/SocialPub/Models/AppConfiguration.cs

21 lines
708 B
C#
Raw Normal View History

2023-02-18 08:52:17 +01:00
using MongoDB.Entities;
using SocialPub.Models.Email;
using SocialPub.StaticServices;
namespace SocialPub.Models
{
public class AppConfiguration : Entity
{
public bool RequiresFirstTimeSetup { get; set; } = true;
public string Version { get; set; }
public int MaxAllowedUploadFiles { get; set; }
public int MaxAllowedFileSize { get; set; }
public string ValidDiscussionFilesTypes { get; set; }
public List<string> SupportedLanguages { get; set; } = new();
public string BackendBaseAddress { get; set; }
public EmailConfiguration EmailConfiguration { get; set; }
public HashingOptions HashingOptions { get; set; }
public DateTime LastUpdateDate { get; set; } = DateTime.UtcNow;
}
}