Files
mixtape/zero.Core/Entities/Language.cs
T
2021-05-04 17:23:52 +02:00

28 lines
700 B
C#

using zero.Core.Attributes;
namespace zero.Core.Entities
{
[Collection("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; }
}
}