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