2013-05-30 21:21:52 -10:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2013-07-22 17:13:38 +10:00
|
|
|
|
using System.Linq;
|
2013-05-23 22:15:52 -10:00
|
|
|
|
using System.Runtime.Serialization;
|
2013-07-16 18:23:20 +10:00
|
|
|
|
using System.Web.Http;
|
|
|
|
|
|
using System.Web.Http.ModelBinding;
|
2013-06-10 20:24:54 -02:00
|
|
|
|
using Umbraco.Core.Models;
|
2013-05-23 22:15:52 -10:00
|
|
|
|
|
|
|
|
|
|
namespace Umbraco.Web.Models.ContentEditing
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// A model representing a content item to be displayed in the back office
|
|
|
|
|
|
/// </summary>
|
2013-07-16 18:23:20 +10:00
|
|
|
|
[DataContract(Name = "content", Namespace = "")]
|
2013-07-23 18:55:31 +10:00
|
|
|
|
public class ContentItemDisplay : ContentItemDisplayBase<ContentPropertyDisplay, IContent>
|
2013-05-30 21:21:52 -10:00
|
|
|
|
{
|
2013-06-10 11:15:33 -02:00
|
|
|
|
|
2013-06-03 23:50:20 -10:00
|
|
|
|
[DataMember(Name = "publishDate")]
|
|
|
|
|
|
public DateTime? PublishDate { get; set; }
|
2013-08-12 14:16:45 +10:00
|
|
|
|
|
|
|
|
|
|
[DataMember(Name = "template")]
|
|
|
|
|
|
public string Template { get; set; }
|
2013-07-23 18:55:31 +10:00
|
|
|
|
|
2013-05-23 22:15:52 -10:00
|
|
|
|
}
|
|
|
|
|
|
}
|