using System.Runtime.Serialization; namespace Umbraco.Web.Models.ContentEditing { /// /// Defines a pre value editable field for a data type /// [DataContract(Name = "preValue", Namespace = "")] public class PreValueFieldDisplay : PreValueFieldSave { ///// ///// The id of the pre-value field ///// //[DataMember(Name = "id", IsRequired = true)] //public int Id { get; set; } /// /// The name to display for this pre-value field /// [DataMember(Name = "label", IsRequired = true)] public string Name { get; set; } /// /// The description to display for this pre-value field /// [DataMember(Name = "description")] public string Description { get; set; } /// /// Specifies whether to hide the label for the pre-value /// [DataMember(Name = "hideLabel")] public bool HideLabel { get; set; } /// /// The view to render for the field /// [DataMember(Name = "view", IsRequired = true)] public string View { get; set; } } }