AB4549 - Moved models from web to abstractions and infrastructure

This commit is contained in:
Bjarke Berg
2020-01-15 09:05:26 +01:00
parent 2c7c556c5f
commit 1e5c00878b
79 changed files with 5 additions and 89 deletions

View File

@@ -0,0 +1,39 @@
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Umbraco.Web.Models.ContentEditing
{
/// <summary>
/// Dictionary Save model
/// </summary>
[DataContract(Name = "dictionary", Namespace = "")]
public class DictionarySave : EntityBasic
{
/// <summary>
/// Initializes a new instance of the <see cref="DictionarySave"/> class.
/// </summary>
public DictionarySave()
{
this.Translations = new List<DictionaryTranslationSave>();
}
/// <summary>
/// Gets or sets a value indicating whether name is dirty.
/// </summary>
[DataMember(Name = "nameIsDirty")]
public bool NameIsDirty { get; set; }
/// <summary>
/// Gets the translations.
/// </summary>
[DataMember(Name = "translations")]
public List<DictionaryTranslationSave> Translations { get; private set; }
/// <summary>
/// Gets or sets the parent id.
/// </summary>
[DataMember(Name = "parentId")]
public new Guid ParentId { get; set; }
}
}