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