2018-06-29 19:52:40 +02:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
using Umbraco.Core.Models;
|
|
|
|
|
|
using Umbraco.Core.PropertyEditors;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Umbraco.Web.Models.ContentEditing
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Represents a content property from the database
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
internal class ContentPropertyDto : ContentPropertyBasic
|
|
|
|
|
|
{
|
|
|
|
|
|
public IDataType DataType { get; set; }
|
|
|
|
|
|
public string Label { get; set; }
|
|
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
|
public bool IsRequired { get; set; }
|
|
|
|
|
|
public string ValidationRegExp { get; set; }
|
2018-08-02 20:00:35 +10:00
|
|
|
|
|
2018-06-29 19:52:40 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|