2017-07-20 11:21:28 +02:00
|
|
|
|
using System;
|
2013-11-07 17:16:22 +01:00
|
|
|
|
using System.Runtime.Serialization;
|
2018-01-15 11:32:30 +01:00
|
|
|
|
using Umbraco.Core.Models.Entities;
|
2013-11-07 17:16:22 +01:00
|
|
|
|
|
|
|
|
|
|
namespace Umbraco.Core.Models
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Defines a Property for a Macro
|
|
|
|
|
|
/// </summary>
|
2014-05-17 15:35:30 +10:00
|
|
|
|
public interface IMacroProperty : IValueObject, IDeepCloneable, IRememberBeingDirty
|
2013-11-07 17:16:22 +01:00
|
|
|
|
{
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
|
int Id { get; set; }
|
|
|
|
|
|
|
2017-05-12 14:49:44 +02:00
|
|
|
|
[DataMember]
|
|
|
|
|
|
Guid Key { get; set; }
|
|
|
|
|
|
|
2013-11-07 17:16:22 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets or sets the Alias of the Property
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
|
string Alias { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets or sets the Name of the Property
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
|
string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets or sets the Sort Order of the Property
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
|
int SortOrder { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets or sets the parameter editor alias
|
2017-07-20 11:21:28 +02:00
|
|
|
|
/// </summary>
|
2013-11-07 17:16:22 +01:00
|
|
|
|
[DataMember]
|
|
|
|
|
|
string EditorAlias { get; set; }
|
|
|
|
|
|
}
|
2017-07-20 11:21:28 +02:00
|
|
|
|
}
|