using System; using System.Collections.Generic; using System.Runtime.Serialization; namespace Umbraco.Cms.Core.Models.ContentEditing { /// /// The dictionary display model /// [DataContract(Name = "dictionary", Namespace = "")] public class DictionaryDisplay : EntityBasic, INotificationModel { /// /// Initializes a new instance of the class. /// public DictionaryDisplay() { Notifications = new List(); Translations = new List(); ContentApps = new List(); } /// /// /// This is used to add custom localized messages/strings to the response for the app to use for localized UI purposes. /// [DataMember(Name = "notifications")] public List Notifications { get; private set; } /// /// Gets or sets the parent id. /// [DataMember(Name = "parentId")] public new Guid ParentId { get; set; } /// /// Gets the translations. /// [DataMember(Name = "translations")] public List Translations { get; private set; } /// /// Apps for the dictionary item /// [DataMember(Name = "apps")] public List ContentApps { get; private set; } } }