21 lines
575 B
C#
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; }
|
|
|
|
}
|
|
}
|