// Copyright (c) Umbraco. // See LICENSE for more details. using System.ComponentModel.DataAnnotations; using Umbraco.Cms.Core.Configuration.Models.Validation; namespace Umbraco.Cms.Core.Configuration.Models { /// /// Typed configuration options for image autofill upload settings. /// public class ImagingAutoFillUploadField : ValidatableEntryBase { /// /// Gets or sets a value for the alias of the image upload property. /// [Required] public string Alias { get; set; } = null!; /// /// Gets or sets a value for the width field alias of the image upload property. /// [Required] public string WidthFieldAlias { get; set; } = null!; /// /// Gets or sets a value for the height field alias of the image upload property. /// [Required] public string HeightFieldAlias { get; set; } = null!; /// /// Gets or sets a value for the length field alias of the image upload property. /// [Required] public string LengthFieldAlias { get; set; } = null!; /// /// Gets or sets a value for the extension field alias of the image upload property. /// [Required] public string ExtensionFieldAlias { get; set; } = null!; } }