Refactoring DictionaryItem, DictionaryTranslation and Language to use the same interface implementations as the rest of the db driven repos and services.
28 lines
784 B
C#
28 lines
784 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.Serialization;
|
|
using Umbraco.Core.Models.EntityBase;
|
|
|
|
namespace Umbraco.Core.Models
|
|
{
|
|
public interface IDictionaryItem : IAggregateRoot
|
|
{
|
|
/// <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; }
|
|
}
|
|
} |