Files
Umbraco-CMS/src/Umbraco.Web/Models/ContentEditing/MediaItemDisplay.cs

30 lines
878 B
C#
Raw Normal View History

2018-06-29 19:52:40 +02:00
using System;
using System.Collections.Generic;
2018-06-29 19:52:40 +02:00
using System.Runtime.Serialization;
using Umbraco.Core.Models;
using Umbraco.Core.Models.ContentEditing;
2018-06-29 19:52:40 +02:00
namespace Umbraco.Web.Models.ContentEditing
{
/// <summary>
/// A model representing a content item to be displayed in the back office
/// </summary>
[DataContract(Name = "content", Namespace = "")]
public class MediaItemDisplay : ListViewAwareContentItemDisplayBase<ContentPropertyDisplay>
2018-06-29 19:52:40 +02:00
{
public MediaItemDisplay()
{
ContentApps = new List<ContentApp>();
}
2018-06-29 19:52:40 +02:00
[DataMember(Name = "contentType")]
public ContentTypeBasic ContentType { get; set; }
[DataMember(Name = "mediaLink")]
public string MediaLink { get; set; }
[DataMember(Name = "apps")]
public IEnumerable<ContentApp> ContentApps { get; set; }
2018-06-29 19:52:40 +02:00
}
}