Files
mixtape/zero.Core/Entities/Translation.cs
T
2020-05-04 14:13:03 +02:00

33 lines
670 B
C#

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