Files
Umbraco-CMS/src/Umbraco.Web/Models/ContentEditing/ContentPropertyDto.cs
2018-08-07 18:37:55 +10:00

21 lines
575 B
C#

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; }
}
}