Files
mixtape/zero.Core/Localization/Models/Language.cs
T
2021-11-20 13:52:28 +01:00

25 lines
633 B
C#

namespace zero.Localization;
[RavenCollection("Languages")]
public class Language : ZeroEntity
{
/// <summary>
/// Language code (ISO 3166-1)
/// </summary>
public string Code { get; set; }
/// <summary>
/// Whether this is the default language
/// </summary>
public bool IsDefault { get; set; }
/// <summary>
/// Whether this language is optional and does not have to be filled out
/// </summary>
public bool IsOptional { get; set; }
/// <summary>
/// If this language is inherited it gets all missing properties from its parent
/// </summary>
public string InheritedLanguageId { get; set; }
}