2013-05-23 22:15:52 -10:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Umbraco.Web.Models.ContentEditing
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// A model representing a content item to be saved
|
|
|
|
|
|
/// </summary>
|
2013-06-03 18:56:16 -10:00
|
|
|
|
public class ContentItemSave : ContentItemBasic<ContentPropertyBase>
|
2013-05-23 22:15:52 -10:00
|
|
|
|
{
|
|
|
|
|
|
public ContentItemSave()
|
|
|
|
|
|
{
|
|
|
|
|
|
UploadedFiles = new List<ContentItemFile>();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The collection of files uploaded
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[JsonIgnore]
|
|
|
|
|
|
public List<ContentItemFile> UploadedFiles { get; private set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|