using System;
using System.Runtime.Serialization;
namespace Umbraco.Core.Models
{
///
/// Represents a Macro Property
///
[Serializable]
[DataContract(IsReference = true)]
public class MacroProperty : IMacroProperty
{
///
/// Gets or sets the Alias of the Property
///
[DataMember]
public string Alias { get; set; }
///
/// Gets or sets the Name of the Property
///
[DataMember]
public string Name { get; set; }
///
/// Gets or sets the Sort Order of the Property
///
[DataMember]
public int SortOrder { get; set; }
///
/// Gets or sets the Type for this Property
///
///
/// The MacroPropertyTypes acts as a plugin for Macros.
/// All types was previously contained in the database, but has been ported to code.
///
[DataMember]
public IMacroPropertyType PropertyType { get; set; }
}
}