Files
Umbraco-CMS/src/Umbraco.Web/Models/RelatedLinkBase.cs
2017-03-16 14:35:54 +01:00

22 lines
610 B
C#

using Newtonsoft.Json;
using Umbraco.Core.Models;
namespace Umbraco.Web.Models
{
public abstract class RelatedLinkBase
{
[JsonProperty("caption")]
public string Caption { get; set; }
[JsonProperty("link")]
public string Link { get; set; }
[JsonProperty("newWindow")]
public bool NewWindow { get; set; }
[JsonProperty("isInternal")]
public bool IsInternal { get; set; }
[JsonProperty("type")]
public RelatedLinkType Type { get; set; }
[JsonIgnore]
public IPublishedContent Content { get; set; }
}
}