2021-05-04 17:23:52 +02:00
|
|
|
namespace zero.Core.Entities
|
2020-05-04 14:13:03 +02:00
|
|
|
{
|
2021-05-04 17:23:52 +02:00
|
|
|
public class Translation : ZeroEntity
|
2020-05-04 14:13:03 +02:00
|
|
|
{
|
2021-10-11 15:15:55 +02:00
|
|
|
public Translation()
|
|
|
|
|
{
|
|
|
|
|
IsActive = true;
|
|
|
|
|
}
|
|
|
|
|
|
2021-05-04 17:23:52 +02:00
|
|
|
/// <summary>
|
|
|
|
|
/// Value of the translation
|
|
|
|
|
/// </summary>
|
2020-05-04 14:13:03 +02:00
|
|
|
public string Value { get; set; }
|
|
|
|
|
|
2021-05-04 17:23:52 +02:00
|
|
|
/// <summary>
|
|
|
|
|
/// Display + input type
|
|
|
|
|
/// </summary>
|
|
|
|
|
public TranslationDisplay Display { get; set; }
|
2020-05-04 14:13:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public enum TranslationDisplay
|
|
|
|
|
{
|
|
|
|
|
Text = 0,
|
|
|
|
|
HTML = 1
|
|
|
|
|
}
|
|
|
|
|
}
|