Files
Umbraco-CMS/src/Umbraco.Core/Models/ContentEditing/DictionaryTranslationSave.cs
2022-01-21 11:43:58 +01:00

30 lines
817 B
C#

using System.Runtime.Serialization;
namespace Umbraco.Cms.Core.Models.ContentEditing
{
/// <summary>
/// The dictionary translation save model
/// </summary>
[DataContract(Name = "dictionaryTranslation", Namespace = "")]
public class DictionaryTranslationSave
{
/// <summary>
/// Gets or sets the ISO code.
/// </summary>
[DataMember(Name = "isoCode")]
public string? IsoCode { get; set; }
/// <summary>
/// Gets or sets the translation.
/// </summary>
[DataMember(Name = "translation")]
public string? Translation { get; set; }
/// <summary>
/// Gets or sets the language id.
/// </summary>
[DataMember(Name = "languageId")]
public int LanguageId { get; set; }
}
}