Files
Umbraco-CMS/src/Umbraco.Core/Models/IDictionaryItem.cs

29 lines
859 B
C#

using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using Umbraco.Core.Models.EntityBase;
using Umbraco.Core.Persistence.Mappers;
namespace Umbraco.Core.Models
{
public interface IDictionaryItem : IAggregateRoot, IRememberBeingDirty, ICanBeDirty
{
/// <summary>
/// Gets or Sets the Parent Id of the Dictionary Item
/// </summary>
[DataMember]
Guid ParentId { get; set; }
/// <summary>
/// Gets or sets the Key for the Dictionary Item
/// </summary>
[DataMember]
string ItemKey { get; set; }
/// <summary>
/// Gets or sets a list of translations for the Dictionary Item
/// </summary>
[DataMember]
IEnumerable<IDictionaryTranslation> Translations { get; set; }
}
}