This commit is contained in:
@@ -18,9 +18,16 @@ namespace AyaNova.Models
|
||||
/// 8.5 for 8:30 time difference or 12.75 for 12:45 time differnce for example
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
public decimal TimeZoneOffset { get; set; }
|
||||
|
||||
public int UiColor { get; set; }
|
||||
|
||||
//browser forced overrides
|
||||
public string LanguageOverride { get; set; }
|
||||
public string TimeZoneOverride { get; set; }
|
||||
public string CurrencyName { get; set; }
|
||||
public bool Hour12 { get; set; }
|
||||
|
||||
|
||||
//relations
|
||||
//https://docs.microsoft.com/en-us/ef/core/modeling/relationships#other-relationship-patterns
|
||||
[JsonIgnore]//hide from being returned (as null anyway) in routes
|
||||
@@ -31,7 +38,8 @@ namespace AyaNova.Models
|
||||
|
||||
public UserOptions()
|
||||
{
|
||||
TimeZoneOffset = 0;
|
||||
CurrencyName = "USD";
|
||||
Hour12 = true;
|
||||
UiColor = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user