namespace zero.Core.Entities { public class Translation : DatabaseEntity, ILanguageAwareEntity { /// /// Key which can be used to query translations /// public string Key { get; set; } /// /// Value of the translation /// public string Value { get; set; } /// /// Display + input type /// public TranslationDisplay Display { get; set; } /// public string ParentEntityId { get; set; } public class Variant : LanguageVariant { public string Value { get; set; } } } public enum TranslationDisplay { Text = 0, HTML = 1 } }