19 lines
818 B
C#
19 lines
818 B
C#
using ROLAC.API.Entities.Base;
|
|
namespace ROLAC.API.Entities;
|
|
|
|
/// <summary>
|
|
/// Singleton (Id == 1) holding site-wide presentation and locale settings, edited from the
|
|
/// Church Profile → Site Settings tab (gated by the <c>Settings</c> permission module).
|
|
/// Seeded with sensible defaults on startup.
|
|
/// </summary>
|
|
public class SiteSetting : AuditableEntity, IAuditable
|
|
{
|
|
public int Id { get; set; }
|
|
public string SiteTitle { get; set; } = "";
|
|
public string? SiteTitleZh { get; set; }
|
|
public string DefaultLanguage { get; set; } = "en"; // "en" | "zh"
|
|
public string TimeZone { get; set; } = "America/Los_Angeles";
|
|
public string DateFormat { get; set; } = "yyyy-MM-dd";
|
|
public string Currency { get; set; } = "USD";
|
|
}
|